public static final class UpdateWorkstationRequest.Builder extends GeneratedMessageV3.Builder<UpdateWorkstationRequest.Builder> implements UpdateWorkstationRequestOrBuilder
Request message for UpdateWorkstation.
Protobuf type google.cloud.workstations.v1.UpdateWorkstationRequest
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 UpdateWorkstationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateWorkstationRequest build()
buildPartial()
public UpdateWorkstationRequest buildPartial()
clear()
public UpdateWorkstationRequest.Builder clear()
Overrides
clearAllowMissing()
public UpdateWorkstationRequest.Builder clearAllowMissing()
Optional. If set and the workstation configuration is not found, a new
workstation configuration is created. In this situation, update_mask
is ignored.
bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public UpdateWorkstationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateWorkstationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateWorkstationRequest.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 UpdateWorkstationRequest.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];
clearWorkstation()
public UpdateWorkstationRequest.Builder clearWorkstation()
Required. Workstation to update.
.google.cloud.workstations.v1.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public UpdateWorkstationRequest.Builder clone()
Overrides
getAllowMissing()
public boolean getAllowMissing()
Optional. If set and the workstation configuration is not found, a new
workstation configuration is 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 UpdateWorkstationRequest 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.
|
getWorkstation()
public Workstation getWorkstation()
Required. Workstation to update.
.google.cloud.workstations.v1.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
getWorkstationBuilder()
public Workstation.Builder getWorkstationBuilder()
Required. Workstation to update.
.google.cloud.workstations.v1.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
getWorkstationOrBuilder()
public WorkstationOrBuilder getWorkstationOrBuilder()
Required. Workstation to update.
.google.cloud.workstations.v1.Workstation workstation = 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.
|
hasWorkstation()
public boolean hasWorkstation()
Required. Workstation to update.
.google.cloud.workstations.v1.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the workstation field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateWorkstationRequest other)
public UpdateWorkstationRequest.Builder mergeFrom(UpdateWorkstationRequest other)
public UpdateWorkstationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateWorkstationRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateWorkstationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateWorkstationRequest.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];
mergeWorkstation(Workstation value)
public UpdateWorkstationRequest.Builder mergeWorkstation(Workstation value)
Required. Workstation to update.
.google.cloud.workstations.v1.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
setAllowMissing(boolean value)
public UpdateWorkstationRequest.Builder setAllowMissing(boolean value)
Optional. If set and the workstation configuration is not found, a new
workstation configuration is 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 UpdateWorkstationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateWorkstationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateWorkstationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateWorkstationRequest.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 UpdateWorkstationRequest.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 UpdateWorkstationRequest.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.
|
setWorkstation(Workstation value)
public UpdateWorkstationRequest.Builder setWorkstation(Workstation value)
Required. Workstation to update.
.google.cloud.workstations.v1.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
setWorkstation(Workstation.Builder builderForValue)
public UpdateWorkstationRequest.Builder setWorkstation(Workstation.Builder builderForValue)
Required. Workstation to update.
.google.cloud.workstations.v1.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];