Class Cluster.StateInfo.Builder (0.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Cluster.StateInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Cluster.StateInfo.Builder
Overrides

build()

public Cluster.StateInfo build()
Returns
TypeDescription
Cluster.StateInfo

buildPartial()

public Cluster.StateInfo buildPartial()
Returns
TypeDescription
Cluster.StateInfo

clear()

public Cluster.StateInfo.Builder clear()
Returns
TypeDescription
Cluster.StateInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Cluster.StateInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Cluster.StateInfo.Builder
Overrides

clearInfo()

public Cluster.StateInfo.Builder clearInfo()
Returns
TypeDescription
Cluster.StateInfo.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Cluster.StateInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Cluster.StateInfo.Builder

clone()

public Cluster.StateInfo.Builder clone()
Returns
TypeDescription
Cluster.StateInfo.Builder
Overrides

getDefaultInstanceForType()

public Cluster.StateInfo getDefaultInstanceForType()
Returns
TypeDescription
Cluster.StateInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInfoCase()

public Cluster.StateInfo.InfoCase getInfoCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateInfo field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Cluster.StateInfo other)

public Cluster.StateInfo.Builder mergeFrom(Cluster.StateInfo other)
Parameter
NameDescription
otherCluster.StateInfo
Returns
TypeDescription
Cluster.StateInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Cluster.StateInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Cluster.StateInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Cluster.StateInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Cluster.StateInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Cluster.StateInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCluster.StateInfo.UpdateInfo
Returns
TypeDescription
Cluster.StateInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Cluster.StateInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Cluster.StateInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Cluster.StateInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCluster.StateInfo.UpdateInfo
Returns
TypeDescription
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
NameDescription
builderForValueCluster.StateInfo.UpdateInfo.Builder
Returns
TypeDescription
Cluster.StateInfo.Builder