Class BatchCreateRepositoriesRequest.Builder (3.74.0)

publicstaticfinalclass BatchCreateRepositoriesRequest.BuilderextendsGeneratedMessageV3.Builder<BatchCreateRepositoriesRequest.Builder>implementsBatchCreateRepositoriesRequestOrBuilder

Message for creating repositoritories in batch.

Protobuf type google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addAllRequests(Iterable<? extends CreateRepositoryRequest> values)

publicBatchCreateRepositoriesRequest.BuilderaddAllRequests(Iterable<?extendsCreateRepositoryRequest>values)

Required. The request messages specifying the repositories to create.

repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicBatchCreateRepositoriesRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchCreateRepositoriesRequest.Builder
Overrides

addRequests(CreateRepositoryRequest value)

publicBatchCreateRepositoriesRequest.BuilderaddRequests(CreateRepositoryRequestvalue)

Required. The request messages specifying the repositories to create.

repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CreateRepositoryRequest
Returns
Type Description
BatchCreateRepositoriesRequest.Builder

addRequests(CreateRepositoryRequest.Builder builderForValue)

publicBatchCreateRepositoriesRequest.BuilderaddRequests(CreateRepositoryRequest.BuilderbuilderForValue)

Required. The request messages specifying the repositories to create.

repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue CreateRepositoryRequest.Builder
Returns
Type Description
BatchCreateRepositoriesRequest.Builder

addRequests(int index, CreateRepositoryRequest value)

publicBatchCreateRepositoriesRequest.BuilderaddRequests(intindex,CreateRepositoryRequestvalue)

Required. The request messages specifying the repositories to create.

repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value CreateRepositoryRequest
Returns
Type Description
BatchCreateRepositoriesRequest.Builder

addRequests(int index, CreateRepositoryRequest.Builder builderForValue)

publicBatchCreateRepositoriesRequest.BuilderaddRequests(intindex,CreateRepositoryRequest.BuilderbuilderForValue)

Required. The request messages specifying the repositories to create.

repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue CreateRepositoryRequest.Builder
Returns
Type Description
BatchCreateRepositoriesRequest.Builder

addRequestsBuilder()

publicCreateRepositoryRequest.BuilderaddRequestsBuilder()

Required. The request messages specifying the repositories to create.

repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateRepositoryRequest.Builder

addRequestsBuilder(int index)

publicCreateRepositoryRequest.BuilderaddRequestsBuilder(intindex)

Required. The request messages specifying the repositories to create.

repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateRepositoryRequest.Builder

build()

publicBatchCreateRepositoriesRequestbuild()
Returns
Type Description
BatchCreateRepositoriesRequest

buildPartial()

publicBatchCreateRepositoriesRequestbuildPartial()
Returns
Type Description
BatchCreateRepositoriesRequest

clear()

publicBatchCreateRepositoriesRequest.Builderclear()
Returns
Type Description
BatchCreateRepositoriesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicBatchCreateRepositoriesRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchCreateRepositoriesRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicBatchCreateRepositoriesRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchCreateRepositoriesRequest.Builder
Overrides

clearParent()

publicBatchCreateRepositoriesRequest.BuilderclearParent()

