public static final class Instance.InstanceMessage.Builder extends GeneratedMessageV3.Builder<Instance.InstanceMessage.Builder> implements Instance.InstanceMessageOrBuilder
Protobuf type google.cloud.memcache.v1beta2.Instance.InstanceMessage
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Instance.InstanceMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Instance.InstanceMessage build()
buildPartial()
public Instance.InstanceMessage buildPartial()
clear()
public Instance.InstanceMessage.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public Instance.InstanceMessage.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMessage()
public Instance.InstanceMessage.Builder clearMessage()
Message on memcached instance which will be exposed to users.
string message = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.InstanceMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Instance.InstanceMessage.Builder clone()
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;
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for message.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Instance.InstanceMessage other)
public Instance.InstanceMessage.Builder mergeFrom(Instance.InstanceMessage other)
public Instance.InstanceMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Instance.InstanceMessage.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.InstanceMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.InstanceMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Instance.InstanceMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.InstanceMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides