Class FetchWorkspaceBranchesResponse.Builder (0.98.0)

public static final class FetchWorkspaceBranchesResponse.Builder extends GeneratedMessage.Builder<FetchWorkspaceBranchesResponse.Builder> implements FetchWorkspaceBranchesResponseOrBuilder

Response message for FetchWorkspaceBranches method.

Protobuf type google.cloud.dataform.v1beta1.FetchWorkspaceBranchesResponse

Static Methods

getDescriptor()

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

Methods

addAllBranches(Iterable<? extends BranchMetadata> values)

public FetchWorkspaceBranchesResponse.Builder addAllBranches(Iterable<? extends BranchMetadata> values)

The branches in the workspace.

repeated .google.cloud.dataform.v1beta1.BranchMetadata branches = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dataform.v1beta1.BranchMetadata>
Returns
Type Description
FetchWorkspaceBranchesResponse.Builder

addBranches(BranchMetadata value)

public FetchWorkspaceBranchesResponse.Builder addBranches(BranchMetadata value)

The branches in the workspace.

repeated .google.cloud.dataform.v1beta1.BranchMetadata branches = 1;

Parameter
Name Description
value BranchMetadata
Returns
Type Description
FetchWorkspaceBranchesResponse.Builder

addBranches(BranchMetadata.Builder builderForValue)

public FetchWorkspaceBranchesResponse.Builder addBranches(BranchMetadata.Builder builderForValue)

The branches in the workspace.

repeated .google.cloud.dataform.v1beta1.BranchMetadata branches = 1;

Parameter
Name Description
builderForValue BranchMetadata.Builder
Returns
Type Description
FetchWorkspaceBranchesResponse.Builder

addBranches(int index, BranchMetadata value)

public FetchWorkspaceBranchesResponse.Builder addBranches(int index, BranchMetadata value)

The branches in the workspace.

repeated .google.cloud.dataform.v1beta1.BranchMetadata branches = 1;

Parameters
Name Description
index int
value BranchMetadata
Returns
Type Description
FetchWorkspaceBranchesResponse.Builder

addBranches(int index, BranchMetadata.Builder builderForValue)

public FetchWorkspaceBranchesResponse.Builder addBranches(int index, BranchMetadata.Builder builderForValue)

The branches in the workspace.

repeated .google.cloud.dataform.v1beta1.BranchMetadata branches = 1;

Parameters
Name Description
index int
builderForValue BranchMetadata.Builder
Returns
Type Description
FetchWorkspaceBranchesResponse.Builder

addBranchesBuilder()

public BranchMetadata.Builder addBranchesBuilder()

The branches in the workspace.

repeated .google.cloud.dataform.v1beta1.BranchMetadata branches = 1;

Returns
Type Description
BranchMetadata.Builder

addBranchesBuilder(int index)

public BranchMetadata.Builder addBranchesBuilder(int index)

The branches in the workspace.

repeated .google.cloud.dataform.v1beta1.BranchMetadata branches = 1;

Parameter
Name Description
index int
Returns
Type Description
BranchMetadata.Builder

build()

public FetchWorkspaceBranchesResponse build()
Returns
Type Description
FetchWorkspaceBranchesResponse

buildPartial()

public FetchWorkspaceBranchesResponse buildPartial()
Returns
Type Description
FetchWorkspaceBranchesResponse

clear()

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

clearBranches()

public FetchWorkspaceBranchesResponse.Builder clearBranches()

The branches in the workspace.

repeated .google.cloud.dataform.v1beta1.BranchMetadata branches = 1;

Returns
Type Description
FetchWorkspaceBranchesResponse.Builder

clearNextPageToken()

public FetchWorkspaceBranchesResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
FetchWorkspaceBranchesResponse.Builder

This builder for chaining.

getBranches(int index)

public BranchMetadata getBranches(int index)

The branches in the workspace.

repeated .google.cloud.dataform.v1beta1.BranchMetadata branches = 1;

Parameter
Name Description
index int
Returns
Type Description
BranchMetadata

getBranchesBuilder(int index)

public BranchMetadata.Builder getBranchesBuilder(int index)

The branches in the workspace.

repeated .google.cloud.dataform.v1beta1.BranchMetadata branches = 1;

Parameter
Name Description
index int
Returns
Type Description
BranchMetadata.Builder

getBranchesBuilderList()

public List<BranchMetadata.Builder> getBranchesBuilderList()

The branches in the workspace.

repeated .google.cloud.dataform.v1beta1.BranchMetadata branches = 1;

Returns
Type Description
List<Builder>

getBranchesCount()

public int getBranchesCount()

The branches in the workspace.

repeated .google.cloud.dataform.v1beta1.BranchMetadata branches = 1;

Returns
Type Description
int

getBranchesList()

public List<BranchMetadata> getBranchesList()

The branches in the workspace.

repeated .google.cloud.dataform.v1beta1.BranchMetadata branches = 1;

Returns
Type Description
List<BranchMetadata>

getBranchesOrBuilder(int index)

public BranchMetadataOrBuilder getBranchesOrBuilder(int index)

The branches in the workspace.

repeated .google.cloud.dataform.v1beta1.BranchMetadata branches = 1;

Parameter
Name Description
index int
Returns
Type Description
BranchMetadataOrBuilder

getBranchesOrBuilderList()

public List<? extends BranchMetadataOrBuilder> getBranchesOrBuilderList()

The branches in the workspace.

repeated .google.cloud.dataform.v1beta1.BranchMetadata branches = 1;

Returns
Type Description
List<? extends com.google.cloud.dataform.v1beta1.BranchMetadataOrBuilder>

getDefaultInstanceForType()

public FetchWorkspaceBranchesResponse getDefaultInstanceForType()
Returns
Type Description
FetchWorkspaceBranchesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchWorkspaceBranchesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeBranches(int index)

public FetchWorkspaceBranchesResponse.Builder removeBranches(int index)

The branches in the workspace.

repeated .google.cloud.dataform.v1beta1.BranchMetadata branches = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchWorkspaceBranchesResponse.Builder

setBranches(int index, BranchMetadata value)

public FetchWorkspaceBranchesResponse.Builder setBranches(int index, BranchMetadata value)

The branches in the workspace.

repeated .google.cloud.dataform.v1beta1.BranchMetadata branches = 1;

Parameters
Name Description
index int
value BranchMetadata
Returns
Type Description
FetchWorkspaceBranchesResponse.Builder

setBranches(int index, BranchMetadata.Builder builderForValue)

public FetchWorkspaceBranchesResponse.Builder setBranches(int index, BranchMetadata.Builder builderForValue)

The branches in the workspace.

repeated .google.cloud.dataform.v1beta1.BranchMetadata branches = 1;

Parameters
Name Description
index int
builderForValue BranchMetadata.Builder
Returns
Type Description
FetchWorkspaceBranchesResponse.Builder

setNextPageToken(String value)

public FetchWorkspaceBranchesResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
FetchWorkspaceBranchesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public FetchWorkspaceBranchesResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
FetchWorkspaceBranchesResponse.Builder

This builder for chaining.