public static final class Instance.InstanceMessage extends GeneratedMessageV3 implements Instance.InstanceMessageOrBuilder
Protobuf type google.cloud.memcache.v1beta2.Instance.InstanceMessage
Static Fields
CODE_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER
Field Value
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Instance.InstanceMessage getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Instance.InstanceMessage.Builder newBuilder()
Returns
newBuilder(Instance.InstanceMessage prototype)
public static Instance.InstanceMessage.Builder newBuilder(Instance.InstanceMessage prototype)
Parameter
Returns
public static Instance.InstanceMessage parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Instance.InstanceMessage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Instance.InstanceMessage parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Instance.InstanceMessage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Instance.InstanceMessage parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Instance.InstanceMessage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Instance.InstanceMessage parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Instance.InstanceMessage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Instance.InstanceMessage parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Instance.InstanceMessage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Instance.InstanceMessage parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Instance.InstanceMessage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Instance.InstanceMessage> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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
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
getParserForType()
public Parser<Instance.InstanceMessage> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Instance.InstanceMessage.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Instance.InstanceMessage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Instance.InstanceMessage.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions