public static final class BatchCreateRepositoriesRequest.Builder extends GeneratedMessageV3.Builder<BatchCreateRepositoriesRequest.Builder> implements BatchCreateRepositoriesRequestOrBuilder
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.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()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllRequests(Iterable<? extends CreateRepositoryRequest> values)
public BatchCreateRepositoriesRequest.Builder addAllRequests(Iterable<? extends CreateRepositoryRequest> 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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateRepositoriesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addRequests(CreateRepositoryRequest value)
public BatchCreateRepositoriesRequest.Builder addRequests(CreateRepositoryRequest value)
Required. The request messages specifying the repositories to create.
repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
addRequests(CreateRepositoryRequest.Builder builderForValue)
public BatchCreateRepositoriesRequest.Builder addRequests(CreateRepositoryRequest.Builder builderForValue)
Required. The request messages specifying the repositories to create.
repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
addRequests(int index, CreateRepositoryRequest value)
public BatchCreateRepositoriesRequest.Builder addRequests(int index, CreateRepositoryRequest value)
Required. The request messages specifying the repositories to create.
repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
addRequests(int index, CreateRepositoryRequest.Builder builderForValue)
public BatchCreateRepositoriesRequest.Builder addRequests(int index, CreateRepositoryRequest.Builder builderForValue)
Required. The request messages specifying the repositories to create.
repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
addRequestsBuilder()
public CreateRepositoryRequest.Builder addRequestsBuilder()
Required. The request messages specifying the repositories to create.
repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
addRequestsBuilder(int index)
public CreateRepositoryRequest.Builder addRequestsBuilder(int index)
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
|
build()
public BatchCreateRepositoriesRequest build()
buildPartial()
public BatchCreateRepositoriesRequest buildPartial()
clear()
public BatchCreateRepositoriesRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchCreateRepositoriesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchCreateRepositoriesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public BatchCreateRepositoriesRequest.Builder clearParent()
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) = { ... }
clearRequests()
public BatchCreateRepositoriesRequest.Builder clearRequests()
Required. The request messages specifying the repositories to create.
repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public BatchCreateRepositoriesRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public BatchCreateRepositoriesRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
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()
public ByteString getParentBytes()
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)
public CreateRepositoryRequest getRequests(int index)
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
|
getRequestsBuilder(int index)
public CreateRepositoryRequest.Builder getRequestsBuilder(int index)
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
|
getRequestsBuilderList()
public List<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];
getRequestsCount()
public int getRequestsCount()
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()
public List<CreateRepositoryRequest> getRequestsList()
Required. The request messages specifying the repositories to create.
repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
getRequestsOrBuilder(int index)
public CreateRepositoryRequestOrBuilder getRequestsOrBuilder(int index)
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
|
getRequestsOrBuilderList()
public List<? extends CreateRepositoryRequestOrBuilder> 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()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchCreateRepositoriesRequest other)
public BatchCreateRepositoriesRequest.Builder mergeFrom(BatchCreateRepositoriesRequest other)
public BatchCreateRepositoriesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchCreateRepositoriesRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateRepositoriesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeRequests(int index)
public BatchCreateRepositoriesRequest.Builder removeRequests(int index)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateRepositoriesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public BatchCreateRepositoriesRequest.Builder setParent(String value)
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.
|
setParentBytes(ByteString value)
public BatchCreateRepositoriesRequest.Builder setParentBytes(ByteString value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchCreateRepositoriesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRequests(int index, CreateRepositoryRequest value)
public BatchCreateRepositoriesRequest.Builder setRequests(int index, CreateRepositoryRequest value)
Required. The request messages specifying the repositories to create.
repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
setRequests(int index, CreateRepositoryRequest.Builder builderForValue)
public BatchCreateRepositoriesRequest.Builder setRequests(int index, CreateRepositoryRequest.Builder builderForValue)
Required. The request messages specifying the repositories to create.
repeated .google.devtools.cloudbuild.v2.CreateRepositoryRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateRepositoriesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides