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.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
public static final Descriptors.Descriptor getDescriptor()
Methods
public CreateWorkspaceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateWorkspaceRequest build()
public CreateWorkspaceRequest buildPartial()
public CreateWorkspaceRequest.Builder clear()
Overrides
public CreateWorkspaceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CreateWorkspaceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
public CreateWorkspaceRequest.Builder clearWorkspace()
Required. The workspace to create.
.google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED];
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];
public CreateWorkspaceRequest.Builder clone()
Overrides
public CreateWorkspaceRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
ByteString |
The bytes for parent.
|
public Workspace getWorkspace()
Required. The workspace to create.
.google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Workspace |
The workspace.
|
public Workspace.Builder getWorkspaceBuilder()
Required. The workspace to create.
.google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED];
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];
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()
Overrides
public final boolean isInitialized()
Overrides
public CreateWorkspaceRequest.Builder mergeFrom(CreateWorkspaceRequest other)
public CreateWorkspaceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CreateWorkspaceRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final CreateWorkspaceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CreateWorkspaceRequest.Builder mergeWorkspace(Workspace value)
Required. The workspace to create.
.google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateWorkspaceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public CreateWorkspaceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final CreateWorkspaceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CreateWorkspaceRequest.Builder setWorkspace(Workspace value)
Required. The workspace to create.
.google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateWorkspaceRequest.Builder setWorkspace(Workspace.Builder builderForValue)
Required. The workspace to create.
.google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED];
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.
|
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.
|