Send feedback
Class CreateWorkspaceRequest.Builder (0.2.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.2.1 keyboard_arrow_down
public static final class CreateWorkspaceRequest . Builder extends GeneratedMessageV3 . Builder<CreateWorkspaceRequest . Builder > implements CreateWorkspaceRequestOrBuilder
CreateWorkspace
request message.
Protobuf type google.cloud.dataform.v1beta1.CreateWorkspaceRequest
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-28 UTC."],[],[]]