Package org.tensorflow.metadata.v0
Class TensorRepresentation.DefaultValue
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.tensorflow.metadata.v0.TensorRepresentation.DefaultValue
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,TensorRepresentation.DefaultValueOrBuilder
- Enclosing class:
- TensorRepresentation
public static final class TensorRepresentation.DefaultValue extends com.google.protobuf.GeneratedMessageV3 implements TensorRepresentation.DefaultValueOrBuilder
Protobuf typetensorflow.metadata.v0.TensorRepresentation.DefaultValue- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTensorRepresentation.DefaultValue.BuilderProtobuf typetensorflow.metadata.v0.TensorRepresentation.DefaultValuestatic classTensorRepresentation.DefaultValue.KindCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intBYTES_VALUE_FIELD_NUMBERstatic intFLOAT_VALUE_FIELD_NUMBERstatic intINT_VALUE_FIELD_NUMBERstatic com.google.protobuf.Parser<TensorRepresentation.DefaultValue>PARSERDeprecated.static intUINT_VALUE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)com.google.protobuf.ByteStringgetBytesValue()bytes bytes_value = 3;static TensorRepresentation.DefaultValuegetDefaultInstance()TensorRepresentation.DefaultValuegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()doublegetFloatValue()double float_value = 1;longgetIntValue()Note that the data column might be of a shorter integral type.TensorRepresentation.DefaultValue.KindCasegetKindCase()com.google.protobuf.Parser<TensorRepresentation.DefaultValue>getParserForType()intgetSerializedSize()longgetUintValue()uint_value should only be used if the default value can't fit in a int64 (`int_value`).com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasBytesValue()bytes bytes_value = 3;booleanhasFloatValue()double float_value = 1;inthashCode()booleanhasIntValue()Note that the data column might be of a shorter integral type.booleanhasUintValue()uint_value should only be used if the default value can't fit in a int64 (`int_value`).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static TensorRepresentation.DefaultValue.BuildernewBuilder()static TensorRepresentation.DefaultValue.BuildernewBuilder(TensorRepresentation.DefaultValue prototype)TensorRepresentation.DefaultValue.BuildernewBuilderForType()protected TensorRepresentation.DefaultValue.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static TensorRepresentation.DefaultValueparseDelimitedFrom(InputStream input)static TensorRepresentation.DefaultValueparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TensorRepresentation.DefaultValueparseFrom(byte[] data)static TensorRepresentation.DefaultValueparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TensorRepresentation.DefaultValueparseFrom(com.google.protobuf.ByteString data)static TensorRepresentation.DefaultValueparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TensorRepresentation.DefaultValueparseFrom(com.google.protobuf.CodedInputStream input)static TensorRepresentation.DefaultValueparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TensorRepresentation.DefaultValueparseFrom(InputStream input)static TensorRepresentation.DefaultValueparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TensorRepresentation.DefaultValueparseFrom(ByteBuffer data)static TensorRepresentation.DefaultValueparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<TensorRepresentation.DefaultValue>parser()TensorRepresentation.DefaultValue.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, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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
-
FLOAT_VALUE_FIELD_NUMBER
public static final int FLOAT_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INT_VALUE_FIELD_NUMBER
public static final int INT_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BYTES_VALUE_FIELD_NUMBER
public static final int BYTES_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UINT_VALUE_FIELD_NUMBER
public static final int UINT_VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<TensorRepresentation.DefaultValue> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
-
getKindCase
public TensorRepresentation.DefaultValue.KindCase getKindCase()
- Specified by:
getKindCasein interfaceTensorRepresentation.DefaultValueOrBuilder
-
hasFloatValue
public boolean hasFloatValue()
double float_value = 1;- Specified by:
hasFloatValuein interfaceTensorRepresentation.DefaultValueOrBuilder- Returns:
- Whether the floatValue field is set.
-
getFloatValue
public double getFloatValue()
double float_value = 1;- Specified by:
getFloatValuein interfaceTensorRepresentation.DefaultValueOrBuilder- Returns:
- The floatValue.
-
hasIntValue
public boolean hasIntValue()
Note that the data column might be of a shorter integral type. It's the user's responsitiblity to make sure the default value fits that type.
int64 int_value = 2;- Specified by:
hasIntValuein interfaceTensorRepresentation.DefaultValueOrBuilder- Returns:
- Whether the intValue field is set.
-
getIntValue
public long getIntValue()
Note that the data column might be of a shorter integral type. It's the user's responsitiblity to make sure the default value fits that type.
int64 int_value = 2;- Specified by:
getIntValuein interfaceTensorRepresentation.DefaultValueOrBuilder- Returns:
- The intValue.
-
hasBytesValue
public boolean hasBytesValue()
bytes bytes_value = 3;- Specified by:
hasBytesValuein interfaceTensorRepresentation.DefaultValueOrBuilder- Returns:
- Whether the bytesValue field is set.
-
getBytesValue
public com.google.protobuf.ByteString getBytesValue()
bytes bytes_value = 3;- Specified by:
getBytesValuein interfaceTensorRepresentation.DefaultValueOrBuilder- Returns:
- The bytesValue.
-
hasUintValue
public boolean hasUintValue()
uint_value should only be used if the default value can't fit in a int64 (`int_value`).
uint64 uint_value = 4;- Specified by:
hasUintValuein interfaceTensorRepresentation.DefaultValueOrBuilder- Returns:
- Whether the uintValue field is set.
-
getUintValue
public long getUintValue()
uint_value should only be used if the default value can't fit in a int64 (`int_value`).
uint64 uint_value = 4;- Specified by:
getUintValuein interfaceTensorRepresentation.DefaultValueOrBuilder- Returns:
- The uintValue.
-
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 TensorRepresentation.DefaultValue parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TensorRepresentation.DefaultValue parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TensorRepresentation.DefaultValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TensorRepresentation.DefaultValue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TensorRepresentation.DefaultValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TensorRepresentation.DefaultValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TensorRepresentation.DefaultValue parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TensorRepresentation.DefaultValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TensorRepresentation.DefaultValue parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TensorRepresentation.DefaultValue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static TensorRepresentation.DefaultValue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TensorRepresentation.DefaultValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public TensorRepresentation.DefaultValue.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static TensorRepresentation.DefaultValue.Builder newBuilder()
-
newBuilder
public static TensorRepresentation.DefaultValue.Builder newBuilder(TensorRepresentation.DefaultValue prototype)
-
toBuilder
public TensorRepresentation.DefaultValue.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TensorRepresentation.DefaultValue.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static TensorRepresentation.DefaultValue getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TensorRepresentation.DefaultValue> parser()
-
getParserForType
public com.google.protobuf.Parser<TensorRepresentation.DefaultValue> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TensorRepresentation.DefaultValue getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-