public static final class UpdateWorkstationRequest.Builder extends GeneratedMessage.Builder<UpdateWorkstationRequest.Builder> implements UpdateWorkstationRequestOrBuilderRequest message for UpdateWorkstation.
Protobuf type google.cloud.workstations.v1.UpdateWorkstationRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateWorkstationRequest.BuilderImplements
UpdateWorkstationRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateWorkstationRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateWorkstationRequest |
|
buildPartial()
public UpdateWorkstationRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateWorkstationRequest |
|
clear()
public UpdateWorkstationRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateWorkstationRequest.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
UpdateWorkstationRequest.Builder |
This builder for chaining. |
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];
| Returns | |
|---|---|
| Type | Description |
UpdateWorkstationRequest.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
UpdateWorkstationRequest.Builder |
This builder for chaining. |
clearWorkstation()
public UpdateWorkstationRequest.Builder clearWorkstation()Required. Workstation to update.
.google.cloud.workstations.v1.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateWorkstationRequest.Builder |
|
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()| Returns | |
|---|---|
| Type | Description |
UpdateWorkstationRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getWorkstation()
public Workstation getWorkstation()Required. Workstation to update.
.google.cloud.workstations.v1.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Workstation |
The workstation. |
getWorkstationBuilder()
public Workstation.Builder getWorkstationBuilder()Required. Workstation to update.
.google.cloud.workstations.v1.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Workstation.Builder |
|
getWorkstationOrBuilder()
public WorkstationOrBuilder getWorkstationOrBuilder()Required. Workstation to update.
.google.cloud.workstations.v1.Workstation workstation = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
WorkstationOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UpdateWorkstationRequest other)
public UpdateWorkstationRequest.Builder mergeFrom(UpdateWorkstationRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateWorkstationRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateWorkstationRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateWorkstationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateWorkstationRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateWorkstationRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateWorkstationRequest.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateWorkstationRequest.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Workstation |
| Returns | |
|---|---|
| Type | Description |
UpdateWorkstationRequest.Builder |
|
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 |
booleanThe allowMissing to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateWorkstationRequest.Builder |
This builder for chaining. |
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];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateWorkstationRequest.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
UpdateWorkstationRequest.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 |
booleanThe validateOnly to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateWorkstationRequest.Builder |
This builder for chaining. |
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Workstation |
| Returns | |
|---|---|
| Type | Description |
UpdateWorkstationRequest.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Workstation.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateWorkstationRequest.Builder |
|