Class BatchCreateRepositoriesRequest (3.54.0)

public final class BatchCreateRepositoriesRequest extends GeneratedMessageV3 implements BatchCreateRepositoriesRequestOrBuilder

Message for creating repositoritories in batch.

Protobuf type google.devtools.cloudbuild.v2.BatchCreateRepositoriesRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BatchCreateRepositoriesRequest

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

REQUESTS_FIELD_NUMBER

public static final int REQUESTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchCreateRepositoriesRequest getDefaultInstance()
Returns
Type Description
BatchCreateRepositoriesRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BatchCreateRepositoriesRequest.Builder newBuilder()
Returns
Type Description
BatchCreateRepositoriesRequest.Builder

newBuilder(BatchCreateRepositoriesRequest prototype)

public static BatchCreateRepositoriesRequest.Builder newBuilder(BatchCreateRepositoriesRequest prototype)
Parameter
Name Description
prototype BatchCreateRepositoriesRequest
Returns
Type Description
BatchCreateRepositoriesRequest.Builder

parseDelimitedFrom(InputStream input)

public static BatchCreateRepositoriesRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchCreateRepositoriesRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCreateRepositoriesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateRepositoriesRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BatchCreateRepositoriesRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BatchCreateRepositoriesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchCreateRepositoriesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateRepositoriesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchCreateRepositoriesRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BatchCreateRepositoriesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchCreateRepositoriesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateRepositoriesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchCreateRepositoriesRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BatchCreateRepositoriesRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCreateRepositoriesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateRepositoriesRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BatchCreateRepositoriesRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchCreateRepositoriesRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCreateRepositoriesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateRepositoriesRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BatchCreateRepositoriesRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BatchCreateRepositoriesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchCreateRepositoriesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateRepositoriesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BatchCreateRepositoriesRequest> parser()
Returns
Type Description
Parser<BatchCreateRepositoriesRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BatchCreateRepositoriesRequest getDefaultInstanceForType()
Returns
Type Description
BatchCreateRepositoriesRequest

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.

getParserForType()

public Parser<BatchCreateRepositoriesRequest> getParserForType()
Returns
Type Description
Parser<BatchCreateRepositoriesRequest>
Overrides

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
Returns
Type Description
CreateRepositoryRequest

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];

Returns
Type Description
List<CreateRepositoryRequest>

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
Returns
Type Description
CreateRepositoryRequestOrBuilder

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>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BatchCreateRepositoriesRequest.Builder newBuilderForType()
Returns
Type Description
BatchCreateRepositoriesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchCreateRepositoriesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchCreateRepositoriesRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BatchCreateRepositoriesRequest.Builder toBuilder()
Returns
Type Description
BatchCreateRepositoriesRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException