public static final class Instance.StateInfo.UpdateInfo.Builder extends GeneratedMessageV3.Builder<Instance.StateInfo.UpdateInfo.Builder> implements Instance.StateInfo.UpdateInfoOrBuilderRepresents information about instance with state UPDATING.
 Protobuf type google.cloud.memorystore.v1.Instance.StateInfo.UpdateInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Instance.StateInfo.UpdateInfo.BuilderImplements
Instance.StateInfo.UpdateInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Instance.StateInfo.UpdateInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo.Builder | 
        |
build()
public Instance.StateInfo.UpdateInfo build()| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo | 
        |
buildPartial()
public Instance.StateInfo.UpdateInfo buildPartial()| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo | 
        |
clear()
public Instance.StateInfo.UpdateInfo.Builder clear()| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo.Builder | 
        |
clearField(Descriptors.FieldDescriptor field)
public Instance.StateInfo.UpdateInfo.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo.Builder | 
        |
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.StateInfo.UpdateInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo.Builder | 
        |
clearTargetEngineVersion()
public Instance.StateInfo.UpdateInfo.Builder clearTargetEngineVersion()Output only. Target engine version for the instance.
 
 optional string target_engine_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo.Builder | 
        This builder for chaining.  | 
      
clearTargetNodeType()
public Instance.StateInfo.UpdateInfo.Builder clearTargetNodeType()Output only. Target node type for the instance.
 
 optional .google.cloud.memorystore.v1.Instance.NodeType target_node_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo.Builder | 
        This builder for chaining.  | 
      
clearTargetReplicaCount()
public Instance.StateInfo.UpdateInfo.Builder clearTargetReplicaCount()Output only. Target number of replica nodes per shard for the instance.
 
 optional int32 target_replica_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo.Builder | 
        This builder for chaining.  | 
      
clearTargetShardCount()
public Instance.StateInfo.UpdateInfo.Builder clearTargetShardCount()Output only. Target number of shards for the instance.
 optional int32 target_shard_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo.Builder | 
        This builder for chaining.  | 
      
clone()
public Instance.StateInfo.UpdateInfo.Builder clone()| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo.Builder | 
        |
getDefaultInstanceForType()
public Instance.StateInfo.UpdateInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getTargetEngineVersion()
public String getTargetEngineVersion()Output only. Target engine version for the instance.
 
 optional string target_engine_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
String | 
        The targetEngineVersion.  | 
      
getTargetEngineVersionBytes()
public ByteString getTargetEngineVersionBytes()Output only. Target engine version for the instance.
 
 optional string target_engine_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for targetEngineVersion.  | 
      
getTargetNodeType()
public Instance.NodeType getTargetNodeType()Output only. Target node type for the instance.
 
 optional .google.cloud.memorystore.v1.Instance.NodeType target_node_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Instance.NodeType | 
        The targetNodeType.  | 
      
getTargetNodeTypeValue()
public int getTargetNodeTypeValue()Output only. Target node type for the instance.
 
 optional .google.cloud.memorystore.v1.Instance.NodeType target_node_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire for targetNodeType.  | 
      
getTargetReplicaCount()
public int getTargetReplicaCount()Output only. Target number of replica nodes per shard for the instance.
 
 optional int32 target_replica_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
int | 
        The targetReplicaCount.  | 
      
getTargetShardCount()
public int getTargetShardCount()Output only. Target number of shards for the instance.
 optional int32 target_shard_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
int | 
        The targetShardCount.  | 
      
hasTargetEngineVersion()
public boolean hasTargetEngineVersion()Output only. Target engine version for the instance.
 
 optional string target_engine_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the targetEngineVersion field is set.  | 
      
hasTargetNodeType()
public boolean hasTargetNodeType()Output only. Target node type for the instance.
 
 optional .google.cloud.memorystore.v1.Instance.NodeType target_node_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the targetNodeType field is set.  | 
      
hasTargetReplicaCount()
public boolean hasTargetReplicaCount()Output only. Target number of replica nodes per shard for the instance.
 
 optional int32 target_replica_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the targetReplicaCount field is set.  | 
      
hasTargetShardCount()
public boolean hasTargetShardCount()Output only. Target number of shards for the instance.
 optional int32 target_shard_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the targetShardCount field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(Instance.StateInfo.UpdateInfo other)
public Instance.StateInfo.UpdateInfo.Builder mergeFrom(Instance.StateInfo.UpdateInfo other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Instance.StateInfo.UpdateInfo | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Instance.StateInfo.UpdateInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public Instance.StateInfo.UpdateInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.StateInfo.UpdateInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo.Builder | 
        |
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.StateInfo.UpdateInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo.Builder | 
        |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Instance.StateInfo.UpdateInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo.Builder | 
        |
setTargetEngineVersion(String value)
public Instance.StateInfo.UpdateInfo.Builder setTargetEngineVersion(String value)Output only. Target engine version for the instance.
 
 optional string target_engine_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe targetEngineVersion to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo.Builder | 
        This builder for chaining.  | 
      
setTargetEngineVersionBytes(ByteString value)
public Instance.StateInfo.UpdateInfo.Builder setTargetEngineVersionBytes(ByteString value)Output only. Target engine version for the instance.
 
 optional string target_engine_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for targetEngineVersion to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo.Builder | 
        This builder for chaining.  | 
      
setTargetNodeType(Instance.NodeType value)
public Instance.StateInfo.UpdateInfo.Builder setTargetNodeType(Instance.NodeType value)Output only. Target node type for the instance.
 
 optional .google.cloud.memorystore.v1.Instance.NodeType target_node_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Instance.NodeTypeThe targetNodeType to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo.Builder | 
        This builder for chaining.  | 
      
setTargetNodeTypeValue(int value)
public Instance.StateInfo.UpdateInfo.Builder setTargetNodeTypeValue(int value)Output only. Target node type for the instance.
 
 optional .google.cloud.memorystore.v1.Instance.NodeType target_node_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for targetNodeType to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo.Builder | 
        This builder for chaining.  | 
      
setTargetReplicaCount(int value)
public Instance.StateInfo.UpdateInfo.Builder setTargetReplicaCount(int value)Output only. Target number of replica nodes per shard for the instance.
 
 optional int32 target_replica_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe targetReplicaCount to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo.Builder | 
        This builder for chaining.  | 
      
setTargetShardCount(int value)
public Instance.StateInfo.UpdateInfo.Builder setTargetShardCount(int value)Output only. Target number of shards for the instance.
 optional int32 target_shard_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe targetShardCount to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.StateInfo.UpdateInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Instance.StateInfo.UpdateInfo.Builder | 
        |