public final class PredictRequestResponseLoggingConfig extends GeneratedMessage implements PredictRequestResponseLoggingConfigOrBuilder
Configuration for logging request-response to a BigQuery table.
Protobuf type google.cloud.aiplatform.v1beta1.PredictRequestResponseLoggingConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int BIGQUERY_DESTINATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int ENABLED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int ENABLE_OTEL_LOGGING_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int REQUEST_RESPONSE_LOGGING_SCHEMA_VERSION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int SAMPLING_RATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static PredictRequestResponseLoggingConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static PredictRequestResponseLoggingConfig.Builder newBuilder()
public static PredictRequestResponseLoggingConfig.Builder newBuilder(PredictRequestResponseLoggingConfig prototype)
public static PredictRequestResponseLoggingConfig parseDelimitedFrom(InputStream input)
public static PredictRequestResponseLoggingConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PredictRequestResponseLoggingConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static PredictRequestResponseLoggingConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PredictRequestResponseLoggingConfig parseFrom(ByteString data)
public static PredictRequestResponseLoggingConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PredictRequestResponseLoggingConfig parseFrom(CodedInputStream input)
public static PredictRequestResponseLoggingConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PredictRequestResponseLoggingConfig parseFrom(InputStream input)
public static PredictRequestResponseLoggingConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PredictRequestResponseLoggingConfig parseFrom(ByteBuffer data)
public static PredictRequestResponseLoggingConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<PredictRequestResponseLoggingConfig> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public 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.v1beta1.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.v1beta1.BigQueryDestination bigquery_destination = 3;
public PredictRequestResponseLoggingConfig getDefaultInstanceForType()
public boolean getEnableOtelLogging()
This field is used for large models. If true, in addition to the
original large model logs, logs will be converted in OTel schema format,
and saved in otel_log column. Default value is false.
bool enable_otel_logging = 6;
| Returns |
| Type |
Description |
boolean |
The enableOtelLogging.
|
public boolean getEnabled()
If logging is enabled or not.
bool enabled = 1;
| Returns |
| Type |
Description |
boolean |
The enabled.
|
public Parser<PredictRequestResponseLoggingConfig> getParserForType()
Overrides
public String getRequestResponseLoggingSchemaVersion()
Output only. The schema version used in creating the BigQuery table for the
request response logging. The versions are "v1" and "v2". The current
default version is "v1".
string request_response_logging_schema_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The requestResponseLoggingSchemaVersion.
|
public ByteString getRequestResponseLoggingSchemaVersionBytes()
Output only. The schema version used in creating the BigQuery table for the
request response logging. The versions are "v1" and "v2". The current
default version is "v1".
string request_response_logging_schema_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for requestResponseLoggingSchemaVersion.
|
public double getSamplingRate()
Percentage of requests to be logged, expressed as a fraction in
range(0,1].
double sampling_rate = 2;
| Returns |
| Type |
Description |
double |
The samplingRate.
|
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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.v1beta1.BigQueryDestination bigquery_destination = 3;
| Returns |
| Type |
Description |
boolean |
Whether the bigqueryDestination field is set.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public PredictRequestResponseLoggingConfig.Builder newBuilderForType()
protected PredictRequestResponseLoggingConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public PredictRequestResponseLoggingConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides