public static final class ConnectionProto.CreateConnectionRequest.Builder extends GeneratedMessageV3.Builder<ConnectionProto.CreateConnectionRequest.Builder> implements ConnectionProto.CreateConnectionRequestOrBuilder
The request for
ConnectionService.CreateConnection.
Protobuf type google.cloud.bigquery.connection.v1beta1.CreateConnectionRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConnectionProto.CreateConnectionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ConnectionProto.CreateConnectionRequest build()
buildPartial()
public ConnectionProto.CreateConnectionRequest buildPartial()
clear()
public ConnectionProto.CreateConnectionRequest.Builder clear()
Overrides
clearConnection()
public ConnectionProto.CreateConnectionRequest.Builder clearConnection()
Required. Connection to create.
.google.cloud.bigquery.connection.v1beta1.Connection connection = 3 [(.google.api.field_behavior) = REQUIRED];
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];
clearField(Descriptors.FieldDescriptor field)
public ConnectionProto.CreateConnectionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ConnectionProto.CreateConnectionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
clone()
public ConnectionProto.CreateConnectionRequest.Builder clone()
Overrides
getConnection()
public ConnectionProto.Connection getConnection()
Required. Connection to create.
.google.cloud.bigquery.connection.v1beta1.Connection connection = 3 [(.google.api.field_behavior) = REQUIRED];
getConnectionBuilder()
public ConnectionProto.Connection.Builder getConnectionBuilder()
Required. Connection to create.
.google.cloud.bigquery.connection.v1beta1.Connection connection = 3 [(.google.api.field_behavior) = REQUIRED];
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];
getDefaultInstanceForType()
public ConnectionProto.CreateConnectionRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
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];
mergeFrom(ConnectionProto.CreateConnectionRequest other)
public ConnectionProto.CreateConnectionRequest.Builder mergeFrom(ConnectionProto.CreateConnectionRequest other)
public ConnectionProto.CreateConnectionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ConnectionProto.CreateConnectionRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConnectionProto.CreateConnectionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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];
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 |
String
The connectionId to set.
|
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 |
ByteString
The bytes for connectionId to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ConnectionProto.CreateConnectionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The parent to set.
|
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 |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConnectionProto.CreateConnectionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ConnectionProto.CreateConnectionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides