Class Instance.StateInfo (0.1.0)

public static final class Instance.StateInfo extends GeneratedMessageV3 implements Instance.StateInfoOrBuilder

Additional information about the state of the instance.

Protobuf type google.cloud.memorystore.v1beta.Instance.StateInfo

Static Fields

UPDATE_INFO_FIELD_NUMBER

public static final int UPDATE_INFO_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Instance.StateInfo getDefaultInstance()
Returns
Type Description
Instance.StateInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Instance.StateInfo.Builder newBuilder()
Returns
Type Description
Instance.StateInfo.Builder

newBuilder(Instance.StateInfo prototype)

public static Instance.StateInfo.Builder newBuilder(Instance.StateInfo prototype)
Parameter
Name Description
prototype Instance.StateInfo
Returns
Type Description
Instance.StateInfo.Builder

parseDelimitedFrom(InputStream input)

public static Instance.StateInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Instance.StateInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.StateInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.StateInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Instance.StateInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Instance.StateInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Instance.StateInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.StateInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Instance.StateInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Instance.StateInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Instance.StateInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.StateInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Instance.StateInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Instance.StateInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.StateInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.StateInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Instance.StateInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Instance.StateInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.StateInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.StateInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Instance.StateInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Instance.StateInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Instance.StateInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.StateInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Instance.StateInfo> parser()
Returns
Type Description
Parser<StateInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Instance.StateInfo getDefaultInstanceForType()
Returns
Type Description
Instance.StateInfo

getInfoCase()

public Instance.StateInfo.InfoCase getInfoCase()
Returns
Type Description
Instance.StateInfo.InfoCase

getParserForType()

public Parser<Instance.StateInfo> getParserForType()
Returns
Type Description
Parser<StateInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateInfo()

public Instance.StateInfo.UpdateInfo getUpdateInfo()

Output only. Describes ongoing update when instance state is UPDATING.

.google.cloud.memorystore.v1beta.Instance.StateInfo.UpdateInfo update_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Instance.StateInfo.UpdateInfo

The updateInfo.

getUpdateInfoOrBuilder()

public Instance.StateInfo.UpdateInfoOrBuilder getUpdateInfoOrBuilder()

Output only. Describes ongoing update when instance state is UPDATING.

.google.cloud.memorystore.v1beta.Instance.StateInfo.UpdateInfo update_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Instance.StateInfo.UpdateInfoOrBuilder

hasUpdateInfo()

public boolean hasUpdateInfo()

Output only. Describes ongoing update when instance state is UPDATING.

.google.cloud.memorystore.v1beta.Instance.StateInfo.UpdateInfo update_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateInfo field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Instance.StateInfo.Builder newBuilderForType()
Returns
Type Description
Instance.StateInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Instance.StateInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Instance.StateInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Instance.StateInfo.Builder toBuilder()
Returns
Type Description
Instance.StateInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException