public static final class ConnectionProto.CreateConnectionRequest.Builder extends GeneratedMessage.Builder<ConnectionProto.CreateConnectionRequest.Builder> implements ConnectionProto.CreateConnectionRequestOrBuilderThe request for ConnectionService.CreateConnection.
Protobuf type google.cloud.bigquery.connection.v1beta1.CreateConnectionRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ConnectionProto.CreateConnectionRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ConnectionProto.CreateConnectionRequest build()| Returns | |
|---|---|
| Type | Description |
ConnectionProto.CreateConnectionRequest |
|
buildPartial()
public ConnectionProto.CreateConnectionRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ConnectionProto.CreateConnectionRequest |
|
clear()
public ConnectionProto.CreateConnectionRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ConnectionProto.CreateConnectionRequest.Builder |
|
clearConnection()
public ConnectionProto.CreateConnectionRequest.Builder clearConnection()Required. Connection to create.
.google.cloud.bigquery.connection.v1beta1.Connection connection = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ConnectionProto.CreateConnectionRequest.Builder |
|
clearConnectionId()
public ConnectionProto.CreateConnectionRequest.Builder clearConnectionId()Optional. Connection id that should be assigned to the created connection.
string connection_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ConnectionProto.CreateConnectionRequest.Builder |
This builder for chaining. |
clearParent()
public ConnectionProto.CreateConnectionRequest.Builder clearParent() 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 | |
|---|---|
| Type | Description |
ConnectionProto.CreateConnectionRequest.Builder |
This builder for chaining. |
getConnection()
public ConnectionProto.Connection getConnection()Required. Connection to create.
.google.cloud.bigquery.connection.v1beta1.Connection connection = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ConnectionProto.Connection |
The connection. |
getConnectionBuilder()
public ConnectionProto.Connection.Builder getConnectionBuilder()Required. Connection to create.
.google.cloud.bigquery.connection.v1beta1.Connection connection = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ConnectionProto.Connection.Builder |
|
getConnectionId()
public String getConnectionId()Optional. Connection id that should be assigned to the created connection.
string connection_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The connectionId. |
getConnectionIdBytes()
public ByteString getConnectionIdBytes()Optional. Connection id that should be assigned to the created connection.
string connection_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for connectionId. |
getConnectionOrBuilder()
public ConnectionProto.ConnectionOrBuilder getConnectionOrBuilder()Required. Connection to create.
.google.cloud.bigquery.connection.v1beta1.Connection connection = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ConnectionProto.ConnectionOrBuilder |
|
getDefaultInstanceForType()
public ConnectionProto.CreateConnectionRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ConnectionProto.CreateConnectionRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public 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 | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasConnection()
public boolean hasConnection()Required. Connection to create.
.google.cloud.bigquery.connection.v1beta1.Connection connection = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the connection field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeConnection(ConnectionProto.Connection value)
public ConnectionProto.CreateConnectionRequest.Builder mergeConnection(ConnectionProto.Connection value)Required. Connection to create.
.google.cloud.bigquery.connection.v1beta1.Connection connection = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ConnectionProto.Connection |
| Returns | |
|---|---|
| Type | Description |
ConnectionProto.CreateConnectionRequest.Builder |
|
mergeFrom(ConnectionProto.CreateConnectionRequest other)
public ConnectionProto.CreateConnectionRequest.Builder mergeFrom(ConnectionProto.CreateConnectionRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ConnectionProto.CreateConnectionRequest |
| Returns | |
|---|---|
| Type | Description |
ConnectionProto.CreateConnectionRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConnectionProto.CreateConnectionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConnectionProto.CreateConnectionRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ConnectionProto.CreateConnectionRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ConnectionProto.CreateConnectionRequest.Builder |
|
setConnection(ConnectionProto.Connection value)
public ConnectionProto.CreateConnectionRequest.Builder setConnection(ConnectionProto.Connection value)Required. Connection to create.
.google.cloud.bigquery.connection.v1beta1.Connection connection = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ConnectionProto.Connection |
| Returns | |
|---|---|
| Type | Description |
ConnectionProto.CreateConnectionRequest.Builder |
|
setConnection(ConnectionProto.Connection.Builder builderForValue)
public ConnectionProto.CreateConnectionRequest.Builder setConnection(ConnectionProto.Connection.Builder builderForValue)Required. Connection to create.
.google.cloud.bigquery.connection.v1beta1.Connection connection = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ConnectionProto.Connection.Builder |
| Returns | |
|---|---|
| Type | Description |
ConnectionProto.CreateConnectionRequest.Builder |
|
setConnectionId(String value)
public ConnectionProto.CreateConnectionRequest.Builder setConnectionId(String value)Optional. Connection id that should be assigned to the created connection.
string connection_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe connectionId to set. |
| Returns | |
|---|---|
| Type | Description |
ConnectionProto.CreateConnectionRequest.Builder |
This builder for chaining. |
setConnectionIdBytes(ByteString value)
public ConnectionProto.CreateConnectionRequest.Builder setConnectionIdBytes(ByteString value)Optional. Connection id that should be assigned to the created connection.
string connection_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for connectionId to set. |
| Returns | |
|---|---|
| Type | Description |
ConnectionProto.CreateConnectionRequest.Builder |
This builder for chaining. |
setParent(String value)
public ConnectionProto.CreateConnectionRequest.Builder setParent(String value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ConnectionProto.CreateConnectionRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ConnectionProto.CreateConnectionRequest.Builder setParentBytes(ByteString value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ConnectionProto.CreateConnectionRequest.Builder |
This builder for chaining. |