public static final class UpdateClusterRequest.Builder extends GeneratedMessageV3.Builder<UpdateClusterRequest.Builder> implements UpdateClusterRequestOrBuilder
Request for UpdateCluster.
Protobuf type google.cloud.redis.cluster.v1beta1.UpdateClusterRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateClusterRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateClusterRequest build()
buildPartial()
public UpdateClusterRequest buildPartial()
clear()
public UpdateClusterRequest.Builder clear()
Overrides
clearCluster()
public UpdateClusterRequest.Builder clearCluster()
Required. Update description.
Only fields specified in update_mask are updated.
.google.cloud.redis.cluster.v1beta1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateClusterRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateClusterRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRequestId()
public UpdateClusterRequest.Builder clearRequestId()
Idempotent request UUID.
string request_id = 3;
clearUpdateMask()
public UpdateClusterRequest.Builder clearUpdateMask()
Required. Mask of fields to update. At least one path must be supplied in
this field. The elements of the repeated paths field may only include these
fields from Cluster:
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public UpdateClusterRequest.Builder clone()
Overrides
getCluster()
public Cluster getCluster()
Required. Update description.
Only fields specified in update_mask are updated.
.google.cloud.redis.cluster.v1beta1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Cluster |
The cluster.
|
getClusterBuilder()
public Cluster.Builder getClusterBuilder()
Required. Update description.
Only fields specified in update_mask are updated.
.google.cloud.redis.cluster.v1beta1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED];
getClusterOrBuilder()
public ClusterOrBuilder getClusterOrBuilder()
Required. Update description.
Only fields specified in update_mask are updated.
.google.cloud.redis.cluster.v1beta1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public UpdateClusterRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRequestId()
public String getRequestId()
Idempotent request UUID.
string request_id = 3;
Returns |
Type |
Description |
String |
The requestId.
|
getRequestIdBytes()
public ByteString getRequestIdBytes()
Idempotent request UUID.
string request_id = 3;
Returns |
Type |
Description |
ByteString |
The bytes for requestId.
|
getUpdateMask()
public FieldMask getUpdateMask()
Required. Mask of fields to update. At least one path must be supplied in
this field. The elements of the repeated paths field may only include these
fields from Cluster:
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Required. Mask of fields to update. At least one path must be supplied in
this field. The elements of the repeated paths field may only include these
fields from Cluster:
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. Mask of fields to update. At least one path must be supplied in
this field. The elements of the repeated paths field may only include these
fields from Cluster:
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
hasCluster()
public boolean hasCluster()
Required. Update description.
Only fields specified in update_mask are updated.
.google.cloud.redis.cluster.v1beta1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the cluster field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Required. Mask of fields to update. At least one path must be supplied in
this field. The elements of the repeated paths field may only include these
fields from Cluster:
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCluster(Cluster value)
public UpdateClusterRequest.Builder mergeCluster(Cluster value)
Required. Update description.
Only fields specified in update_mask are updated.
.google.cloud.redis.cluster.v1beta1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Cluster
|
mergeFrom(UpdateClusterRequest other)
public UpdateClusterRequest.Builder mergeFrom(UpdateClusterRequest other)
public UpdateClusterRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateClusterRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateClusterRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateClusterRequest.Builder mergeUpdateMask(FieldMask value)
Required. Mask of fields to update. At least one path must be supplied in
this field. The elements of the repeated paths field may only include these
fields from Cluster:
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
setCluster(Cluster value)
public UpdateClusterRequest.Builder setCluster(Cluster value)
Required. Update description.
Only fields specified in update_mask are updated.
.google.cloud.redis.cluster.v1beta1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Cluster
|
setCluster(Cluster.Builder builderForValue)
public UpdateClusterRequest.Builder setCluster(Cluster.Builder builderForValue)
Required. Update description.
Only fields specified in update_mask are updated.
.google.cloud.redis.cluster.v1beta1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateClusterRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateClusterRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRequestId(String value)
public UpdateClusterRequest.Builder setRequestId(String value)
Idempotent request UUID.
string request_id = 3;
Parameter |
Name |
Description |
value |
String
The requestId to set.
|
setRequestIdBytes(ByteString value)
public UpdateClusterRequest.Builder setRequestIdBytes(ByteString value)
Idempotent request UUID.
string request_id = 3;
Parameter |
Name |
Description |
value |
ByteString
The bytes for requestId to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateClusterRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateClusterRequest.Builder setUpdateMask(FieldMask value)
Required. Mask of fields to update. At least one path must be supplied in
this field. The elements of the repeated paths field may only include these
fields from Cluster:
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateClusterRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. Mask of fields to update. At least one path must be supplied in
this field. The elements of the repeated paths field may only include these
fields from Cluster:
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
builderForValue |
Builder
|