Interface CreateConnectionRequestOrBuilder (3.34.0)

See more code actions.
public interface CreateConnectionRequestOrBuilder extends MessageOrBuilder
MessageOrBuilder
public abstract Connection getConnection()

Required. The Connection to create.

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

Returns
TypeDescription
Connection

The connection.

getConnectionId()

public abstract String getConnectionId()

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
TypeDescription
String

The connectionId.

getConnectionIdBytes()

public abstract ByteString getConnectionIdBytes()

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
TypeDescription
ByteString

The bytes for connectionId.

getConnectionOrBuilder()

public abstract ConnectionOrBuilder getConnectionOrBuilder()

Required. The Connection to create.

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

Returns
TypeDescription
ConnectionOrBuilder

getParent()

public abstract String getParent()

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
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

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
TypeDescription
ByteString

The bytes for parent.

hasConnection()

public abstract boolean hasConnection()

Required. The Connection to create.

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

Returns
TypeDescription
boolean

Whether the connection field is set.