public static final class CreateConnectionRequest.Builder extends GeneratedMessageV3.Builder<CreateConnectionRequest.Builder> implements CreateConnectionRequestOrBuilder
The request for ConnectionService.CreateConnection.
Protobuf type google.cloud.bigquery.connection.v1.CreateConnectionRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateConnectionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateConnectionRequest build()
Returns
buildPartial()
public CreateConnectionRequest buildPartial()
Returns
clear()
public CreateConnectionRequest.Builder clear()
Returns
Overrides
clearConnection()
public CreateConnectionRequest.Builder clearConnection()
Required. Connection to create.
.google.cloud.bigquery.connection.v1.Connection connection = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
clearConnectionId()
public CreateConnectionRequest.Builder clearConnectionId()
Optional. Connection id that should be assigned to the created connection.
string connection_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearField(Descriptors.FieldDescriptor field)
public CreateConnectionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateConnectionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public 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
clone()
public CreateConnectionRequest.Builder clone()
Returns
Overrides
getConnection()
public Connection getConnection()
Required. Connection to create.
.google.cloud.bigquery.connection.v1.Connection connection = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getConnectionBuilder()
public Connection.Builder getConnectionBuilder()
Required. Connection to create.
.google.cloud.bigquery.connection.v1.Connection connection = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
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 ConnectionOrBuilder getConnectionOrBuilder()
Required. Connection to create.
.google.cloud.bigquery.connection.v1.Connection connection = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public CreateConnectionRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
hasConnection()
public boolean hasConnection()
Required. Connection to create.
.google.cloud.bigquery.connection.v1.Connection connection = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the connection field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeConnection(Connection value)
public CreateConnectionRequest.Builder mergeConnection(Connection value)
Required. Connection to create.
.google.cloud.bigquery.connection.v1.Connection connection = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(CreateConnectionRequest other)
public CreateConnectionRequest.Builder mergeFrom(CreateConnectionRequest other)
Parameter
Returns
public CreateConnectionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateConnectionRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateConnectionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setConnection(Connection value)
public CreateConnectionRequest.Builder setConnection(Connection value)
Required. Connection to create.
.google.cloud.bigquery.connection.v1.Connection connection = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setConnection(Connection.Builder builderForValue)
public CreateConnectionRequest.Builder setConnection(Connection.Builder builderForValue)
Required. Connection to create.
.google.cloud.bigquery.connection.v1.Connection connection = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setConnectionId(String value)
public 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 | String
The connectionId to set.
|
Returns
setConnectionIdBytes(ByteString value)
public 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 | ByteString
The bytes for connectionId to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateConnectionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setParent(String value)
public 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 | String
The parent to set.
|
Returns
setParentBytes(ByteString value)
public 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 | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateConnectionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateConnectionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides