publicstaticfinalclass PredictRequestResponseLoggingConfig.BuilderextendsGeneratedMessageV3.Builder<PredictRequestResponseLoggingConfig.Builder>implementsPredictRequestResponseLoggingConfigOrBuilder
Configuration for logging request-response to a BigQuery table.
Protobuf type google.cloud.vertexai.v1.PredictRequestResponseLoggingConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicPredictRequestResponseLoggingConfig.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicPredictRequestResponseLoggingConfigbuild()
buildPartial()
publicPredictRequestResponseLoggingConfigbuildPartial()
clear()
publicPredictRequestResponseLoggingConfig.Builderclear()
Overrides
clearBigqueryDestination()
publicPredictRequestResponseLoggingConfig.BuilderclearBigqueryDestination()
BigQuery table for logging.
If only given a project, a new dataset will be created with name
logging_<endpoint-display-name>_<endpoint-id> where
<endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
most special characters will become underscores). If no table name is
given, a new table will be created with name request_response_logging
.google.cloud.vertexai.v1.BigQueryDestination bigquery_destination = 3;
clearEnabled()
publicPredictRequestResponseLoggingConfig.BuilderclearEnabled()
If logging is enabled or not.
bool enabled = 1;
clearField(Descriptors.FieldDescriptor field)
publicPredictRequestResponseLoggingConfig.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
publicPredictRequestResponseLoggingConfig.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clearSamplingRate()
publicPredictRequestResponseLoggingConfig.BuilderclearSamplingRate()
Percentage of requests to be logged, expressed as a fraction in
range(0,1].
double sampling_rate = 2;
clone()
publicPredictRequestResponseLoggingConfig.Builderclone()
Overrides
getBigqueryDestination()
publicBigQueryDestinationgetBigqueryDestination()
BigQuery table for logging.
If only given a project, a new dataset will be created with name
logging_<endpoint-display-name>_<endpoint-id> where
<endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
most special characters will become underscores). If no table name is
given, a new table will be created with name request_response_logging
.google.cloud.vertexai.v1.BigQueryDestination bigquery_destination = 3;
getBigqueryDestinationBuilder()
publicBigQueryDestination.BuildergetBigqueryDestinationBuilder()
BigQuery table for logging.
If only given a project, a new dataset will be created with name
logging_<endpoint-display-name>_<endpoint-id> where
<endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
most special characters will become underscores). If no table name is
given, a new table will be created with name request_response_logging
.google.cloud.vertexai.v1.BigQueryDestination bigquery_destination = 3;
getBigqueryDestinationOrBuilder()
publicBigQueryDestinationOrBuildergetBigqueryDestinationOrBuilder()
BigQuery table for logging.
If only given a project, a new dataset will be created with name
logging_<endpoint-display-name>_<endpoint-id> where
<endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
most special characters will become underscores). If no table name is
given, a new table will be created with name request_response_logging
.google.cloud.vertexai.v1.BigQueryDestination bigquery_destination = 3;
getDefaultInstanceForType()
publicPredictRequestResponseLoggingConfiggetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getEnabled()
publicbooleangetEnabled()
If logging is enabled or not.
bool enabled = 1;
| Returns |
| Type |
Description |
boolean |
The enabled.
|
getSamplingRate()
publicdoublegetSamplingRate()
Percentage of requests to be logged, expressed as a fraction in
range(0,1].
double sampling_rate = 2;
| Returns |
| Type |
Description |
double |
The samplingRate.
|
hasBigqueryDestination()
publicbooleanhasBigqueryDestination()
BigQuery table for logging.
If only given a project, a new dataset will be created with name
logging_<endpoint-display-name>_<endpoint-id> where
<endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
most special characters will become underscores). If no table name is
given, a new table will be created with name request_response_logging
.google.cloud.vertexai.v1.BigQueryDestination bigquery_destination = 3;
| Returns |
| Type |
Description |
boolean |
Whether the bigqueryDestination field is set.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeBigqueryDestination(BigQueryDestination value)
publicPredictRequestResponseLoggingConfig.BuildermergeBigqueryDestination(BigQueryDestinationvalue)
BigQuery table for logging.
If only given a project, a new dataset will be created with name
logging_<endpoint-display-name>_<endpoint-id> where
<endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
most special characters will become underscores). If no table name is
given, a new table will be created with name request_response_logging
.google.cloud.vertexai.v1.BigQueryDestination bigquery_destination = 3;
mergeFrom(PredictRequestResponseLoggingConfig other)
publicPredictRequestResponseLoggingConfig.BuildermergeFrom(PredictRequestResponseLoggingConfigother)
publicPredictRequestResponseLoggingConfig.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicPredictRequestResponseLoggingConfig.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalPredictRequestResponseLoggingConfig.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setBigqueryDestination(BigQueryDestination value)
publicPredictRequestResponseLoggingConfig.BuildersetBigqueryDestination(BigQueryDestinationvalue)
BigQuery table for logging.
If only given a project, a new dataset will be created with name
logging_<endpoint-display-name>_<endpoint-id> where
<endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
most special characters will become underscores). If no table name is
given, a new table will be created with name request_response_logging
.google.cloud.vertexai.v1.BigQueryDestination bigquery_destination = 3;
setBigqueryDestination(BigQueryDestination.Builder builderForValue)
publicPredictRequestResponseLoggingConfig.BuildersetBigqueryDestination(BigQueryDestination.BuilderbuilderForValue)
BigQuery table for logging.
If only given a project, a new dataset will be created with name
logging_<endpoint-display-name>_<endpoint-id> where
<endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
most special characters will become underscores). If no table name is
given, a new table will be created with name request_response_logging
.google.cloud.vertexai.v1.BigQueryDestination bigquery_destination = 3;
setEnabled(boolean value)
publicPredictRequestResponseLoggingConfig.BuildersetEnabled(booleanvalue)
If logging is enabled or not.
bool enabled = 1;
| Parameter |
| Name |
Description |
value |
boolean
The enabled to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
publicPredictRequestResponseLoggingConfig.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicPredictRequestResponseLoggingConfig.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setSamplingRate(double value)
publicPredictRequestResponseLoggingConfig.BuildersetSamplingRate(doublevalue)
Percentage of requests to be logged, expressed as a fraction in
range(0,1].
double sampling_rate = 2;
| Parameter |
| Name |
Description |
value |
double
The samplingRate to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalPredictRequestResponseLoggingConfig.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides