public static final class UpdateWorkstationConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateWorkstationConfigRequest.Builder> implements UpdateWorkstationConfigRequestOrBuilder
Request message for UpdateWorkstationConfig.
Protobuf type google.cloud.workstations.v1.UpdateWorkstationConfigRequest
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 UpdateWorkstationConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateWorkstationConfigRequest build()
buildPartial()
public UpdateWorkstationConfigRequest buildPartial()
clear()
public UpdateWorkstationConfigRequest.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public UpdateWorkstationConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateWorkstationConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
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];
clearWorkstationConfig()
public UpdateWorkstationConfigRequest.Builder clearWorkstationConfig()
Required. Config to update.
.google.cloud.workstations.v1.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public UpdateWorkstationConfigRequest.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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.v1.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];
getWorkstationConfigBuilder()
public WorkstationConfig.Builder getWorkstationConfigBuilder()
Required. Config to update.
.google.cloud.workstations.v1.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];
getWorkstationConfigOrBuilder()
public WorkstationConfigOrBuilder getWorkstationConfigOrBuilder()
Required. Config to update.
.google.cloud.workstations.v1.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];
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.v1.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the workstationConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateWorkstationConfigRequest other)
public UpdateWorkstationConfigRequest.Builder mergeFrom(UpdateWorkstationConfigRequest other)
public UpdateWorkstationConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateWorkstationConfigRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateWorkstationConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
mergeWorkstationConfig(WorkstationConfig value)
public UpdateWorkstationConfigRequest.Builder mergeWorkstationConfig(WorkstationConfig value)
Required. Config to update.
.google.cloud.workstations.v1.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateWorkstationConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateWorkstationConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateWorkstationConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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
|
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.
|
setWorkstationConfig(WorkstationConfig value)
public UpdateWorkstationConfigRequest.Builder setWorkstationConfig(WorkstationConfig value)
Required. Config to update.
.google.cloud.workstations.v1.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];
setWorkstationConfig(WorkstationConfig.Builder builderForValue)
public UpdateWorkstationConfigRequest.Builder setWorkstationConfig(WorkstationConfig.Builder builderForValue)
Required. Config to update.
.google.cloud.workstations.v1.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];