Class PredictRequestResponseLoggingConfig (0.2.0)

publicfinalclass PredictRequestResponseLoggingConfigextendsGeneratedMessageV3implementsPredictRequestResponseLoggingConfigOrBuilder

Configuration for logging request-response to a BigQuery table.

Protobuf type google.cloud.vertexai.v1beta1.PredictRequestResponseLoggingConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PredictRequestResponseLoggingConfig

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

BIGQUERY_DESTINATION_FIELD_NUMBER

publicstaticfinalintBIGQUERY_DESTINATION_FIELD_NUMBER
Field Value
Type Description
int

ENABLED_FIELD_NUMBER

publicstaticfinalintENABLED_FIELD_NUMBER
Field Value
Type Description
int

SAMPLING_RATE_FIELD_NUMBER

publicstaticfinalintSAMPLING_RATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticPredictRequestResponseLoggingConfiggetDefaultInstance()
Returns
Type Description
PredictRequestResponseLoggingConfig

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticPredictRequestResponseLoggingConfig.BuildernewBuilder()
Returns
Type Description
PredictRequestResponseLoggingConfig.Builder

newBuilder(PredictRequestResponseLoggingConfig prototype)

publicstaticPredictRequestResponseLoggingConfig.BuildernewBuilder(PredictRequestResponseLoggingConfigprototype)
Parameter
Name Description
prototype PredictRequestResponseLoggingConfig
Returns
Type Description
PredictRequestResponseLoggingConfig.Builder

parseDelimitedFrom(InputStream input)

publicstaticPredictRequestResponseLoggingConfigparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
PredictRequestResponseLoggingConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticPredictRequestResponseLoggingConfigparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PredictRequestResponseLoggingConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticPredictRequestResponseLoggingConfigparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
PredictRequestResponseLoggingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticPredictRequestResponseLoggingConfigparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PredictRequestResponseLoggingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticPredictRequestResponseLoggingConfigparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
PredictRequestResponseLoggingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticPredictRequestResponseLoggingConfigparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PredictRequestResponseLoggingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticPredictRequestResponseLoggingConfigparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PredictRequestResponseLoggingConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticPredictRequestResponseLoggingConfigparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PredictRequestResponseLoggingConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticPredictRequestResponseLoggingConfigparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
PredictRequestResponseLoggingConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticPredictRequestResponseLoggingConfigparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PredictRequestResponseLoggingConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticPredictRequestResponseLoggingConfigparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PredictRequestResponseLoggingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticPredictRequestResponseLoggingConfigparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PredictRequestResponseLoggingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<PredictRequestResponseLoggingConfig>parser()
Returns
Type Description
Parser<PredictRequestResponseLoggingConfig>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.v1beta1.BigQueryDestination bigquery_destination = 3;

Returns
Type Description
BigQueryDestination

The bigqueryDestination.

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.v1beta1.BigQueryDestination bigquery_destination = 3;

Returns
Type Description
BigQueryDestinationOrBuilder

getDefaultInstanceForType()

publicPredictRequestResponseLoggingConfiggetDefaultInstanceForType()
Returns
Type Description
PredictRequestResponseLoggingConfig

getEnabled()

publicbooleangetEnabled()

If logging is enabled or not.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

getParserForType()

publicParser<PredictRequestResponseLoggingConfig>getParserForType()
Returns
Type Description
Parser<PredictRequestResponseLoggingConfig>
Overrides

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.

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

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.v1beta1.BigQueryDestination bigquery_destination = 3;

Returns
Type Description
boolean

Whether the bigqueryDestination field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicPredictRequestResponseLoggingConfig.BuildernewBuilderForType()
Returns
Type Description
PredictRequestResponseLoggingConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedPredictRequestResponseLoggingConfig.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PredictRequestResponseLoggingConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicPredictRequestResponseLoggingConfig.BuildertoBuilder()
Returns
Type Description
PredictRequestResponseLoggingConfig.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.