PairValue

public final class PairValue

 Represents a (key, value) pair.
 
Protobuf type tensorflow.PairValue

Nested Classes

class PairValue.Builder
 Represents a (key, value) pair. 

Constants

int KEY_FIELD_NUMBER
int VALUE_FIELD_NUMBER

Public Methods

boolean
equals (Object obj)
static PairValue
PairValue
final static com.google.protobuf.Descriptors.Descriptor
String
getKey ()
string key = 1;
com.google.protobuf.ByteString
getKeyBytes ()
string key = 1;
int
final com.google.protobuf.UnknownFieldSet
StructuredValue
getValue ()
.tensorflow.StructuredValue value = 2;
StructuredValueOrBuilder
getValueOrBuilder ()
.tensorflow.StructuredValue value = 2;
boolean
hasValue ()
.tensorflow.StructuredValue value = 2;
int
final boolean
static PairValue.Builder
static PairValue.Builder
PairValue.Builder
static PairValue
parseDelimitedFrom (InputStream input)
static PairValue
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PairValue
parseFrom (ByteBuffer data)
static PairValue
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PairValue
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PairValue
parseFrom (com.google.protobuf.CodedInputStream input)
static PairValue
parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PairValue
parseFrom (com.google.protobuf.ByteString data)
static PairValue
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PairValue
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
PairValue.Builder
void
writeTo (com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int KEY_FIELD_NUMBER

Constant Value: 1

public static final int VALUE_FIELD_NUMBER

Constant Value: 2

Public Methods

public boolean equals (Object obj)

public static PairValue getDefaultInstance ()

public PairValue getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public String getKey ()

string key = 1;

public com.google.protobuf.ByteString getKeyBytes ()

string key = 1;

public getParserForType ()

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public StructuredValue getValue ()

.tensorflow.StructuredValue value = 2;

public StructuredValueOrBuilder getValueOrBuilder ()

.tensorflow.StructuredValue value = 2;

public boolean hasValue ()

.tensorflow.StructuredValue value = 2;

public int hashCode ()

public final boolean isInitialized ()

public static PairValue.Builder newBuilder ( PairValue prototype)

public static PairValue.Builder newBuilder ()

public PairValue.Builder newBuilderForType ()

public static PairValue parseDelimitedFrom (InputStream input)

Throws
IOException

public static PairValue parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static PairValue parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static PairValue parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static PairValue parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static PairValue parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static PairValue parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static PairValue parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static PairValue parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static PairValue parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public PairValue.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException