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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
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 google.devtools.cloudbuild.v2.Repository>
|
Returns
public BatchCreateRepositoriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public BatchCreateRepositoriesResponse.Builder addRepositories(Repository value)
Repository resources created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter
Returns
public BatchCreateRepositoriesResponse.Builder addRepositories(Repository.Builder builderForValue)
Repository resources created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter
Returns
public BatchCreateRepositoriesResponse.Builder addRepositories(int index, Repository value)
Repository resources created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameters
Returns
public BatchCreateRepositoriesResponse.Builder addRepositories(int index, Repository.Builder builderForValue)
Repository resources created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameters
Returns
public Repository.Builder addRepositoriesBuilder()
Repository resources created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Returns
public Repository.Builder addRepositoriesBuilder(int index)
Repository resources created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter
Returns
public BatchCreateRepositoriesResponse build()
Returns
public BatchCreateRepositoriesResponse buildPartial()
Returns
public BatchCreateRepositoriesResponse.Builder clear()
Returns
Overrides
public BatchCreateRepositoriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public BatchCreateRepositoriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public BatchCreateRepositoriesResponse.Builder clearRepositories()
Repository resources created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Returns
public BatchCreateRepositoriesResponse.Builder clone()
Returns
Overrides
public BatchCreateRepositoriesResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Repository getRepositories(int index)
Repository resources created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter
Returns
public Repository.Builder getRepositoriesBuilder(int index)
Repository resources created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter
Returns
public List<Repository.Builder> getRepositoriesBuilderList()
Repository resources created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Returns
public int getRepositoriesCount()
Repository resources created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Returns
public List<Repository> getRepositoriesList()
Repository resources created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Returns
public RepositoryOrBuilder getRepositoriesOrBuilder(int index)
Repository resources created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter
Returns
public List<? extends RepositoryOrBuilder> getRepositoriesOrBuilderList()
Repository resources created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Returns
Type | Description |
List<? extends google.devtools.cloudbuild.v2.RepositoryOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public BatchCreateRepositoriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public BatchCreateRepositoriesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public BatchCreateRepositoriesResponse.Builder mergeFrom(BatchCreateRepositoriesResponse other)
Parameter
Returns
public final BatchCreateRepositoriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public BatchCreateRepositoriesResponse.Builder removeRepositories(int index)
Repository resources created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameter
Returns
public BatchCreateRepositoriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public BatchCreateRepositoriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public BatchCreateRepositoriesResponse.Builder setRepositories(int index, Repository value)
Repository resources created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameters
Returns
public BatchCreateRepositoriesResponse.Builder setRepositories(int index, Repository.Builder builderForValue)
Repository resources created.
repeated .google.devtools.cloudbuild.v2.Repository repositories = 1;
Parameters
Returns
public final BatchCreateRepositoriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides