Interface CreateRepositoryRequestOrBuilder (0.6.0)

public interface CreateRepositoryRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The project in which to create the repository. Values are of the form projects/{project_number}/locations/{location_id}

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The project in which to create the repository. Values are of the form projects/{project_number}/locations/{location_id}

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 resource being created.

.google.cloud.securesourcemanager.v1.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 value should be 4-63 characters, and valid characters are /a-z-/.

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 value should be 4-63 characters, and valid characters are /a-z-/.

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

Returns
TypeDescription
ByteString

The bytes for repositoryId.

getRepositoryOrBuilder()

public abstract RepositoryOrBuilder getRepositoryOrBuilder()

Required. The resource being created.

.google.cloud.securesourcemanager.v1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RepositoryOrBuilder

hasRepository()

public abstract boolean hasRepository()

Required. The resource being created.

.google.cloud.securesourcemanager.v1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the repository field is set.