public static final class Instance.InstanceMessage.Builder extends GeneratedMessageV3.Builder<Instance.InstanceMessage.Builder> implements Instance.InstanceMessageOrBuilder
Protobuf type google.cloud.memcache.v1beta2.Instance.InstanceMessage
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Instance.InstanceMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Instance.InstanceMessage build()
Returns
buildPartial()
public Instance.InstanceMessage buildPartial()
Returns
clear()
public Instance.InstanceMessage.Builder clear()
Returns
Overrides
clearCode()
public Instance.InstanceMessage.Builder clearCode()
A code that correspond to one type of user-facing message.
.google.cloud.memcache.v1beta2.Instance.InstanceMessage.Code code = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public Instance.InstanceMessage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMessage()
public Instance.InstanceMessage.Builder clearMessage()
Message on memcached instance which will be exposed to users.
string message = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.InstanceMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Instance.InstanceMessage.Builder clone()
Returns
Overrides
getCode()
public Instance.InstanceMessage.Code getCode()
A code that correspond to one type of user-facing message.
.google.cloud.memcache.v1beta2.Instance.InstanceMessage.Code code = 1;
Returns
getCodeValue()
public int getCodeValue()
A code that correspond to one type of user-facing message.
.google.cloud.memcache.v1beta2.Instance.InstanceMessage.Code code = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for code.
|
getDefaultInstanceForType()
public Instance.InstanceMessage getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Instance.InstanceMessage other)
public Instance.InstanceMessage.Builder mergeFrom(Instance.InstanceMessage other)
Parameter
Returns
public Instance.InstanceMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Instance.InstanceMessage.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.InstanceMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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.v1beta2.Instance.InstanceMessage.Code code = 1;
Parameter
Returns
setCodeValue(int value)
public Instance.InstanceMessage.Builder setCodeValue(int value)
A code that correspond to one type of user-facing message.
.google.cloud.memcache.v1beta2.Instance.InstanceMessage.Code code = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for code to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.InstanceMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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 | String
The message to set.
|
Returns
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 | ByteString
The bytes for message to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Instance.InstanceMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.InstanceMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides