public static final class
PairValue.Builder
Represents a (key, value) pair.Protobuf type
tensorflow.PairValue
Public Methods
PairValue.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
PairValue |
build()
|
PairValue | |
PairValue.Builder |
clear()
|
PairValue.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
PairValue.Builder |
clearKey()
string key = 1;
|
PairValue.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
PairValue.Builder |
clearValue()
.tensorflow.StructuredValue value = 2;
|
PairValue.Builder |
clone()
|
PairValue | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
String |
getKey()
string key = 1;
|
com.google.protobuf.ByteString |
getKeyBytes()
string key = 1;
|
StructuredValue |
getValue()
.tensorflow.StructuredValue value = 2;
|
StructuredValue.Builder |
getValueBuilder()
.tensorflow.StructuredValue value = 2;
|
StructuredValueOrBuilder |
getValueOrBuilder()
.tensorflow.StructuredValue value = 2;
|
boolean |
hasValue()
.tensorflow.StructuredValue value = 2;
|
final boolean | |
PairValue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
PairValue.Builder |
mergeFrom(com.google.protobuf.Message other)
|
final PairValue.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
PairValue.Builder | |
PairValue.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
PairValue.Builder |
setKey(String value)
string key = 1;
|
PairValue.Builder |
setKeyBytes(com.google.protobuf.ByteString value)
string key = 1;
|
PairValue.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
final PairValue.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
PairValue.Builder | |
PairValue.Builder |
Inherited Methods
Public Methods
public PairValue.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public String getKey ()
string key = 1;
public com.google.protobuf.ByteString getKeyBytes ()
string key = 1;
public boolean hasValue ()
.tensorflow.StructuredValue value = 2;
public final boolean isInitialized ()
public PairValue.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public final PairValue.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public PairValue.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public PairValue.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
public PairValue.Builder setValue (StructuredValue.Builder builderForValue)
.tensorflow.StructuredValue value = 2;