Class FetchLinkableRepositoriesResponse.Builder (3.47.0)

public static final class FetchLinkableRepositoriesResponse.Builder extends GeneratedMessageV3.Builder<FetchLinkableRepositoriesResponse.Builder> implements FetchLinkableRepositoriesResponseOrBuilder

Response message for FetchLinkableRepositories.

Protobuf type google.devtools.cloudbuild.v2.FetchLinkableRepositoriesResponse

Static Methods

getDescriptor()

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

Methods

addAllRepositories(Iterable<? extends Repository> values)

public FetchLinkableRepositoriesResponse.Builder addAllRepositories(Iterable<? extends Repository> values)

repositories ready to be created.

repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloudbuild.v2.Repository>
Returns
Type Description
FetchLinkableRepositoriesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FetchLinkableRepositoriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchLinkableRepositoriesResponse.Builder
Overrides

addRepositories(Repository value)

public FetchLinkableRepositoriesResponse.Builder addRepositories(Repository value)

repositories ready to be created.

repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;

Parameter
Name Description
value Repository
Returns
Type Description
FetchLinkableRepositoriesResponse.Builder

addRepositories(Repository.Builder builderForValue)

public FetchLinkableRepositoriesResponse.Builder addRepositories(Repository.Builder builderForValue)

repositories ready to be created.

repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;

Parameter
Name Description
builderForValue Repository.Builder
Returns
Type Description
FetchLinkableRepositoriesResponse.Builder

addRepositories(int index, Repository value)

public FetchLinkableRepositoriesResponse.Builder addRepositories(int index, Repository value)

repositories ready to be created.

repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;

Parameters
Name Description
index int
value Repository
Returns
Type Description
FetchLinkableRepositoriesResponse.Builder

addRepositories(int index, Repository.Builder builderForValue)

public FetchLinkableRepositoriesResponse.Builder addRepositories(int index, Repository.Builder builderForValue)

repositories ready to be created.

repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;

Parameters
Name Description
index int
builderForValue Repository.Builder
Returns
Type Description
FetchLinkableRepositoriesResponse.Builder

addRepositoriesBuilder()

public Repository.Builder addRepositoriesBuilder()

repositories ready to be created.

repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;

Returns
Type Description
Repository.Builder

addRepositoriesBuilder(int index)

public Repository.Builder addRepositoriesBuilder(int index)

repositories ready to be created.

repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;

Parameter
Name Description
index int
Returns
Type Description
Repository.Builder

build()

public FetchLinkableRepositoriesResponse build()
Returns
Type Description
FetchLinkableRepositoriesResponse

buildPartial()

public FetchLinkableRepositoriesResponse buildPartial()
Returns
Type Description
FetchLinkableRepositoriesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public FetchLinkableRepositoriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FetchLinkableRepositoriesResponse.Builder
Overrides

clearNextPageToken()

public FetchLinkableRepositoriesResponse.Builder clearNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
FetchLinkableRepositoriesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FetchLinkableRepositoriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FetchLinkableRepositoriesResponse.Builder
Overrides

clearRepositories()

public FetchLinkableRepositoriesResponse.Builder clearRepositories()

repositories ready to be created.

repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;

Returns
Type Description
FetchLinkableRepositoriesResponse.Builder

clone()

public FetchLinkableRepositoriesResponse.Builder clone()
Returns
Type Description
FetchLinkableRepositoriesResponse.Builder
Overrides

getDefaultInstanceForType()

public FetchLinkableRepositoriesResponse getDefaultInstanceForType()
Returns
Type Description
FetchLinkableRepositoriesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getRepositories(int index)

public Repository getRepositories(int index)

repositories ready to be created.

repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;

Parameter
Name Description
index int
Returns
Type Description
Repository

getRepositoriesBuilder(int index)

public Repository.Builder getRepositoriesBuilder(int index)

repositories ready to be created.

repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;

Parameter
Name Description
index int
Returns
Type Description
Repository.Builder

getRepositoriesBuilderList()

public List<Repository.Builder> getRepositoriesBuilderList()

repositories ready to be created.

repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;

Returns
Type Description
List<Builder>

getRepositoriesCount()

public int getRepositoriesCount()

repositories ready to be created.

repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;

Returns
Type Description
int

getRepositoriesList()

public List<Repository> getRepositoriesList()

repositories ready to be created.

repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;

Returns
Type Description
List<Repository>

getRepositoriesOrBuilder(int index)

public RepositoryOrBuilder getRepositoriesOrBuilder(int index)

repositories ready to be created.

repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;

Parameter
Name Description
index int
Returns
Type Description
RepositoryOrBuilder

getRepositoriesOrBuilderList()

public List<? extends RepositoryOrBuilder> getRepositoriesOrBuilderList()

repositories ready to be created.

repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;

Returns
Type Description
List<? extends com.google.cloudbuild.v2.RepositoryOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchLinkableRepositoriesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FetchLinkableRepositoriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchLinkableRepositoriesResponse.Builder
Overrides

removeRepositories(int index)

public FetchLinkableRepositoriesResponse.Builder removeRepositories(int index)

repositories ready to be created.

repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchLinkableRepositoriesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public FetchLinkableRepositoriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchLinkableRepositoriesResponse.Builder
Overrides

setNextPageToken(String value)

public FetchLinkableRepositoriesResponse.Builder setNextPageToken(String value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
FetchLinkableRepositoriesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public FetchLinkableRepositoriesResponse.Builder setNextPageTokenBytes(ByteString value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
FetchLinkableRepositoriesResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FetchLinkableRepositoriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FetchLinkableRepositoriesResponse.Builder
Overrides

setRepositories(int index, Repository value)

public FetchLinkableRepositoriesResponse.Builder setRepositories(int index, Repository value)

repositories ready to be created.

repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;

Parameters
Name Description
index int
value Repository
Returns
Type Description
FetchLinkableRepositoriesResponse.Builder

setRepositories(int index, Repository.Builder builderForValue)

public FetchLinkableRepositoriesResponse.Builder setRepositories(int index, Repository.Builder builderForValue)

repositories ready to be created.

repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;

Parameters
Name Description
index int
builderForValue Repository.Builder
Returns
Type Description
FetchLinkableRepositoriesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final FetchLinkableRepositoriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchLinkableRepositoriesResponse.Builder
Overrides