Interface CreateRepositoryRequestOrBuilder (1.40.0)

public interface CreateRepositoryRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The name of the parent resource where the repository will be created.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The name of the parent resource where the repository will be created.

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 be created.

.google.devtools.artifactregistry.v1.Repository repository = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Repository

The repository.

getRepositoryId()

public abstract String getRepositoryId()

Required. The repository id to use for this repository.

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

Returns
TypeDescription
String

The repositoryId.

getRepositoryIdBytes()

public abstract ByteString getRepositoryIdBytes()

Required. The repository id to use for this repository.

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

Returns
TypeDescription
ByteString

The bytes for repositoryId.

getRepositoryOrBuilder()

public abstract RepositoryOrBuilder getRepositoryOrBuilder()

Required. The repository to be created.

.google.devtools.artifactregistry.v1.Repository repository = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RepositoryOrBuilder

hasRepository()

public abstract boolean hasRepository()

Required. The repository to be created.

.google.devtools.artifactregistry.v1.Repository repository = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the repository field is set.