Interface CreateRepositoryRequestOrBuilder (3.38.0)

public interface CreateRepositoryRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The connection to contain the repository. If the request is part of a BatchCreateRepositoriesRequest, this field should be empty or match the parent specified there.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The connection to contain the repository. If the request is part of a BatchCreateRepositoriesRequest, this field should be empty or match the parent specified there.

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

Returns
TypeDescription
ByteString

The bytes for parent.

getRepository()

public abstract Repository getRepository()

Required. The repository to create.

.google.devtools.cloudbuild.v2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Repository

The repository.

getRepositoryId()

public abstract String getRepositoryId()

Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.

string repository_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The repositoryId.

getRepositoryIdBytes()

public abstract ByteString getRepositoryIdBytes()

Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.

string repository_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for repositoryId.

getRepositoryOrBuilder()

public abstract RepositoryOrBuilder getRepositoryOrBuilder()

Required. The repository to create.

.google.devtools.cloudbuild.v2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RepositoryOrBuilder

hasRepository()

public abstract boolean hasRepository()

Required. The repository to create.

.google.devtools.cloudbuild.v2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the repository field is set.