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
public interface PredictRequestResponseLoggingConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BigQueryDestination
getBigqueryDestination()
BigQuery table for logging.BigQueryDestinationOrBuilder
getBigqueryDestinationOrBuilder()
BigQuery table for logging.boolean
getEnabled()
If logging is enabled or not.double
getSamplingRate()
Percentage of requests to be logged, expressed as a fraction in range(0,1].boolean
hasBigqueryDestination()
BigQuery table for logging.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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;
-
-