Class Instance.StateInfo.Builder (0.1.0)

public static final class Instance.StateInfo.Builder extends GeneratedMessageV3.Builder<Instance.StateInfo.Builder> implements Instance.StateInfoOrBuilder

Additional information about the state of the instance.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Instance.StateInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Instance.StateInfo.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Instance.StateInfo.Builder clear()
Returns
Type Description
Instance.StateInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Instance.StateInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Instance.StateInfo.Builder
Overrides

clearInfo()

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Instance.StateInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Instance.StateInfo.Builder
Overrides

clearUpdateInfo()

public Instance.StateInfo.Builder clearUpdateInfo()

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

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

Returns
Type Description
Instance.StateInfo.Builder

clone()

public Instance.StateInfo.Builder clone()
Returns
Type Description
Instance.StateInfo.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInfoCase()

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

getUpdateInfo()

public Instance.StateInfo.UpdateInfo getUpdateInfo()

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

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

Returns
Type Description
Instance.StateInfo.UpdateInfo

The updateInfo.

getUpdateInfoBuilder()

public Instance.StateInfo.UpdateInfo.Builder getUpdateInfoBuilder()

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

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

Returns
Type Description
Instance.StateInfo.UpdateInfo.Builder

getUpdateInfoOrBuilder()

public Instance.StateInfo.UpdateInfoOrBuilder getUpdateInfoOrBuilder()

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

.google.cloud.memorystore.v1.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.v1.Instance.StateInfo.UpdateInfo update_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateInfo field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Instance.StateInfo other)

public Instance.StateInfo.Builder mergeFrom(Instance.StateInfo other)
Parameter
Name Description
other Instance.StateInfo
Returns
Type Description
Instance.StateInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Instance.StateInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.StateInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Instance.StateInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Instance.StateInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Instance.StateInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Instance.StateInfo.Builder
Overrides

mergeUpdateInfo(Instance.StateInfo.UpdateInfo value)

public Instance.StateInfo.Builder mergeUpdateInfo(Instance.StateInfo.UpdateInfo value)

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

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

Parameter
Name Description
value Instance.StateInfo.UpdateInfo
Returns
Type Description
Instance.StateInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Instance.StateInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Instance.StateInfo.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Instance.StateInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Instance.StateInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Instance.StateInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Instance.StateInfo.Builder
Overrides

setUpdateInfo(Instance.StateInfo.UpdateInfo value)

public Instance.StateInfo.Builder setUpdateInfo(Instance.StateInfo.UpdateInfo value)

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

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

Parameter
Name Description
value Instance.StateInfo.UpdateInfo
Returns
Type Description
Instance.StateInfo.Builder

setUpdateInfo(Instance.StateInfo.UpdateInfo.Builder builderForValue)

public Instance.StateInfo.Builder setUpdateInfo(Instance.StateInfo.UpdateInfo.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Instance.StateInfo.UpdateInfo.Builder
Returns
Type Description
Instance.StateInfo.Builder