public static final class CreateWorkspaceRequest.Builder extends GeneratedMessageV3.Builder<CreateWorkspaceRequest.Builder> implements CreateWorkspaceRequestOrBuilder
CreateWorkspace
request message.
Protobuf type google.cloud.dataform.v1beta1.CreateWorkspaceRequest
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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public CreateWorkspaceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateWorkspaceRequest build()
Returns
public CreateWorkspaceRequest buildPartial()
Returns
public CreateWorkspaceRequest.Builder clear()
Returns
Overrides
public CreateWorkspaceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CreateWorkspaceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public CreateWorkspaceRequest.Builder clearParent()
Required. The repository in which to create the workspace. Must be in the format
projects/*/locations/*/repositories/*
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public CreateWorkspaceRequest.Builder clearWorkspace()
Required. The workspace to create.
.google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public CreateWorkspaceRequest.Builder clearWorkspaceId()
Required. The ID to use for the workspace, which will become the final component of
the workspace's resource name.
string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public CreateWorkspaceRequest.Builder clone()
Returns
Overrides
public CreateWorkspaceRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getParent()
Required. The repository in which to create the workspace. Must be in the format
projects/*/locations/*/repositories/*
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type |
Description |
String |
The parent.
|
public ByteString getParentBytes()
Required. The repository in which to create the workspace. Must be in the format
projects/*/locations/*/repositories/*
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public Workspace getWorkspace()
Required. The workspace to create.
.google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public Workspace.Builder getWorkspaceBuilder()
Required. The workspace to create.
.google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public String getWorkspaceId()
Required. The ID to use for the workspace, which will become the final component of
the workspace's resource name.
string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
String |
The workspaceId.
|
public ByteString getWorkspaceIdBytes()
Required. The ID to use for the workspace, which will become the final component of
the workspace's resource name.
string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
ByteString |
The bytes for workspaceId.
|
public WorkspaceOrBuilder getWorkspaceOrBuilder()
Required. The workspace to create.
.google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public boolean hasWorkspace()
Required. The workspace to create.
.google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
boolean |
Whether the workspace field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateWorkspaceRequest.Builder mergeFrom(CreateWorkspaceRequest other)
Parameter
Returns
public CreateWorkspaceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CreateWorkspaceRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final CreateWorkspaceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CreateWorkspaceRequest.Builder mergeWorkspace(Workspace value)
Required. The workspace to create.
.google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CreateWorkspaceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateWorkspaceRequest.Builder setParent(String value)
Required. The repository in which to create the workspace. Must be in the format
projects/*/locations/*/repositories/*
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name |
Description |
value |
String
The parent to set.
|
Returns
public CreateWorkspaceRequest.Builder setParentBytes(ByteString value)
Required. The repository in which to create the workspace. Must be in the format
projects/*/locations/*/repositories/*
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
Returns
public CreateWorkspaceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final CreateWorkspaceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CreateWorkspaceRequest.Builder setWorkspace(Workspace value)
Required. The workspace to create.
.google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CreateWorkspaceRequest.Builder setWorkspace(Workspace.Builder builderForValue)
Required. The workspace to create.
.google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CreateWorkspaceRequest.Builder setWorkspaceId(String value)
Required. The ID to use for the workspace, which will become the final component of
the workspace's resource name.
string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name |
Description |
value |
String
The workspaceId to set.
|
Returns
public CreateWorkspaceRequest.Builder setWorkspaceIdBytes(ByteString value)
Required. The ID to use for the workspace, which will become the final component of
the workspace's resource name.
string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name |
Description |
value |
ByteString
The bytes for workspaceId to set.
|
Returns