public final class PredictRequestResponseLoggingConfig extends com.google.protobuf.GeneratedMessageV3 implements PredictRequestResponseLoggingConfigOrBuilder
Configuration for logging request-response to a BigQuery table.Protobuf type
google.cloud.vertexai.v1.PredictRequestResponseLoggingConfig| Modifier and Type | Class and Description |
|---|---|
static class |
PredictRequestResponseLoggingConfig.Builder
Configuration for logging request-response to a BigQuery table.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BIGQUERY_DESTINATION_FIELD_NUMBER |
static int |
ENABLED_FIELD_NUMBER |
static int |
SAMPLING_RATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
BigQueryDestination |
getBigqueryDestination()
BigQuery table for logging.
|
BigQueryDestinationOrBuilder |
getBigqueryDestinationOrBuilder()
BigQuery table for logging.
|
static PredictRequestResponseLoggingConfig |
getDefaultInstance() |
PredictRequestResponseLoggingConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEnabled()
If logging is enabled or not.
|
com.google.protobuf.Parser<PredictRequestResponseLoggingConfig> |
getParserForType() |
double |
getSamplingRate()
Percentage of requests to be logged, expressed as a fraction in
range(0,1].
|
int |
getSerializedSize() |
boolean |
hasBigqueryDestination()
BigQuery table for logging.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PredictRequestResponseLoggingConfig.Builder |
newBuilder() |
static PredictRequestResponseLoggingConfig.Builder |
newBuilder(PredictRequestResponseLoggingConfig prototype) |
PredictRequestResponseLoggingConfig.Builder |
newBuilderForType() |
protected PredictRequestResponseLoggingConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static PredictRequestResponseLoggingConfig |
parseDelimitedFrom(InputStream input) |
static PredictRequestResponseLoggingConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PredictRequestResponseLoggingConfig |
parseFrom(byte[] data) |
static PredictRequestResponseLoggingConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PredictRequestResponseLoggingConfig |
parseFrom(ByteBuffer data) |
static PredictRequestResponseLoggingConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PredictRequestResponseLoggingConfig |
parseFrom(com.google.protobuf.ByteString data) |
static PredictRequestResponseLoggingConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PredictRequestResponseLoggingConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PredictRequestResponseLoggingConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PredictRequestResponseLoggingConfig |
parseFrom(InputStream input) |
static PredictRequestResponseLoggingConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PredictRequestResponseLoggingConfig> |
parser() |
PredictRequestResponseLoggingConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ENABLED_FIELD_NUMBER
public static final int SAMPLING_RATE_FIELD_NUMBER
public static final int BIGQUERY_DESTINATION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean getEnabled()
If logging is enabled or not.
bool enabled = 1;getEnabled in interface PredictRequestResponseLoggingConfigOrBuilderpublic double getSamplingRate()
Percentage of requests to be logged, expressed as a fraction in range(0,1].
double sampling_rate = 2;getSamplingRate in interface PredictRequestResponseLoggingConfigOrBuilderpublic 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.vertexai.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.vertexai.v1.BigQueryDestination bigquery_destination = 3;getBigqueryDestination in interface PredictRequestResponseLoggingConfigOrBuilderpublic 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.vertexai.v1.BigQueryDestination bigquery_destination = 3;getBigqueryDestinationOrBuilder in interface PredictRequestResponseLoggingConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static PredictRequestResponseLoggingConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PredictRequestResponseLoggingConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PredictRequestResponseLoggingConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PredictRequestResponseLoggingConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PredictRequestResponseLoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PredictRequestResponseLoggingConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PredictRequestResponseLoggingConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static PredictRequestResponseLoggingConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PredictRequestResponseLoggingConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PredictRequestResponseLoggingConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PredictRequestResponseLoggingConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PredictRequestResponseLoggingConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PredictRequestResponseLoggingConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PredictRequestResponseLoggingConfig.Builder newBuilder()
public static PredictRequestResponseLoggingConfig.Builder newBuilder(PredictRequestResponseLoggingConfig prototype)
public PredictRequestResponseLoggingConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PredictRequestResponseLoggingConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PredictRequestResponseLoggingConfig getDefaultInstance()
public static com.google.protobuf.Parser<PredictRequestResponseLoggingConfig> parser()
public com.google.protobuf.Parser<PredictRequestResponseLoggingConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PredictRequestResponseLoggingConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.