Package com.google.cloud.aiplatform.v1
Class ModelEvaluationSlice.Slice
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice
-
- All Implemented Interfaces:
ModelEvaluationSlice.SliceOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- ModelEvaluationSlice
public static final class ModelEvaluationSlice.Slice extends com.google.protobuf.GeneratedMessageV3 implements ModelEvaluationSlice.SliceOrBuilder
Definition of a slice.
Protobuf typegoogle.cloud.aiplatform.v1.ModelEvaluationSlice.Slice- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModelEvaluationSlice.Slice.BuilderDefinition of a slice.static classModelEvaluationSlice.Slice.SliceSpecSpecification for how the data should be sliced.static interfaceModelEvaluationSlice.Slice.SliceSpecOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intDIMENSION_FIELD_NUMBERstatic intSLICE_SPEC_FIELD_NUMBERstatic intVALUE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static ModelEvaluationSlice.SlicegetDefaultInstance()ModelEvaluationSlice.SlicegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDimension()Output only.com.google.protobuf.ByteStringgetDimensionBytes()Output only.com.google.protobuf.Parser<ModelEvaluationSlice.Slice>getParserForType()intgetSerializedSize()ModelEvaluationSlice.Slice.SliceSpecgetSliceSpec()Output only.ModelEvaluationSlice.Slice.SliceSpecOrBuildergetSliceSpecOrBuilder()Output only.StringgetValue()Output only.com.google.protobuf.ByteStringgetValueBytes()Output only.inthashCode()booleanhasSliceSpec()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ModelEvaluationSlice.Slice.BuildernewBuilder()static ModelEvaluationSlice.Slice.BuildernewBuilder(ModelEvaluationSlice.Slice prototype)ModelEvaluationSlice.Slice.BuildernewBuilderForType()protected ModelEvaluationSlice.Slice.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ModelEvaluationSlice.SliceparseDelimitedFrom(InputStream input)static ModelEvaluationSlice.SliceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelEvaluationSlice.SliceparseFrom(byte[] data)static ModelEvaluationSlice.SliceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelEvaluationSlice.SliceparseFrom(com.google.protobuf.ByteString data)static ModelEvaluationSlice.SliceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelEvaluationSlice.SliceparseFrom(com.google.protobuf.CodedInputStream input)static ModelEvaluationSlice.SliceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelEvaluationSlice.SliceparseFrom(InputStream input)static ModelEvaluationSlice.SliceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelEvaluationSlice.SliceparseFrom(ByteBuffer data)static ModelEvaluationSlice.SliceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ModelEvaluationSlice.Slice>parser()ModelEvaluationSlice.Slice.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DIMENSION_FIELD_NUMBER
public static final int DIMENSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SLICE_SPEC_FIELD_NUMBER
public static final int SLICE_SPEC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getDimension
public String getDimension()
Output only. The dimension of the slice. Well-known dimensions are: * `annotationSpec`: This slice is on the test data that has either ground truth or prediction with [AnnotationSpec.display_name][google.cloud.aiplatform.v1.AnnotationSpec.display_name] equals to [value][google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.value]. * `slice`: This slice is a user customized slice defined by its SliceSpec.string dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDimensionin interfaceModelEvaluationSlice.SliceOrBuilder- Returns:
- The dimension.
-
getDimensionBytes
public com.google.protobuf.ByteString getDimensionBytes()
Output only. The dimension of the slice. Well-known dimensions are: * `annotationSpec`: This slice is on the test data that has either ground truth or prediction with [AnnotationSpec.display_name][google.cloud.aiplatform.v1.AnnotationSpec.display_name] equals to [value][google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.value]. * `slice`: This slice is a user customized slice defined by its SliceSpec.string dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDimensionBytesin interfaceModelEvaluationSlice.SliceOrBuilder- Returns:
- The bytes for dimension.
-
getValue
public String getValue()
Output only. The value of the dimension in this slice.
string value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getValuein interfaceModelEvaluationSlice.SliceOrBuilder- Returns:
- The value.
-
getValueBytes
public com.google.protobuf.ByteString getValueBytes()
Output only. The value of the dimension in this slice.
string value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getValueBytesin interfaceModelEvaluationSlice.SliceOrBuilder- Returns:
- The bytes for value.
-
hasSliceSpec
public boolean hasSliceSpec()
Output only. Specification for how the data was sliced.
.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSliceSpecin interfaceModelEvaluationSlice.SliceOrBuilder- Returns:
- Whether the sliceSpec field is set.
-
getSliceSpec
public ModelEvaluationSlice.Slice.SliceSpec getSliceSpec()
Output only. Specification for how the data was sliced.
.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSliceSpecin interfaceModelEvaluationSlice.SliceOrBuilder- Returns:
- The sliceSpec.
-
getSliceSpecOrBuilder
public ModelEvaluationSlice.Slice.SliceSpecOrBuilder getSliceSpecOrBuilder()
Output only. Specification for how the data was sliced.
.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSliceSpecOrBuilderin interfaceModelEvaluationSlice.SliceOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ModelEvaluationSlice.Slice parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelEvaluationSlice.Slice parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelEvaluationSlice.Slice parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelEvaluationSlice.Slice parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelEvaluationSlice.Slice parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelEvaluationSlice.Slice parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelEvaluationSlice.Slice parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ModelEvaluationSlice.Slice parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ModelEvaluationSlice.Slice parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ModelEvaluationSlice.Slice parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ModelEvaluationSlice.Slice parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ModelEvaluationSlice.Slice parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ModelEvaluationSlice.Slice.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ModelEvaluationSlice.Slice.Builder newBuilder()
-
newBuilder
public static ModelEvaluationSlice.Slice.Builder newBuilder(ModelEvaluationSlice.Slice prototype)
-
toBuilder
public ModelEvaluationSlice.Slice.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ModelEvaluationSlice.Slice.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ModelEvaluationSlice.Slice getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ModelEvaluationSlice.Slice> parser()
-
getParserForType
public com.google.protobuf.Parser<ModelEvaluationSlice.Slice> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ModelEvaluationSlice.Slice getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-