Package org.tensorflow.metadata.v0
Interface StringDomainOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StringDomain,StringDomain.Builder
public interface StringDomainOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Id of the domain.com.google.protobuf.ByteStringgetNameBytes()Id of the domain.StringgetValue(int index)The values appearing in the domain.com.google.protobuf.ByteStringgetValueBytes(int index)The values appearing in the domain.intgetValueCount()The values appearing in the domain.List<String>getValueList()The values appearing in the domain.booleanhasName()Id of the domain.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasName
boolean hasName()
Id of the domain. Required if the domain is defined at the schema level. If so, then the name must be unique within the schema.
optional string name = 1;- Returns:
- Whether the name field is set.
-
getName
String getName()
Id of the domain. Required if the domain is defined at the schema level. If so, then the name must be unique within the schema.
optional string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Id of the domain. Required if the domain is defined at the schema level. If so, then the name must be unique within the schema.
optional string name = 1;- Returns:
- The bytes for name.
-
getValueList
List<String> getValueList()
The values appearing in the domain.
repeated string value = 2;- Returns:
- A list containing the value.
-
getValueCount
int getValueCount()
The values appearing in the domain.
repeated string value = 2;- Returns:
- The count of value.
-
getValue
String getValue(int index)
The values appearing in the domain.
repeated string value = 2;- Parameters:
index- The index of the element to return.- Returns:
- The value at the given index.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes(int index)
The values appearing in the domain.
repeated string value = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the value at the given index.
-
-