Interface CreateRepositoryRequestOrBuilder (3.80.0)

publicinterface CreateRepositoryRequestOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

publicabstractStringgetParent()

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
Type Description
String

The parent.

getParentBytes()

publicabstractByteStringgetParentBytes()

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
Type Description
ByteString

The bytes for parent.

getRepository()

publicabstractRepositorygetRepository()

Required. The repository to create.

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

Returns
Type Description
Repository

The repository.

getRepositoryId()

publicabstractStringgetRepositoryId()

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
Type Description
String

The repositoryId.

getRepositoryIdBytes()

publicabstractByteStringgetRepositoryIdBytes()

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
Type Description
ByteString

The bytes for repositoryId.

getRepositoryOrBuilder()

publicabstractRepositoryOrBuildergetRepositoryOrBuilder()

Required. The repository to create.

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

Returns
Type Description
RepositoryOrBuilder

hasRepository()

publicabstractbooleanhasRepository()

Required. The repository to create.

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

Returns
Type Description
boolean

Whether the repository field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.