public final class BatchCreateRepositoriesRequest extends GeneratedMessageV3 implements BatchCreateRepositoriesRequestOrBuilder
Message for creating repositoritories in batch.
Protobuf type google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest
Static Fields
public static final int PARENT_FIELD_NUMBER
Field Value
public static final int REQUESTS_FIELD_NUMBER
Field Value
Static Methods
public static BatchCreateRepositoriesRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static BatchCreateRepositoriesRequest.Builder newBuilder()
Returns
public static BatchCreateRepositoriesRequest.Builder newBuilder(BatchCreateRepositoriesRequest prototype)
Parameter
Returns
public static BatchCreateRepositoriesRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchCreateRepositoriesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchCreateRepositoriesRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static BatchCreateRepositoriesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchCreateRepositoriesRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static BatchCreateRepositoriesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchCreateRepositoriesRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BatchCreateRepositoriesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchCreateRepositoriesRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchCreateRepositoriesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchCreateRepositoriesRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static BatchCreateRepositoriesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<BatchCreateRepositoriesRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public BatchCreateRepositoriesRequest getDefaultInstanceForType()
Returns
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.
|
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
public Parser<BatchCreateRepositoriesRequest> getParserForType()
Returns
Overrides
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
Returns
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
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];
Returns
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
Returns
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 google.devtools.cloudbuild.v2.CreateRepositoryRequestOrBuilder> | |
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public BatchCreateRepositoriesRequest.Builder newBuilderForType()
Returns
protected BatchCreateRepositoriesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public BatchCreateRepositoriesRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions