Class BatchCreateRepositoriesResponse.Builder (3.18.0)

public static final class BatchCreateRepositoriesResponse.Builder extends GeneratedMessageV3.Builder<BatchCreateRepositoriesResponse.Builder> implements BatchCreateRepositoriesResponseOrBuilder

Message for response of creating repositories in batch.

Protobuf type google.devtools.cloudbuild.v2.BatchCreateRepositoriesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllRepositories(Iterable<? extends Repository> values)

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

Repository resources created.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloudbuild.v2.Repository>
Returns
TypeDescription
BatchCreateRepositoriesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchCreateRepositoriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchCreateRepositoriesResponse.Builder
Overrides

addRepositories(Repository value)

public BatchCreateRepositoriesResponse.Builder addRepositories(Repository value)

Repository resources created.

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

Parameter
NameDescription
valueRepository
Returns
TypeDescription
BatchCreateRepositoriesResponse.Builder

addRepositories(Repository.Builder builderForValue)

public BatchCreateRepositoriesResponse.Builder addRepositories(Repository.Builder builderForValue)

Repository resources created.

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

Parameter
NameDescription
builderForValueRepository.Builder
Returns
TypeDescription
BatchCreateRepositoriesResponse.Builder

addRepositories(int index, Repository value)

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

Repository resources created.

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

Parameters
NameDescription
indexint
valueRepository
Returns
TypeDescription
BatchCreateRepositoriesResponse.Builder

addRepositories(int index, Repository.Builder builderForValue)

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

Repository resources created.

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

Parameters
NameDescription
indexint
builderForValueRepository.Builder
Returns
TypeDescription
BatchCreateRepositoriesResponse.Builder

addRepositoriesBuilder()

public Repository.Builder addRepositoriesBuilder()

Repository resources created.

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

Returns
TypeDescription
Repository.Builder

addRepositoriesBuilder(int index)

public Repository.Builder addRepositoriesBuilder(int index)

Repository resources created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Repository.Builder

build()

public BatchCreateRepositoriesResponse build()
Returns
TypeDescription
BatchCreateRepositoriesResponse

buildPartial()

public BatchCreateRepositoriesResponse buildPartial()
Returns
TypeDescription
BatchCreateRepositoriesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public BatchCreateRepositoriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BatchCreateRepositoriesResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRepositories()

public BatchCreateRepositoriesResponse.Builder clearRepositories()

Repository resources created.

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

Returns
TypeDescription
BatchCreateRepositoriesResponse.Builder

clone()

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

getDefaultInstanceForType()

public BatchCreateRepositoriesResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchCreateRepositoriesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRepositories(int index)

public Repository getRepositories(int index)

Repository resources created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Repository

getRepositoriesBuilder(int index)

public Repository.Builder getRepositoriesBuilder(int index)

Repository resources created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Repository.Builder

getRepositoriesBuilderList()

public List<Repository.Builder> getRepositoriesBuilderList()

Repository resources created.

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

Returns
TypeDescription
List<Builder>

getRepositoriesCount()

public int getRepositoriesCount()

Repository resources created.

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

Returns
TypeDescription
int

getRepositoriesList()

public List<Repository> getRepositoriesList()

Repository resources created.

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

Returns
TypeDescription
List<Repository>

getRepositoriesOrBuilder(int index)

public RepositoryOrBuilder getRepositoriesOrBuilder(int index)

Repository resources created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RepositoryOrBuilder

getRepositoriesOrBuilderList()

public List<? extends RepositoryOrBuilder> getRepositoriesOrBuilderList()

Repository resources 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(BatchCreateRepositoriesResponse other)

public BatchCreateRepositoriesResponse.Builder mergeFrom(BatchCreateRepositoriesResponse other)
Parameter
NameDescription
otherBatchCreateRepositoriesResponse
Returns
TypeDescription
BatchCreateRepositoriesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchCreateRepositoriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchCreateRepositoriesResponse.Builder
Overrides

removeRepositories(int index)

public BatchCreateRepositoriesResponse.Builder removeRepositories(int index)

Repository resources created.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchCreateRepositoriesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchCreateRepositoriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchCreateRepositoriesResponse.Builder
Overrides

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

public BatchCreateRepositoriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchCreateRepositoriesResponse.Builder
Overrides

setRepositories(int index, Repository value)

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

Repository resources created.

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

Parameters
NameDescription
indexint
valueRepository
Returns
TypeDescription
BatchCreateRepositoriesResponse.Builder

setRepositories(int index, Repository.Builder builderForValue)

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

Repository resources created.

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

Parameters
NameDescription
indexint
builderForValueRepository.Builder
Returns
TypeDescription
BatchCreateRepositoriesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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