PairValue.Builder

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
mergeValue(StructuredValue value)
.tensorflow.StructuredValue value = 2;
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
setValue(StructuredValue.Builder builderForValue)
.tensorflow.StructuredValue value = 2;
PairValue.Builder
setValue(StructuredValue value)
.tensorflow.StructuredValue value = 2;

Inherited Methods

Public Methods

public PairValue.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public PairValue build ()

public PairValue buildPartial ()

public PairValue.Builder clear ()

public PairValue.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public PairValue.Builder clearKey ()

string key = 1;

public PairValue.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public PairValue.Builder clearValue ()

.tensorflow.StructuredValue value = 2;

public PairValue.Builder clone ()

public PairValue getDefaultInstanceForType ()

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 StructuredValue getValue ()

.tensorflow.StructuredValue value = 2;

public StructuredValue.Builder getValueBuilder ()

.tensorflow.StructuredValue value = 2;

public StructuredValueOrBuilder getValueOrBuilder ()

.tensorflow.StructuredValue value = 2;

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 PairValue.Builder mergeFrom (com.google.protobuf.Message other)

public final PairValue.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public PairValue.Builder mergeValue (StructuredValue value)

.tensorflow.StructuredValue value = 2;

public PairValue.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public PairValue.Builder setKey (String value)

string key = 1;

public PairValue.Builder setKeyBytes (com.google.protobuf.ByteString value)

string key = 1;

public PairValue.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public final PairValue.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public PairValue.Builder setValue (StructuredValue.Builder builderForValue)

.tensorflow.StructuredValue value = 2;

public PairValue.Builder setValue (StructuredValue value)

.tensorflow.StructuredValue value = 2;