Class BatchCreateRepositoriesResponse.Builder (3.45.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloudbuild.v2.Repository>
Returns
Type Description
BatchCreateRepositoriesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRepositories(Repository value)

public BatchCreateRepositoriesResponse.Builder addRepositories(Repository value)

Repository resources created.

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

Parameter
Name Description
value Repository
Returns
Type Description
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
Name Description
builderForValue Repository.Builder
Returns
Type Description
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
Name Description
index int
value Repository
Returns
Type Description
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
Name Description
index int
builderForValue Repository.Builder
Returns
Type Description
BatchCreateRepositoriesResponse.Builder

addRepositoriesBuilder()

public Repository.Builder addRepositoriesBuilder()

Repository resources created.

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

Returns
Type Description
Repository.Builder

addRepositoriesBuilder(int index)

public Repository.Builder addRepositoriesBuilder(int index)

Repository resources created.

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

Parameter
Name Description
index int
Returns
Type Description
Repository.Builder

build()

public BatchCreateRepositoriesResponse build()
Returns
Type Description
BatchCreateRepositoriesResponse

buildPartial()

public BatchCreateRepositoriesResponse buildPartial()
Returns
Type Description
BatchCreateRepositoriesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRepositories()

public BatchCreateRepositoriesResponse.Builder clearRepositories()

Repository resources created.

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

Returns
Type Description
BatchCreateRepositoriesResponse.Builder

clone()

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

getDefaultInstanceForType()

public BatchCreateRepositoriesResponse getDefaultInstanceForType()
Returns
Type Description
BatchCreateRepositoriesResponse

getDescriptorForType()

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

getRepositories(int index)

public Repository getRepositories(int index)

Repository resources 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)

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

Repository resources created.

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

Returns
Type Description
List<Builder>

getRepositoriesCount()

public int getRepositoriesCount()

Repository resources created.

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

Returns
Type Description
int

getRepositoriesList()

public List<Repository> getRepositoriesList()

Repository resources created.

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

Returns
Type Description
List<Repository>

getRepositoriesOrBuilder(int index)

public RepositoryOrBuilder getRepositoriesOrBuilder(int index)

Repository resources created.

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

Parameter
Name Description
index int
Returns
Type Description
RepositoryOrBuilder

getRepositoriesOrBuilderList()

public List<? extends RepositoryOrBuilder> getRepositoriesOrBuilderList()

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeRepositories(int index)

public BatchCreateRepositoriesResponse.Builder removeRepositories(int index)

Repository resources created.

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

Parameter
Name Description
index int
Returns
Type Description
BatchCreateRepositoriesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public BatchCreateRepositoriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
index int
value Repository
Returns
Type Description
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
Name Description
index int
builderForValue Repository.Builder
Returns
Type Description
BatchCreateRepositoriesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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