Interface CreateConnectionRequestOrBuilder (3.23.0)

publicinterface CreateConnectionRequestOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getConnection()

publicabstractConnectiongetConnection()

Required. The Connection to create.

.google.devtools.cloudbuild.v2.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Connection

The connection.

getConnectionId()

publicabstractStringgetConnectionId()

Required. The ID to use for the Connection, which will become the final component of the Connection's resource name. Names must be unique per-project per-location. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.

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

Returns
Type Description
String

The connectionId.

getConnectionIdBytes()

publicabstractByteStringgetConnectionIdBytes()

Required. The ID to use for the Connection, which will become the final component of the Connection's resource name. Names must be unique per-project per-location. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.

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

Returns
Type Description
ByteString

The bytes for connectionId.

getConnectionOrBuilder()

publicabstractConnectionOrBuildergetConnectionOrBuilder()

Required. The Connection to create.

.google.devtools.cloudbuild.v2.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConnectionOrBuilder

getParent()

publicabstractStringgetParent()

Required. Project and location where the connection will be created. Format: projects/*/locations/*.

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

Returns
Type Description
String

The parent.

getParentBytes()

publicabstractByteStringgetParentBytes()

Required. Project and location where the connection will be created. Format: projects/*/locations/*.

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

Returns
Type Description
ByteString

The bytes for parent.

hasConnection()

publicabstractbooleanhasConnection()

Required. The Connection to create.

.google.devtools.cloudbuild.v2.Connection connection = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the connection 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.