Required. The connection to contain all the repositories being created. Format: projects/*/locations/*/connections/* The parent field in the CreateRepositoryRequest messages must either be empty or match this field.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
BatchCreateRepositoriesRequest.Builder

This builder for chaining.

clearRequests()

publicBatchCreateRepositoriesRequest.BuilderclearRequests()

Required. The request messages specifying the repositories to create.

repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BatchCreateRepositoriesRequest.Builder

clone()

publicBatchCreateRepositoriesRequest.Builderclone()
Returns
Type Description
BatchCreateRepositoriesRequest.Builder
Overrides

getDefaultInstanceForType()

publicBatchCreateRepositoriesRequestgetDefaultInstanceForType()
Returns
Type Description
BatchCreateRepositoriesRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

publicStringgetParent()

Required. The connection to contain all the repositories being created. Format: projects/*/locations/*/connections/* The parent field in the CreateRepositoryRequest messages must either be empty or match this field.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

publicByteStringgetParentBytes()

Required. The connection to contain all the repositories being created. Format: projects/*/locations/*/connections/* The parent field in the CreateRepositoryRequest messages must either be empty or match this field.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getRequests(int index)

publicCreateRepositoryRequestgetRequests(intindex)

Required. The request messages specifying the repositories to create.

repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateRepositoryRequest

getRequestsBuilder(int index)

publicCreateRepositoryRequest.BuildergetRequestsBuilder(intindex)

Required. The request messages specifying the repositories to create.

repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateRepositoryRequest.Builder

getRequestsBuilderList()

publicList<CreateRepositoryRequest.Builder>getRequestsBuilderList()

Required. The request messages specifying the repositories to create.

repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getRequestsCount()

publicintgetRequestsCount()

Required. The request messages specifying the repositories to create.

repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getRequestsList()

publicList<CreateRepositoryRequest>getRequestsList()

Required. The request messages specifying the repositories to create.

repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<CreateRepositoryRequest>

getRequestsOrBuilder(int index)

publicCreateRepositoryRequestOrBuildergetRequestsOrBuilder(intindex)

Required. The request messages specifying the repositories to create.

repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateRepositoryRequestOrBuilder

getRequestsOrBuilderList()

publicList<?extendsCreateRepositoryRequestOrBuilder>getRequestsOrBuilderList()

Required. The request messages specifying the repositories to create.

repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

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

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchCreateRepositoriesRequest other)

publicBatchCreateRepositoriesRequest.BuildermergeFrom(BatchCreateRepositoriesRequestother)
Parameter
Name Description
other BatchCreateRepositoriesRequest
Returns
Type Description
BatchCreateRepositoriesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicBatchCreateRepositoriesRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateRepositoriesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicBatchCreateRepositoriesRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
BatchCreateRepositoriesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalBatchCreateRepositoriesRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchCreateRepositoriesRequest.Builder
Overrides

removeRequests(int index)

publicBatchCreateRepositoriesRequest.BuilderremoveRequests(intindex)

Required. The request messages specifying the repositories to create.

repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
BatchCreateRepositoriesRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

publicBatchCreateRepositoriesRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchCreateRepositoriesRequest.Builder
Overrides

setParent(String value)

publicBatchCreateRepositoriesRequest.BuildersetParent(Stringvalue)

Required. The connection to contain all the repositories being created. Format: projects/*/locations/*/connections/* The parent field in the CreateRepositoryRequest messages must either be empty or match this field.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
BatchCreateRepositoriesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

publicBatchCreateRepositoriesRequest.BuildersetParentBytes(ByteStringvalue)

Required. The connection to contain all the repositories being created. Format: projects/*/locations/*/connections/* The parent field in the CreateRepositoryRequest messages must either be empty or match this field.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
BatchCreateRepositoriesRequest.Builder

This builder for chaining.

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

publicBatchCreateRepositoriesRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchCreateRepositoriesRequest.Builder
Overrides

setRequests(int index, CreateRepositoryRequest value)

publicBatchCreateRepositoriesRequest.BuildersetRequests(intindex,CreateRepositoryRequestvalue)

Required. The request messages specifying the repositories to create.

repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value CreateRepositoryRequest
Returns
Type Description
BatchCreateRepositoriesRequest.Builder

setRequests(int index, CreateRepositoryRequest.Builder builderForValue)

publicBatchCreateRepositoriesRequest.BuildersetRequests(intindex,CreateRepositoryRequest.BuilderbuilderForValue)

Required. The request messages specifying the repositories to create.

repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue CreateRepositoryRequest.Builder
Returns
Type Description
BatchCreateRepositoriesRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalBatchCreateRepositoriesRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchCreateRepositoriesRequest.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.