Class CreateWorkspaceRequest (0.2.1)

public final class CreateWorkspaceRequest extends GeneratedMessageV3 implements CreateWorkspaceRequestOrBuilder

CreateWorkspace request message.

Protobuf type google.cloud.dataform.v1alpha2.CreateWorkspaceRequest

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

WORKSPACE_FIELD_NUMBER

public static final int WORKSPACE_FIELD_NUMBER
Field Value
TypeDescription
int

WORKSPACE_ID_FIELD_NUMBER

public static final int WORKSPACE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateWorkspaceRequest getDefaultInstance()
Returns
TypeDescription
CreateWorkspaceRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CreateWorkspaceRequest.Builder newBuilder()
Returns
TypeDescription
CreateWorkspaceRequest.Builder

newBuilder(CreateWorkspaceRequest prototype)

public static CreateWorkspaceRequest.Builder newBuilder(CreateWorkspaceRequest prototype)
Parameter
NameDescription
prototypeCreateWorkspaceRequest
Returns
TypeDescription
CreateWorkspaceRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateWorkspaceRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateWorkspaceRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateWorkspaceRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateWorkspaceRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateWorkspaceRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateWorkspaceRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateWorkspaceRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateWorkspaceRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateWorkspaceRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateWorkspaceRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateWorkspaceRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateWorkspaceRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateWorkspaceRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateWorkspaceRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateWorkspaceRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateWorkspaceRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateWorkspaceRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateWorkspaceRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateWorkspaceRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateWorkspaceRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateWorkspaceRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateWorkspaceRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateWorkspaceRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateWorkspaceRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateWorkspaceRequest> parser()
Returns
TypeDescription
Parser<CreateWorkspaceRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CreateWorkspaceRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateWorkspaceRequest

getParent()

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
TypeDescription
String

The parent.

getParentBytes()

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
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<CreateWorkspaceRequest> getParserForType()
Returns
TypeDescription
Parser<CreateWorkspaceRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getWorkspace()

public Workspace getWorkspace()

Required. The workspace to create.

.google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Workspace

The workspace.

getWorkspaceId()

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
TypeDescription
String

The workspaceId.

getWorkspaceIdBytes()

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
TypeDescription
ByteString

The bytes for workspaceId.

getWorkspaceOrBuilder()

public WorkspaceOrBuilder getWorkspaceOrBuilder()

Required. The workspace to create.

.google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
WorkspaceOrBuilder

hasWorkspace()

public boolean hasWorkspace()

Required. The workspace to create.

.google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the workspace field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateWorkspaceRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateWorkspaceRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateWorkspaceRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateWorkspaceRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateWorkspaceRequest.Builder toBuilder()
Returns
TypeDescription
CreateWorkspaceRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException