@Generated public final class ComputationBasedMetricSpec extends com.google.protobuf.GeneratedMessage implements ComputationBasedMetricSpecOrBuilder
Specification for a computation based metric.Protobuf type
google.cloud.aiplatform.v1beta1.ComputationBasedMetricSpec| Modifier and Type | Class and Description |
|---|---|
static class |
ComputationBasedMetricSpec.Builder
Specification for a computation based metric.
|
static class |
ComputationBasedMetricSpec.ComputationBasedMetricType
Types of computation based metrics.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
PARAMETERS_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ComputationBasedMetricSpec |
getDefaultInstance() |
ComputationBasedMetricSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Struct |
getParameters()
Optional.
|
com.google.protobuf.StructOrBuilder |
getParametersOrBuilder()
Optional.
|
com.google.protobuf.Parser<ComputationBasedMetricSpec> |
getParserForType() |
int |
getSerializedSize() |
ComputationBasedMetricSpec.ComputationBasedMetricType |
getType()
Required.
|
int |
getTypeValue()
Required.
|
int |
hashCode() |
boolean |
hasParameters()
Optional.
|
boolean |
hasType()
Required.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ComputationBasedMetricSpec.Builder |
newBuilder() |
static ComputationBasedMetricSpec.Builder |
newBuilder(ComputationBasedMetricSpec prototype) |
ComputationBasedMetricSpec.Builder |
newBuilderForType() |
protected ComputationBasedMetricSpec.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static ComputationBasedMetricSpec |
parseDelimitedFrom(InputStream input) |
static ComputationBasedMetricSpec |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ComputationBasedMetricSpec |
parseFrom(byte[] data) |
static ComputationBasedMetricSpec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ComputationBasedMetricSpec |
parseFrom(ByteBuffer data) |
static ComputationBasedMetricSpec |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ComputationBasedMetricSpec |
parseFrom(com.google.protobuf.ByteString data) |
static ComputationBasedMetricSpec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ComputationBasedMetricSpec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ComputationBasedMetricSpec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ComputationBasedMetricSpec |
parseFrom(InputStream input) |
static ComputationBasedMetricSpec |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ComputationBasedMetricSpec> |
parser() |
ComputationBasedMetricSpec.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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TYPE_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic boolean hasType()
Required. The type of the computation based metric.
optional .google.cloud.aiplatform.v1beta1.ComputationBasedMetricSpec.ComputationBasedMetricType type = 1 [(.google.api.field_behavior) = REQUIRED];
hasType in interface ComputationBasedMetricSpecOrBuilderpublic int getTypeValue()
Required. The type of the computation based metric.
optional .google.cloud.aiplatform.v1beta1.ComputationBasedMetricSpec.ComputationBasedMetricType type = 1 [(.google.api.field_behavior) = REQUIRED];
getTypeValue in interface ComputationBasedMetricSpecOrBuilderpublic ComputationBasedMetricSpec.ComputationBasedMetricType getType()
Required. The type of the computation based metric.
optional .google.cloud.aiplatform.v1beta1.ComputationBasedMetricSpec.ComputationBasedMetricType type = 1 [(.google.api.field_behavior) = REQUIRED];
getType in interface ComputationBasedMetricSpecOrBuilderpublic boolean hasParameters()
Optional. A map of parameters for the metric, e.g. {"rouge_type":
"rougeL"}.
optional .google.protobuf.Struct parameters = 2 [(.google.api.field_behavior) = OPTIONAL];
hasParameters in interface ComputationBasedMetricSpecOrBuilderpublic com.google.protobuf.Struct getParameters()
Optional. A map of parameters for the metric, e.g. {"rouge_type":
"rougeL"}.
optional .google.protobuf.Struct parameters = 2 [(.google.api.field_behavior) = OPTIONAL];
getParameters in interface ComputationBasedMetricSpecOrBuilderpublic com.google.protobuf.StructOrBuilder getParametersOrBuilder()
Optional. A map of parameters for the metric, e.g. {"rouge_type":
"rougeL"}.
optional .google.protobuf.Struct parameters = 2 [(.google.api.field_behavior) = OPTIONAL];
getParametersOrBuilder in interface ComputationBasedMetricSpecOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic 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 ComputationBasedMetricSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComputationBasedMetricSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComputationBasedMetricSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComputationBasedMetricSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComputationBasedMetricSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComputationBasedMetricSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComputationBasedMetricSpec parseFrom(InputStream input) throws IOException
IOExceptionpublic static ComputationBasedMetricSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ComputationBasedMetricSpec parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ComputationBasedMetricSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ComputationBasedMetricSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ComputationBasedMetricSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ComputationBasedMetricSpec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ComputationBasedMetricSpec.Builder newBuilder()
public static ComputationBasedMetricSpec.Builder newBuilder(ComputationBasedMetricSpec prototype)
public ComputationBasedMetricSpec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ComputationBasedMetricSpec.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static ComputationBasedMetricSpec getDefaultInstance()
public static com.google.protobuf.Parser<ComputationBasedMetricSpec> parser()
public com.google.protobuf.Parser<ComputationBasedMetricSpec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic ComputationBasedMetricSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2026 Google LLC. All rights reserved.