Class FetchCurrentWorkspaceBranchResponse.Builder (0.98.0)

public static final class FetchCurrentWorkspaceBranchResponse.Builder extends GeneratedMessage.Builder<FetchCurrentWorkspaceBranchResponse.Builder> implements FetchCurrentWorkspaceBranchResponseOrBuilder

Response message for FetchCurrentWorkspaceBranch method.

Protobuf type google.cloud.dataform.v1beta1.FetchCurrentWorkspaceBranchResponse

Static Methods

getDescriptor()

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

Methods

build()

public FetchCurrentWorkspaceBranchResponse build()
Returns
Type Description
FetchCurrentWorkspaceBranchResponse

buildPartial()

public FetchCurrentWorkspaceBranchResponse buildPartial()
Returns
Type Description
FetchCurrentWorkspaceBranchResponse

clear()

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

clearBranchName()

public FetchCurrentWorkspaceBranchResponse.Builder clearBranchName()

The name of the current branch for the workspace.

string branch_name = 1;

Returns
Type Description
FetchCurrentWorkspaceBranchResponse.Builder

This builder for chaining.

getBranchName()

public String getBranchName()

The name of the current branch for the workspace.

string branch_name = 1;

Returns
Type Description
String

The branchName.

getBranchNameBytes()

public ByteString getBranchNameBytes()

The name of the current branch for the workspace.

string branch_name = 1;

Returns
Type Description
ByteString

The bytes for branchName.

getDefaultInstanceForType()

public FetchCurrentWorkspaceBranchResponse getDefaultInstanceForType()
Returns
Type Description
FetchCurrentWorkspaceBranchResponse

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchCurrentWorkspaceBranchResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setBranchName(String value)

public FetchCurrentWorkspaceBranchResponse.Builder setBranchName(String value)

The name of the current branch for the workspace.

string branch_name = 1;

Parameter
Name Description
value String

The branchName to set.

Returns
Type Description
FetchCurrentWorkspaceBranchResponse.Builder

This builder for chaining.

setBranchNameBytes(ByteString value)

public FetchCurrentWorkspaceBranchResponse.Builder setBranchNameBytes(ByteString value)

The name of the current branch for the workspace.

string branch_name = 1;

Parameter
Name Description
value ByteString

The bytes for branchName to set.

Returns
Type Description
FetchCurrentWorkspaceBranchResponse.Builder

This builder for chaining.