public static final class PredictRequestResponseLoggingConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<PredictRequestResponseLoggingConfig.Builder> implements PredictRequestResponseLoggingConfigOrBuilder
Configuration for logging request-response to a BigQuery table.Protobuf type
google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfigaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<PredictRequestResponseLoggingConfig.Builder>public PredictRequestResponseLoggingConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<PredictRequestResponseLoggingConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<PredictRequestResponseLoggingConfig.Builder>public PredictRequestResponseLoggingConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PredictRequestResponseLoggingConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PredictRequestResponseLoggingConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PredictRequestResponseLoggingConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PredictRequestResponseLoggingConfig.Builder>public PredictRequestResponseLoggingConfig.Builder mergeFrom(PredictRequestResponseLoggingConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<PredictRequestResponseLoggingConfig.Builder>public PredictRequestResponseLoggingConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PredictRequestResponseLoggingConfig.Builder>IOExceptionpublic boolean getEnabled()
If logging is enabled or not.
bool enabled = 1;getEnabled in interface PredictRequestResponseLoggingConfigOrBuilderpublic PredictRequestResponseLoggingConfig.Builder setEnabled(boolean value)
If logging is enabled or not.
bool enabled = 1;value - The enabled to set.public PredictRequestResponseLoggingConfig.Builder clearEnabled()
If logging is enabled or not.
bool enabled = 1;public double getSamplingRate()
Percentage of requests to be logged, expressed as a fraction in range(0,1].
double sampling_rate = 2;getSamplingRate in interface PredictRequestResponseLoggingConfigOrBuilderpublic PredictRequestResponseLoggingConfig.Builder setSamplingRate(double value)
Percentage of requests to be logged, expressed as a fraction in range(0,1].
double sampling_rate = 2;value - The samplingRate to set.public PredictRequestResponseLoggingConfig.Builder clearSamplingRate()
Percentage of requests to be logged, expressed as a fraction in range(0,1].
double sampling_rate = 2;public boolean hasBigqueryDestination()
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.aiplatform.v1.BigQueryDestination bigquery_destination = 3;hasBigqueryDestination in interface PredictRequestResponseLoggingConfigOrBuilderpublic BigQueryDestination getBigqueryDestination()
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.aiplatform.v1.BigQueryDestination bigquery_destination = 3;getBigqueryDestination in interface PredictRequestResponseLoggingConfigOrBuilderpublic PredictRequestResponseLoggingConfig.Builder setBigqueryDestination(BigQueryDestination value)
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.aiplatform.v1.BigQueryDestination bigquery_destination = 3;public PredictRequestResponseLoggingConfig.Builder setBigqueryDestination(BigQueryDestination.Builder builderForValue)
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.aiplatform.v1.BigQueryDestination bigquery_destination = 3;public PredictRequestResponseLoggingConfig.Builder mergeBigqueryDestination(BigQueryDestination value)
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.aiplatform.v1.BigQueryDestination bigquery_destination = 3;public PredictRequestResponseLoggingConfig.Builder clearBigqueryDestination()
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.aiplatform.v1.BigQueryDestination bigquery_destination = 3;public BigQueryDestination.Builder getBigqueryDestinationBuilder()
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.aiplatform.v1.BigQueryDestination bigquery_destination = 3;public BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder()
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.aiplatform.v1.BigQueryDestination bigquery_destination = 3;getBigqueryDestinationOrBuilder in interface PredictRequestResponseLoggingConfigOrBuilderCopyright © 2026 Google LLC. All rights reserved.