Class ConnectionProto.UpdateConnectionRequest.Builder (2.32.0)

public static final class ConnectionProto.UpdateConnectionRequest.Builder extends GeneratedMessageV3.Builder<ConnectionProto.UpdateConnectionRequest.Builder> implements ConnectionProto.UpdateConnectionRequestOrBuilder

The request for ConnectionService.UpdateConnection.

Protobuf type google.cloud.bigquery.connection.v1beta1.UpdateConnectionRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConnectionProto.UpdateConnectionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest.Builder
Overrides

build()

public ConnectionProto.UpdateConnectionRequest build()
Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest

buildPartial()

public ConnectionProto.UpdateConnectionRequest buildPartial()
Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest

clear()

public ConnectionProto.UpdateConnectionRequest.Builder clear()
Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest.Builder
Overrides

clearConnection()

public ConnectionProto.UpdateConnectionRequest.Builder clearConnection()

Required. Connection containing the updated fields.

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

Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public ConnectionProto.UpdateConnectionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest.Builder
Overrides

clearName()

public ConnectionProto.UpdateConnectionRequest.Builder clearName()

Required. Name of the connection to update, for example: projects/{project_id}/locations/{location_id}/connections/{connection_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ConnectionProto.UpdateConnectionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest.Builder
Overrides

clearUpdateMask()

public ConnectionProto.UpdateConnectionRequest.Builder clearUpdateMask()

Required. Update mask for the connection fields to be updated.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest.Builder

clone()

public ConnectionProto.UpdateConnectionRequest.Builder clone()
Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest.Builder
Overrides

getConnection()

public ConnectionProto.Connection getConnection()

Required. Connection containing the updated fields.

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

Returns
TypeDescription
ConnectionProto.Connection

The connection.

getConnectionBuilder()

public ConnectionProto.Connection.Builder getConnectionBuilder()

Required. Connection containing the updated fields.

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

Returns
TypeDescription
ConnectionProto.Connection.Builder

getConnectionOrBuilder()

public ConnectionProto.ConnectionOrBuilder getConnectionOrBuilder()

Required. Connection containing the updated fields.

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

Returns
TypeDescription
ConnectionProto.ConnectionOrBuilder

getDefaultInstanceForType()

public ConnectionProto.UpdateConnectionRequest getDefaultInstanceForType()
Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Name of the connection to update, for example: projects/{project_id}/locations/{location_id}/connections/{connection_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the connection to update, for example: projects/{project_id}/locations/{location_id}/connections/{connection_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getUpdateMask()

public FieldMask getUpdateMask()

Required. Update mask for the connection fields to be updated.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Update mask for the connection fields to be updated.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Update mask for the connection fields to be updated.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasConnection()

public boolean hasConnection()

Required. Connection containing the updated fields.

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

Returns
TypeDescription
boolean

Whether the connection field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Update mask for the connection fields to be updated.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeConnection(ConnectionProto.Connection value)

public ConnectionProto.UpdateConnectionRequest.Builder mergeConnection(ConnectionProto.Connection value)

Required. Connection containing the updated fields.

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

Parameter
NameDescription
valueConnectionProto.Connection
Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest.Builder

mergeFrom(ConnectionProto.UpdateConnectionRequest other)

public ConnectionProto.UpdateConnectionRequest.Builder mergeFrom(ConnectionProto.UpdateConnectionRequest other)
Parameter
NameDescription
otherConnectionProto.UpdateConnectionRequest
Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConnectionProto.UpdateConnectionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ConnectionProto.UpdateConnectionRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConnectionProto.UpdateConnectionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public ConnectionProto.UpdateConnectionRequest.Builder mergeUpdateMask(FieldMask value)

Required. Update mask for the connection fields to be updated.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest.Builder

setConnection(ConnectionProto.Connection value)

public ConnectionProto.UpdateConnectionRequest.Builder setConnection(ConnectionProto.Connection value)

Required. Connection containing the updated fields.

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

Parameter
NameDescription
valueConnectionProto.Connection
Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest.Builder

setConnection(ConnectionProto.Connection.Builder builderForValue)

public ConnectionProto.UpdateConnectionRequest.Builder setConnection(ConnectionProto.Connection.Builder builderForValue)

Required. Connection containing the updated fields.

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

Parameter
NameDescription
builderForValueConnectionProto.Connection.Builder
Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ConnectionProto.UpdateConnectionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest.Builder
Overrides

setName(String value)

public ConnectionProto.UpdateConnectionRequest.Builder setName(String value)

Required. Name of the connection to update, for example: projects/{project_id}/locations/{location_id}/connections/{connection_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ConnectionProto.UpdateConnectionRequest.Builder setNameBytes(ByteString value)

Required. Name of the connection to update, for example: projects/{project_id}/locations/{location_id}/connections/{connection_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ConnectionProto.UpdateConnectionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ConnectionProto.UpdateConnectionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public ConnectionProto.UpdateConnectionRequest.Builder setUpdateMask(FieldMask value)

Required. Update mask for the connection fields to be updated.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public ConnectionProto.UpdateConnectionRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Update mask for the connection fields to be updated.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ConnectionProto.UpdateConnectionRequest.Builder