Class StringToInt64MapEntry (0.3.0)

public final class StringToInt64MapEntry extends GeneratedMessage implements StringToInt64MapEntryOrBuilder

Protobuf type google.backstory.StringToInt64MapEntry

Static Fields

KEY_FIELD_NUMBER

public static final int KEY_FIELD_NUMBER
Field Value
Type Description
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StringToInt64MapEntry getDefaultInstance()
Returns
Type Description
StringToInt64MapEntry

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static StringToInt64MapEntry.Builder newBuilder()
Returns
Type Description
StringToInt64MapEntry.Builder

newBuilder(StringToInt64MapEntry prototype)

public static StringToInt64MapEntry.Builder newBuilder(StringToInt64MapEntry prototype)
Parameter
Name Description
prototype StringToInt64MapEntry
Returns
Type Description
StringToInt64MapEntry.Builder

parseDelimitedFrom(InputStream input)

public static StringToInt64MapEntry parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StringToInt64MapEntry
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StringToInt64MapEntry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StringToInt64MapEntry
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StringToInt64MapEntry parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StringToInt64MapEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StringToInt64MapEntry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StringToInt64MapEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StringToInt64MapEntry parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StringToInt64MapEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StringToInt64MapEntry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StringToInt64MapEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StringToInt64MapEntry parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StringToInt64MapEntry
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StringToInt64MapEntry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StringToInt64MapEntry
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StringToInt64MapEntry parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StringToInt64MapEntry
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StringToInt64MapEntry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StringToInt64MapEntry
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StringToInt64MapEntry parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StringToInt64MapEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StringToInt64MapEntry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StringToInt64MapEntry
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StringToInt64MapEntry> parser()
Returns
Type Description
Parser<StringToInt64MapEntry>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public StringToInt64MapEntry getDefaultInstanceForType()
Returns
Type Description
StringToInt64MapEntry

getKey()

public String getKey()

Key field.

optional string key = 1;

Returns
Type Description
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

Key field.

optional string key = 1;

Returns
Type Description
ByteString

The bytes for key.

getParserForType()

public Parser<StringToInt64MapEntry> getParserForType()
Returns
Type Description
Parser<StringToInt64MapEntry>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getValue()

public long getValue()

Value field.

optional int64 value = 2;

Returns
Type Description
long

The value.

hasKey()

public boolean hasKey()

Key field.

optional string key = 1;

Returns
Type Description
boolean

Whether the key field is set.

hasValue()

public boolean hasValue()

Value field.

optional int64 value = 2;

Returns
Type Description
boolean

Whether the value field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StringToInt64MapEntry.Builder newBuilderForType()
Returns
Type Description
StringToInt64MapEntry.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected StringToInt64MapEntry.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StringToInt64MapEntry.Builder
Overrides

toBuilder()

public StringToInt64MapEntry.Builder toBuilder()
Returns
Type Description
StringToInt64MapEntry.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException