Interface ConnectionProto.CreateConnectionRequestOrBuilder (2.1.11)

public static interface ConnectionProto.CreateConnectionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConnection()

public abstract ConnectionProto.Connection getConnection()

Required. Connection to create.

.google.cloud.bigquery.connection.v1beta1.Connection connection = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ConnectionProto.Connection

The connection.

getConnectionId()

public abstract String getConnectionId()

Optional. Connection id that should be assigned to the created connection.

string connection_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The connectionId.

getConnectionIdBytes()

public abstract ByteString getConnectionIdBytes()

Optional. Connection id that should be assigned to the created connection.

string connection_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for connectionId.

getConnectionOrBuilder()

public abstract ConnectionProto.ConnectionOrBuilder getConnectionOrBuilder()

Required. Connection to create.

.google.cloud.bigquery.connection.v1beta1.Connection connection = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ConnectionProto.ConnectionOrBuilder

getParent()

public abstract String getParent()

Required. Parent resource name. Must be in the format projects/{project_id}/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. Parent resource name. Must be in the format projects/{project_id}/locations/{location_id}

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. Connection to create.

.google.cloud.bigquery.connection.v1beta1.Connection connection = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the connection field is set.