public static final class UpdateWorkstationClusterRequest.Builder extends GeneratedMessageV3.Builder<UpdateWorkstationClusterRequest.Builder> implements UpdateWorkstationClusterRequestOrBuilder
Request message for UpdateWorkstationCluster.
Protobuf type google.cloud.workstations.v1beta.UpdateWorkstationClusterRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 UpdateWorkstationClusterRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateWorkstationClusterRequest build()
buildPartial()
public UpdateWorkstationClusterRequest buildPartial()
clear()
public UpdateWorkstationClusterRequest.Builder clear()
Overrides
clearAllowMissing()
public UpdateWorkstationClusterRequest.Builder clearAllowMissing()
If set, and the workstation cluster is not found, a new workstation
cluster will be created. In this situation, update_mask is ignored.
bool allow_missing = 4;
clearField(Descriptors.FieldDescriptor field)
public UpdateWorkstationClusterRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateWorkstationClusterRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateWorkstationClusterRequest.Builder clearUpdateMask()
Required. Mask that specifies which fields in the workstation cluster
should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
clearValidateOnly()
public UpdateWorkstationClusterRequest.Builder clearValidateOnly()
If set, validate the request and preview the review, but do not actually
apply it.
bool validate_only = 3;
clearWorkstationCluster()
public UpdateWorkstationClusterRequest.Builder clearWorkstationCluster()
Required. Workstation cluster to update.
.google.cloud.workstations.v1beta.WorkstationCluster workstation_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public UpdateWorkstationClusterRequest.Builder clone()
Overrides
getAllowMissing()
public boolean getAllowMissing()
If set, and the workstation cluster is not found, a new workstation
cluster will be created. In this situation, update_mask is ignored.
bool allow_missing = 4;
Returns |
---|
Type | Description |
boolean | The allowMissing.
|
getDefaultInstanceForType()
public UpdateWorkstationClusterRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
Required. Mask that specifies which fields in the workstation cluster
should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
FieldMask | The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Required. Mask that specifies which fields in the workstation cluster
should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. Mask that specifies which fields in the workstation cluster
should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
getValidateOnly()
public boolean getValidateOnly()
If set, validate the request and preview the review, but do not actually
apply it.
bool validate_only = 3;
Returns |
---|
Type | Description |
boolean | The validateOnly.
|
getWorkstationCluster()
public WorkstationCluster getWorkstationCluster()
Required. Workstation cluster to update.
.google.cloud.workstations.v1beta.WorkstationCluster workstation_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
getWorkstationClusterBuilder()
public WorkstationCluster.Builder getWorkstationClusterBuilder()
Required. Workstation cluster to update.
.google.cloud.workstations.v1beta.WorkstationCluster workstation_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
getWorkstationClusterOrBuilder()
public WorkstationClusterOrBuilder getWorkstationClusterOrBuilder()
Required. Workstation cluster to update.
.google.cloud.workstations.v1beta.WorkstationCluster workstation_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
hasUpdateMask()
public boolean hasUpdateMask()
Required. Mask that specifies which fields in the workstation cluster
should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the updateMask field is set.
|
hasWorkstationCluster()
public boolean hasWorkstationCluster()
Required. Workstation cluster to update.
.google.cloud.workstations.v1beta.WorkstationCluster workstation_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the workstationCluster field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateWorkstationClusterRequest other)
public UpdateWorkstationClusterRequest.Builder mergeFrom(UpdateWorkstationClusterRequest other)
public UpdateWorkstationClusterRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateWorkstationClusterRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateWorkstationClusterRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateWorkstationClusterRequest.Builder mergeUpdateMask(FieldMask value)
Required. Mask that specifies which fields in the workstation cluster
should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
mergeWorkstationCluster(WorkstationCluster value)
public UpdateWorkstationClusterRequest.Builder mergeWorkstationCluster(WorkstationCluster value)
Required. Workstation cluster to update.
.google.cloud.workstations.v1beta.WorkstationCluster workstation_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
setAllowMissing(boolean value)
public UpdateWorkstationClusterRequest.Builder setAllowMissing(boolean value)
If set, and the workstation cluster is not found, a new workstation
cluster will be created. In this situation, update_mask is ignored.
bool allow_missing = 4;
Parameter |
---|
Name | Description |
value | boolean
The allowMissing to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateWorkstationClusterRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateWorkstationClusterRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateWorkstationClusterRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateWorkstationClusterRequest.Builder setUpdateMask(FieldMask value)
Required. Mask that specifies which fields in the workstation cluster
should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateWorkstationClusterRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. Mask that specifies which fields in the workstation cluster
should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setValidateOnly(boolean value)
public UpdateWorkstationClusterRequest.Builder setValidateOnly(boolean value)
If set, validate the request and preview the review, but do not actually
apply it.
bool validate_only = 3;
Parameter |
---|
Name | Description |
value | boolean
The validateOnly to set.
|
setWorkstationCluster(WorkstationCluster value)
public UpdateWorkstationClusterRequest.Builder setWorkstationCluster(WorkstationCluster value)
Required. Workstation cluster to update.
.google.cloud.workstations.v1beta.WorkstationCluster workstation_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
setWorkstationCluster(WorkstationCluster.Builder builderForValue)
public UpdateWorkstationClusterRequest.Builder setWorkstationCluster(WorkstationCluster.Builder builderForValue)
Required. Workstation cluster to update.
.google.cloud.workstations.v1beta.WorkstationCluster workstation_cluster = 1 [(.google.api.field_behavior) = REQUIRED];