Class UpdateWorkstationConfigRequest.Builder (0.32.0)

public static final class UpdateWorkstationConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateWorkstationConfigRequest.Builder> implements UpdateWorkstationConfigRequestOrBuilder

Request message for UpdateWorkstationConfig.

Protobuf type google.cloud.workstations.v1beta.UpdateWorkstationConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateWorkstationConfigRequest build()
Returns
Type Description
UpdateWorkstationConfigRequest

buildPartial()

public UpdateWorkstationConfigRequest buildPartial()
Returns
Type Description
UpdateWorkstationConfigRequest

clear()

public UpdateWorkstationConfigRequest.Builder clear()
Returns
Type Description
UpdateWorkstationConfigRequest.Builder
Overrides

clearAllowMissing()

public UpdateWorkstationConfigRequest.Builder clearAllowMissing()

Optional. If set and the workstation configuration is not found, a new workstation configuration will be created. In this situation, update_mask is ignored.

bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateWorkstationConfigRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateWorkstationConfigRequest.Builder clearUpdateMask()

Required. Mask specifying which fields in the workstation configuration should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateWorkstationConfigRequest.Builder

clearValidateOnly()

public UpdateWorkstationConfigRequest.Builder clearValidateOnly()

Optional. If set, validate the request and preview the review, but do not actually apply it.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateWorkstationConfigRequest.Builder

This builder for chaining.

clearWorkstationConfig()

public UpdateWorkstationConfigRequest.Builder clearWorkstationConfig()

Required. Config to update.

.google.cloud.workstations.v1beta.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateWorkstationConfigRequest.Builder

clone()

public UpdateWorkstationConfigRequest.Builder clone()
Returns
Type Description
UpdateWorkstationConfigRequest.Builder
Overrides

getAllowMissing()

public boolean getAllowMissing()

Optional. If set and the workstation configuration is not found, a new workstation configuration will be created. In this situation, update_mask is ignored.

bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The allowMissing.

getDefaultInstanceForType()

public UpdateWorkstationConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateWorkstationConfigRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

Required. Mask specifying which fields in the workstation configuration 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 specifying which fields in the workstation configuration should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Mask specifying which fields in the workstation configuration should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

getValidateOnly()

public boolean getValidateOnly()

Optional. If set, validate the request and preview the review, but do not actually apply it.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

getWorkstationConfig()

public WorkstationConfig getWorkstationConfig()

Required. Config to update.

.google.cloud.workstations.v1beta.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WorkstationConfig

The workstationConfig.

getWorkstationConfigBuilder()

public WorkstationConfig.Builder getWorkstationConfigBuilder()

Required. Config to update.

.google.cloud.workstations.v1beta.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WorkstationConfig.Builder

getWorkstationConfigOrBuilder()

public WorkstationConfigOrBuilder getWorkstationConfigOrBuilder()

Required. Config to update.

.google.cloud.workstations.v1beta.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WorkstationConfigOrBuilder

hasUpdateMask()

public boolean hasUpdateMask()

Required. Mask specifying which fields in the workstation configuration should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

hasWorkstationConfig()

public boolean hasWorkstationConfig()

Required. Config to update.

.google.cloud.workstations.v1beta.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the workstationConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateWorkstationConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateWorkstationConfigRequest.Builder mergeUpdateMask(FieldMask value)

Required. Mask specifying which fields in the workstation configuration should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateWorkstationConfigRequest.Builder

mergeWorkstationConfig(WorkstationConfig value)

public UpdateWorkstationConfigRequest.Builder mergeWorkstationConfig(WorkstationConfig value)

Required. Config to update.

.google.cloud.workstations.v1beta.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value WorkstationConfig
Returns
Type Description
UpdateWorkstationConfigRequest.Builder

setAllowMissing(boolean value)

public UpdateWorkstationConfigRequest.Builder setAllowMissing(boolean value)

Optional. If set and the workstation configuration is not found, a new workstation configuration will be created. In this situation, update_mask is ignored.

bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The allowMissing to set.

Returns
Type Description
UpdateWorkstationConfigRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateWorkstationConfigRequest.Builder setUpdateMask(FieldMask value)

Required. Mask specifying which fields in the workstation configuration should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateWorkstationConfigRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateWorkstationConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Mask specifying which fields in the workstation configuration should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateWorkstationConfigRequest.Builder

setValidateOnly(boolean value)

public UpdateWorkstationConfigRequest.Builder setValidateOnly(boolean value)

Optional. If set, validate the request and preview the review, but do not actually apply it.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
UpdateWorkstationConfigRequest.Builder

This builder for chaining.

setWorkstationConfig(WorkstationConfig value)

public UpdateWorkstationConfigRequest.Builder setWorkstationConfig(WorkstationConfig value)

Required. Config to update.

.google.cloud.workstations.v1beta.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value WorkstationConfig
Returns
Type Description
UpdateWorkstationConfigRequest.Builder

setWorkstationConfig(WorkstationConfig.Builder builderForValue)

public UpdateWorkstationConfigRequest.Builder setWorkstationConfig(WorkstationConfig.Builder builderForValue)

Required. Config to update.

.google.cloud.workstations.v1beta.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue WorkstationConfig.Builder
Returns
Type Description
UpdateWorkstationConfigRequest.Builder