Class FetchLinkableRepositoriesResponse.Builder (3.19.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloudbuild.v2.Repository>
Returns
TypeDescription
FetchLinkableRepositoriesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FetchLinkableRepositoriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueRepository
Returns
TypeDescription
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
NameDescription
builderForValueRepository.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRepository
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRepository.Builder
Returns
TypeDescription
FetchLinkableRepositoriesResponse.Builder

addRepositoriesBuilder()

public Repository.Builder addRepositoriesBuilder()

repositories ready to be created.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Repository.Builder

build()

public FetchLinkableRepositoriesResponse build()
Returns
TypeDescription
FetchLinkableRepositoriesResponse

buildPartial()

public FetchLinkableRepositoriesResponse buildPartial()
Returns
TypeDescription
FetchLinkableRepositoriesResponse

clear()

public FetchLinkableRepositoriesResponse.Builder clear()
Returns
TypeDescription
FetchLinkableRepositoriesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FetchLinkableRepositoriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
FetchLinkableRepositoriesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FetchLinkableRepositoriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FetchLinkableRepositoriesResponse.Builder
Overrides

clearRepositories()

public FetchLinkableRepositoriesResponse.Builder clearRepositories()

repositories ready to be created.

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

Returns
TypeDescription
FetchLinkableRepositoriesResponse.Builder

clone()

public FetchLinkableRepositoriesResponse.Builder clone()
Returns
TypeDescription
FetchLinkableRepositoriesResponse.Builder
Overrides

getDefaultInstanceForType()

public FetchLinkableRepositoriesResponse getDefaultInstanceForType()
Returns
TypeDescription
FetchLinkableRepositoriesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

string next_page_token = 2;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Repository

getRepositoriesBuilder(int index)

public Repository.Builder getRepositoriesBuilder(int index)

repositories ready to be created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Repository.Builder

getRepositoriesBuilderList()

public List<Repository.Builder> getRepositoriesBuilderList()

repositories ready to be created.

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

Returns
TypeDescription
List<Builder>

getRepositoriesCount()

public int getRepositoriesCount()

repositories ready to be created.

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

Returns
TypeDescription
int

getRepositoriesList()

public List<Repository> getRepositoriesList()

repositories ready to be created.

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

Returns
TypeDescription
List<Repository>

getRepositoriesOrBuilder(int index)

public RepositoryOrBuilder getRepositoriesOrBuilder(int index)

repositories ready to be created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RepositoryOrBuilder

getRepositoriesOrBuilderList()

public List<? extends RepositoryOrBuilder> getRepositoriesOrBuilderList()

repositories ready to be created.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FetchLinkableRepositoriesResponse other)

public FetchLinkableRepositoriesResponse.Builder mergeFrom(FetchLinkableRepositoriesResponse other)
Parameter
NameDescription
otherFetchLinkableRepositoriesResponse
Returns
TypeDescription
FetchLinkableRepositoriesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FetchLinkableRepositoriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FetchLinkableRepositoriesResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FetchLinkableRepositoriesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FetchLinkableRepositoriesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FetchLinkableRepositoriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
FetchLinkableRepositoriesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public FetchLinkableRepositoriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueRepository
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRepository.Builder
Returns
TypeDescription
FetchLinkableRepositoriesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final FetchLinkableRepositoriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FetchLinkableRepositoriesResponse.Builder
Overrides