Class FetchCurrentWorkspaceBranchRequest.Builder (0.98.0)

public static final class FetchCurrentWorkspaceBranchRequest.Builder extends GeneratedMessage.Builder<FetchCurrentWorkspaceBranchRequest.Builder> implements FetchCurrentWorkspaceBranchRequestOrBuilder

Request message for FetchCurrentWorkspaceBranch method.

Protobuf type google.cloud.dataform.v1beta1.FetchCurrentWorkspaceBranchRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public FetchCurrentWorkspaceBranchRequest build()
Returns
Type Description
FetchCurrentWorkspaceBranchRequest

buildPartial()

public FetchCurrentWorkspaceBranchRequest buildPartial()
Returns
Type Description
FetchCurrentWorkspaceBranchRequest

clear()

public FetchCurrentWorkspaceBranchRequest.Builder clear()
Returns
Type Description
FetchCurrentWorkspaceBranchRequest.Builder
Overrides

clearName()

public FetchCurrentWorkspaceBranchRequest.Builder clearName()

Required. The workspace resource name. Format: projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
FetchCurrentWorkspaceBranchRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public FetchCurrentWorkspaceBranchRequest getDefaultInstanceForType()
Returns
Type Description
FetchCurrentWorkspaceBranchRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The workspace resource name. Format: projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The workspace resource name. Format: projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchCurrentWorkspaceBranchRequest other)

public FetchCurrentWorkspaceBranchRequest.Builder mergeFrom(FetchCurrentWorkspaceBranchRequest other)
Parameter
Name Description
other FetchCurrentWorkspaceBranchRequest
Returns
Type Description
FetchCurrentWorkspaceBranchRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FetchCurrentWorkspaceBranchRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchCurrentWorkspaceBranchRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FetchCurrentWorkspaceBranchRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FetchCurrentWorkspaceBranchRequest.Builder
Overrides

setName(String value)

public FetchCurrentWorkspaceBranchRequest.Builder setName(String value)

Required. The workspace resource name. Format: projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
FetchCurrentWorkspaceBranchRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public FetchCurrentWorkspaceBranchRequest.Builder setNameBytes(ByteString value)

Required. The workspace resource name. Format: projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
FetchCurrentWorkspaceBranchRequest.Builder

This builder for chaining.