public static final class CreateWorkstationClusterRequest.Builder extends GeneratedMessageV3.Builder<CreateWorkstationClusterRequest.Builder> implements CreateWorkstationClusterRequestOrBuilder
Message for creating a CreateWorkstationCluster.
Protobuf type google.cloud.workstations.v1.CreateWorkstationClusterRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateWorkstationClusterRequest.BuilderImplements
CreateWorkstationClusterRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateWorkstationClusterRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest.Builder |
build()
public CreateWorkstationClusterRequest build()
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest |
buildPartial()
public CreateWorkstationClusterRequest buildPartial()
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest |
clear()
public CreateWorkstationClusterRequest.Builder clear()
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateWorkstationClusterRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateWorkstationClusterRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest.Builder |
clearParent()
public CreateWorkstationClusterRequest.Builder clearParent()
Required. Parent resource name.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest.Builder | This builder for chaining. |
clearValidateOnly()
public CreateWorkstationClusterRequest.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 |
CreateWorkstationClusterRequest.Builder | This builder for chaining. |
clearWorkstationCluster()
public CreateWorkstationClusterRequest.Builder clearWorkstationCluster()
Required. Workstation cluster to create.
.google.cloud.workstations.v1.WorkstationCluster workstation_cluster = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest.Builder |
clearWorkstationClusterId()
public CreateWorkstationClusterRequest.Builder clearWorkstationClusterId()
Required. ID to use for the workstation cluster.
string workstation_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest.Builder | This builder for chaining. |
clone()
public CreateWorkstationClusterRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest.Builder |
getDefaultInstanceForType()
public CreateWorkstationClusterRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest |
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. |
getWorkstationCluster()
public WorkstationCluster getWorkstationCluster()
Required. Workstation cluster to create.
.google.cloud.workstations.v1.WorkstationCluster workstation_cluster = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
WorkstationCluster | The workstationCluster. |
getWorkstationClusterBuilder()
public WorkstationCluster.Builder getWorkstationClusterBuilder()
Required. Workstation cluster to create.
.google.cloud.workstations.v1.WorkstationCluster workstation_cluster = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder |
getWorkstationClusterId()
public String getWorkstationClusterId()
Required. ID to use for the workstation cluster.
string workstation_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String | The workstationClusterId. |
getWorkstationClusterIdBytes()
public ByteString getWorkstationClusterIdBytes()
Required. ID to use for the workstation cluster.
string workstation_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for workstationClusterId. |
getWorkstationClusterOrBuilder()
public WorkstationClusterOrBuilder getWorkstationClusterOrBuilder()
Required. Workstation cluster to create.
.google.cloud.workstations.v1.WorkstationCluster workstation_cluster = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
WorkstationClusterOrBuilder |
hasWorkstationCluster()
public boolean hasWorkstationCluster()
Required. Workstation cluster to create.
.google.cloud.workstations.v1.WorkstationCluster workstation_cluster = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean | Whether the workstationCluster field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CreateWorkstationClusterRequest other)
public CreateWorkstationClusterRequest.Builder mergeFrom(CreateWorkstationClusterRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateWorkstationClusterRequest |
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateWorkstationClusterRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CreateWorkstationClusterRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateWorkstationClusterRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest.Builder |
mergeWorkstationCluster(WorkstationCluster value)
public CreateWorkstationClusterRequest.Builder mergeWorkstationCluster(WorkstationCluster value)
Required. Workstation cluster to create.
.google.cloud.workstations.v1.WorkstationCluster workstation_cluster = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | WorkstationCluster |
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateWorkstationClusterRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest.Builder |
setParent(String value)
public CreateWorkstationClusterRequest.Builder setParent(String value)
Required. Parent resource name.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The parent to set. |
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public CreateWorkstationClusterRequest.Builder setParentBytes(ByteString value)
Required. Parent resource name.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateWorkstationClusterRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateWorkstationClusterRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest.Builder |
setValidateOnly(boolean value)
public CreateWorkstationClusterRequest.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 | boolean The validateOnly to set. |
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest.Builder | This builder for chaining. |
setWorkstationCluster(WorkstationCluster value)
public CreateWorkstationClusterRequest.Builder setWorkstationCluster(WorkstationCluster value)
Required. Workstation cluster to create.
.google.cloud.workstations.v1.WorkstationCluster workstation_cluster = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | WorkstationCluster |
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest.Builder |
setWorkstationCluster(WorkstationCluster.Builder builderForValue)
public CreateWorkstationClusterRequest.Builder setWorkstationCluster(WorkstationCluster.Builder builderForValue)
Required. Workstation cluster to create.
.google.cloud.workstations.v1.WorkstationCluster workstation_cluster = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue | WorkstationCluster.Builder |
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest.Builder |
setWorkstationClusterId(String value)
public CreateWorkstationClusterRequest.Builder setWorkstationClusterId(String value)
Required. ID to use for the workstation cluster.
string workstation_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | String The workstationClusterId to set. |
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest.Builder | This builder for chaining. |
setWorkstationClusterIdBytes(ByteString value)
public CreateWorkstationClusterRequest.Builder setWorkstationClusterIdBytes(ByteString value)
Required. ID to use for the workstation cluster.
string workstation_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for workstationClusterId to set. |
Returns | |
---|---|
Type | Description |
CreateWorkstationClusterRequest.Builder | This builder for chaining. |