Interface CreateRepositoryRequestOrBuilder (1.40.0)

See more code actions.
public interface CreateRepositoryRequestOrBuilder extends MessageOrBuilder
MessageOrBuilder
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the repository field is set.