Package com.google.cloud.aiplatform.v1
Interface PredictRequestResponseLoggingConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PredictRequestResponseLoggingConfig,PredictRequestResponseLoggingConfig.Builder
@Generated
public interface PredictRequestResponseLoggingConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionBigQuery table for logging.BigQuery table for logging.booleanIf logging is enabled or not.doublePercentage of requests to be logged, expressed as a fraction in range(0,1].booleanBigQuery table for logging.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEnabled
boolean getEnabled()If logging is enabled or not.
bool enabled = 1;- Returns:
- The enabled.
-
getSamplingRate
double getSamplingRate()Percentage of requests to be logged, expressed as a fraction in range(0,1].
double sampling_rate = 2;- Returns:
- The samplingRate.
-
hasBigqueryDestination
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;- Returns:
- Whether the bigqueryDestination field is set.
-
getBigqueryDestination
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;- Returns:
- The bigqueryDestination.
-
getBigqueryDestinationOrBuilder
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;
-