- 0.66.0 (latest)
- 0.64.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.60.0
- 0.58.0
- 0.56.0
- 0.55.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class CreateWorkstationRequest.Builder extends GeneratedMessageV3.Builder<CreateWorkstationRequest.Builder> implements CreateWorkstationRequestOrBuilderMessage for creating a CreateWorkstation.
 Protobuf type google.cloud.workstations.v1.CreateWorkstationRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateWorkstationRequest.BuilderImplements
CreateWorkstationRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateWorkstationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | |
build()
public CreateWorkstationRequest build()| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest | |
buildPartial()
public CreateWorkstationRequest buildPartial()| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest | |
clear()
public CreateWorkstationRequest.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | |
clearField(Descriptors.FieldDescriptor field)
public CreateWorkstationRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateWorkstationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | |
clearParent()
public CreateWorkstationRequest.Builder clearParent()Required. Parent resource name.
 
 string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | This builder for chaining. | 
clearValidateOnly()
public CreateWorkstationRequest.Builder clearValidateOnly()Optional. If set, validate the request and preview the review, but do not actually apply it.
 bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | This builder for chaining. | 
clearWorkstation()
public CreateWorkstationRequest.Builder clearWorkstation()Required. Workstation to create.
 
 .google.cloud.workstations.v1.Workstation workstation = 3 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | |
clearWorkstationId()
public CreateWorkstationRequest.Builder clearWorkstationId()Required. ID to use for the workstation.
 string workstation_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | This builder for chaining. | 
clone()
public CreateWorkstationRequest.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | |
getDefaultInstanceForType()
public CreateWorkstationRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getParent()
public String getParent()Required. Parent resource name.
 
 string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| String | The parent. | 
getParentBytes()
public ByteString getParentBytes()Required. Parent resource name.
 
 string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for parent. | 
getValidateOnly()
public boolean getValidateOnly()Optional. If set, validate the request and preview the review, but do not actually apply it.
 bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| boolean | The validateOnly. | 
getWorkstation()
public Workstation getWorkstation()Required. Workstation to create.
 
 .google.cloud.workstations.v1.Workstation workstation = 3 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| Workstation | The workstation. | 
getWorkstationBuilder()
public Workstation.Builder getWorkstationBuilder()Required. Workstation to create.
 
 .google.cloud.workstations.v1.Workstation workstation = 3 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| Workstation.Builder | |
getWorkstationId()
public String getWorkstationId()Required. ID to use for the workstation.
 string workstation_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| String | The workstationId. | 
getWorkstationIdBytes()
public ByteString getWorkstationIdBytes()Required. ID to use for the workstation.
 string workstation_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for workstationId. | 
getWorkstationOrBuilder()
public WorkstationOrBuilder getWorkstationOrBuilder()Required. Workstation to create.
 
 .google.cloud.workstations.v1.Workstation workstation = 3 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| WorkstationOrBuilder | |
hasWorkstation()
public boolean hasWorkstation()Required. Workstation to create.
 
 .google.cloud.workstations.v1.Workstation workstation = 3 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the workstation field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeFrom(CreateWorkstationRequest other)
public CreateWorkstationRequest.Builder mergeFrom(CreateWorkstationRequest other)| Parameter | |
|---|---|
| Name | Description | 
| other | CreateWorkstationRequest | 
| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateWorkstationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public CreateWorkstationRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateWorkstationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | |
mergeWorkstation(Workstation value)
public CreateWorkstationRequest.Builder mergeWorkstation(Workstation value)Required. Workstation to create.
 
 .google.cloud.workstations.v1.Workstation workstation = 3 [(.google.api.field_behavior) = REQUIRED];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Workstation | 
| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateWorkstationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | |
setParent(String value)
public CreateWorkstationRequest.Builder setParent(String value)Required. Parent resource name.
 
 string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe parent to set. | 
| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | This builder for chaining. | 
setParentBytes(ByteString value)
public CreateWorkstationRequest.Builder setParentBytes(ByteString value)Required. Parent resource name.
 
 string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for parent to set. | 
| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateWorkstationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateWorkstationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | |
setValidateOnly(boolean value)
public CreateWorkstationRequest.Builder setValidateOnly(boolean value)Optional. If set, validate the request and preview the review, but do not actually apply it.
 bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | booleanThe validateOnly to set. | 
| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | This builder for chaining. | 
setWorkstation(Workstation value)
public CreateWorkstationRequest.Builder setWorkstation(Workstation value)Required. Workstation to create.
 
 .google.cloud.workstations.v1.Workstation workstation = 3 [(.google.api.field_behavior) = REQUIRED];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Workstation | 
| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | |
setWorkstation(Workstation.Builder builderForValue)
public CreateWorkstationRequest.Builder setWorkstation(Workstation.Builder builderForValue)Required. Workstation to create.
 
 .google.cloud.workstations.v1.Workstation workstation = 3 [(.google.api.field_behavior) = REQUIRED];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Workstation.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | |
setWorkstationId(String value)
public CreateWorkstationRequest.Builder setWorkstationId(String value)Required. ID to use for the workstation.
 string workstation_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe workstationId to set. | 
| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | This builder for chaining. | 
setWorkstationIdBytes(ByteString value)
public CreateWorkstationRequest.Builder setWorkstationIdBytes(ByteString value)Required. ID to use for the workstation.
 string workstation_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for workstationId to set. | 
| Returns | |
|---|---|
| Type | Description | 
| CreateWorkstationRequest.Builder | This builder for chaining. |