public static final class StringToInt64MapEntry.Builder extends GeneratedMessage.Builder<StringToInt64MapEntry.Builder> implements StringToInt64MapEntryOrBuilderProtobuf type google.backstory.StringToInt64MapEntry
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StringToInt64MapEntry.BuilderImplements
StringToInt64MapEntryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public StringToInt64MapEntry build()| Returns | |
|---|---|
| Type | Description |
StringToInt64MapEntry |
|
buildPartial()
public StringToInt64MapEntry buildPartial()| Returns | |
|---|---|
| Type | Description |
StringToInt64MapEntry |
|
clear()
public StringToInt64MapEntry.Builder clear()| Returns | |
|---|---|
| Type | Description |
StringToInt64MapEntry.Builder |
|
clearKey()
public StringToInt64MapEntry.Builder clearKey()Key field.
optional string key = 1;
| Returns | |
|---|---|
| Type | Description |
StringToInt64MapEntry.Builder |
This builder for chaining. |
clearValue()
public StringToInt64MapEntry.Builder clearValue()Value field.
optional int64 value = 2;
| Returns | |
|---|---|
| Type | Description |
StringToInt64MapEntry.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public StringToInt64MapEntry getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StringToInt64MapEntry |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(StringToInt64MapEntry other)
public StringToInt64MapEntry.Builder mergeFrom(StringToInt64MapEntry other)| Parameter | |
|---|---|
| Name | Description |
other |
StringToInt64MapEntry |
| Returns | |
|---|---|
| Type | Description |
StringToInt64MapEntry.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StringToInt64MapEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StringToInt64MapEntry.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public StringToInt64MapEntry.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StringToInt64MapEntry.Builder |
|
setKey(String value)
public StringToInt64MapEntry.Builder setKey(String value)Key field.
optional string key = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe key to set. |
| Returns | |
|---|---|
| Type | Description |
StringToInt64MapEntry.Builder |
This builder for chaining. |
setKeyBytes(ByteString value)
public StringToInt64MapEntry.Builder setKeyBytes(ByteString value)Key field.
optional string key = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for key to set. |
| Returns | |
|---|---|
| Type | Description |
StringToInt64MapEntry.Builder |
This builder for chaining. |
setValue(long value)
public StringToInt64MapEntry.Builder setValue(long value)Value field.
optional int64 value = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe value to set. |
| Returns | |
|---|---|
| Type | Description |
StringToInt64MapEntry.Builder |
This builder for chaining. |