public static final class Instance.InstanceMessage.Builder extends GeneratedMessage.Builder<Instance.InstanceMessage.Builder> implements Instance.InstanceMessageOrBuilderProtobuf type google.cloud.memcache.v1.Instance.InstanceMessage
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Instance.InstanceMessage.BuilderImplements
Instance.InstanceMessageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Instance.InstanceMessage build()| Returns | |
|---|---|
| Type | Description |
Instance.InstanceMessage |
|
buildPartial()
public Instance.InstanceMessage buildPartial()| Returns | |
|---|---|
| Type | Description |
Instance.InstanceMessage |
|
clear()
public Instance.InstanceMessage.Builder clear()| Returns | |
|---|---|
| Type | Description |
Instance.InstanceMessage.Builder |
|
clearCode()
public Instance.InstanceMessage.Builder clearCode()A code that correspond to one type of user-facing message.
.google.cloud.memcache.v1.Instance.InstanceMessage.Code code = 1;
| Returns | |
|---|---|
| Type | Description |
Instance.InstanceMessage.Builder |
This builder for chaining. |
clearMessage()
public Instance.InstanceMessage.Builder clearMessage()Message on memcached instance which will be exposed to users.
string message = 2;
| Returns | |
|---|---|
| Type | Description |
Instance.InstanceMessage.Builder |
This builder for chaining. |
getCode()
public Instance.InstanceMessage.Code getCode()A code that correspond to one type of user-facing message.
.google.cloud.memcache.v1.Instance.InstanceMessage.Code code = 1;
| Returns | |
|---|---|
| Type | Description |
Instance.InstanceMessage.Code |
The code. |
getCodeValue()
public int getCodeValue()A code that correspond to one type of user-facing message.
.google.cloud.memcache.v1.Instance.InstanceMessage.Code code = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for code. |
getDefaultInstanceForType()
public Instance.InstanceMessage getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Instance.InstanceMessage |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMessage()
public String getMessage()Message on memcached instance which will be exposed to users.
string message = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The message. |
getMessageBytes()
public ByteString getMessageBytes()Message on memcached instance which will be exposed to users.
string message = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for message. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Instance.InstanceMessage other)
public Instance.InstanceMessage.Builder mergeFrom(Instance.InstanceMessage other)| Parameter | |
|---|---|
| Name | Description |
other |
Instance.InstanceMessage |
| Returns | |
|---|---|
| Type | Description |
Instance.InstanceMessage.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Instance.InstanceMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Instance.InstanceMessage.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Instance.InstanceMessage.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Instance.InstanceMessage.Builder |
|
setCode(Instance.InstanceMessage.Code value)
public Instance.InstanceMessage.Builder setCode(Instance.InstanceMessage.Code value)A code that correspond to one type of user-facing message.
.google.cloud.memcache.v1.Instance.InstanceMessage.Code code = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Instance.InstanceMessage.CodeThe code to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.InstanceMessage.Builder |
This builder for chaining. |
setCodeValue(int value)
public Instance.InstanceMessage.Builder setCodeValue(int value)A code that correspond to one type of user-facing message.
.google.cloud.memcache.v1.Instance.InstanceMessage.Code code = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for code to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.InstanceMessage.Builder |
This builder for chaining. |
setMessage(String value)
public Instance.InstanceMessage.Builder setMessage(String value)Message on memcached instance which will be exposed to users.
string message = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe message to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.InstanceMessage.Builder |
This builder for chaining. |
setMessageBytes(ByteString value)
public Instance.InstanceMessage.Builder setMessageBytes(ByteString value)Message on memcached instance which will be exposed to users.
string message = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for message to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.InstanceMessage.Builder |
This builder for chaining. |