Package org.platanios.tensorflow.proto
Interface Struct.PairValueOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Struct.PairValue
,Struct.PairValue.Builder
- Enclosing class:
- Struct
public static interface Struct.PairValueOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getKey()
string key = 1;
com.google.protobuf.ByteString
getKeyBytes()
string key = 1;
Struct.StructuredValue
getValue()
.org.platanios.tensorflow.proto.StructuredValue value = 2;
Struct.StructuredValueOrBuilder
getValueOrBuilder()
.org.platanios.tensorflow.proto.StructuredValue value = 2;
boolean
hasValue()
.org.platanios.tensorflow.proto.StructuredValue value = 2;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getKey
java.lang.String getKey()
string key = 1;
- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()
string key = 1;
- Returns:
- The bytes for key.
-
hasValue
boolean hasValue()
.org.platanios.tensorflow.proto.StructuredValue value = 2;
- Returns:
- Whether the value field is set.
-
getValue
Struct.StructuredValue getValue()
.org.platanios.tensorflow.proto.StructuredValue value = 2;
- Returns:
- The value.
-
getValueOrBuilder
Struct.StructuredValueOrBuilder getValueOrBuilder()
.org.platanios.tensorflow.proto.StructuredValue value = 2;
-
-