Class Cluster.StateInfo.Builder (0.14.0)

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

Represents additional information about the state of the cluster.

Protobuf type google.cloud.redis.cluster.v1.Cluster.StateInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInfo()

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateInfo()

public Cluster.StateInfo.Builder clearUpdateInfo()

Describes ongoing update on the cluster when cluster state is UPDATING.

.google.cloud.redis.cluster.v1.Cluster.StateInfo.UpdateInfo update_info = 1;

Returns
Type Description
Cluster.StateInfo.Builder

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getInfoCase()

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

getUpdateInfo()

public Cluster.StateInfo.UpdateInfo getUpdateInfo()

Describes ongoing update on the cluster when cluster state is UPDATING.

.google.cloud.redis.cluster.v1.Cluster.StateInfo.UpdateInfo update_info = 1;

Returns
Type Description
Cluster.StateInfo.UpdateInfo

The updateInfo.

getUpdateInfoBuilder()

public Cluster.StateInfo.UpdateInfo.Builder getUpdateInfoBuilder()

Describes ongoing update on the cluster when cluster state is UPDATING.

.google.cloud.redis.cluster.v1.Cluster.StateInfo.UpdateInfo update_info = 1;

Returns
Type Description
Cluster.StateInfo.UpdateInfo.Builder

getUpdateInfoOrBuilder()

public Cluster.StateInfo.UpdateInfoOrBuilder getUpdateInfoOrBuilder()

Describes ongoing update on the cluster when cluster state is UPDATING.

.google.cloud.redis.cluster.v1.Cluster.StateInfo.UpdateInfo update_info = 1;

Returns
Type Description
Cluster.StateInfo.UpdateInfoOrBuilder

hasUpdateInfo()

public boolean hasUpdateInfo()

Describes ongoing update on the cluster when cluster state is UPDATING.

.google.cloud.redis.cluster.v1.Cluster.StateInfo.UpdateInfo update_info = 1;

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(Cluster.StateInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateInfo(Cluster.StateInfo.UpdateInfo value)

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

Describes ongoing update on the cluster when cluster state is UPDATING.

.google.cloud.redis.cluster.v1.Cluster.StateInfo.UpdateInfo update_info = 1;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateInfo(Cluster.StateInfo.UpdateInfo value)

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

Describes ongoing update on the cluster when cluster state is UPDATING.

.google.cloud.redis.cluster.v1.Cluster.StateInfo.UpdateInfo update_info = 1;

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

setUpdateInfo(Cluster.StateInfo.UpdateInfo.Builder builderForValue)

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

Describes ongoing update on the cluster when cluster state is UPDATING.

.google.cloud.redis.cluster.v1.Cluster.StateInfo.UpdateInfo update_info = 1;

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