Class ConnectionProto.UpdateConnectionCredentialRequest.Builder (2.51.0)

public static final class ConnectionProto.UpdateConnectionCredentialRequest.Builder extends GeneratedMessageV3.Builder<ConnectionProto.UpdateConnectionCredentialRequest.Builder> implements ConnectionProto.UpdateConnectionCredentialRequestOrBuilder

The request for ConnectionService.UpdateConnectionCredential.

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ConnectionProto.UpdateConnectionCredentialRequest.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConnectionProto.UpdateConnectionCredentialRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConnectionProto.UpdateConnectionCredentialRequest.Builder
Overrides

build()

public ConnectionProto.UpdateConnectionCredentialRequest build()
Returns
Type Description
ConnectionProto.UpdateConnectionCredentialRequest

buildPartial()

public ConnectionProto.UpdateConnectionCredentialRequest buildPartial()
Returns
Type Description
ConnectionProto.UpdateConnectionCredentialRequest

clear()

public ConnectionProto.UpdateConnectionCredentialRequest.Builder clear()
Returns
Type Description
ConnectionProto.UpdateConnectionCredentialRequest.Builder
Overrides

clearCredential()

public ConnectionProto.UpdateConnectionCredentialRequest.Builder clearCredential()

Required. Credential to use with the connection.

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

Returns
Type Description
ConnectionProto.UpdateConnectionCredentialRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public ConnectionProto.UpdateConnectionCredentialRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ConnectionProto.UpdateConnectionCredentialRequest.Builder
Overrides

clearName()

public ConnectionProto.UpdateConnectionCredentialRequest.Builder clearName()

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

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConnectionProto.UpdateConnectionCredentialRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ConnectionProto.UpdateConnectionCredentialRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ConnectionProto.UpdateConnectionCredentialRequest.Builder
Overrides

clone()

public ConnectionProto.UpdateConnectionCredentialRequest.Builder clone()
Returns
Type Description
ConnectionProto.UpdateConnectionCredentialRequest.Builder
Overrides

getCredential()

public ConnectionProto.ConnectionCredential getCredential()

Required. Credential to use with the connection.

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

Returns
Type Description
ConnectionProto.ConnectionCredential

The credential.

getCredentialBuilder()

public ConnectionProto.ConnectionCredential.Builder getCredentialBuilder()

Required. Credential to use with the connection.

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

Returns
Type Description
ConnectionProto.ConnectionCredential.Builder

getCredentialOrBuilder()

public ConnectionProto.ConnectionCredentialOrBuilder getCredentialOrBuilder()

Required. Credential to use with the connection.

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

Returns
Type Description
ConnectionProto.ConnectionCredentialOrBuilder

getDefaultInstanceForType()

public ConnectionProto.UpdateConnectionCredentialRequest getDefaultInstanceForType()
Returns
Type Description
ConnectionProto.UpdateConnectionCredentialRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

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

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

hasCredential()

public boolean hasCredential()

Required. Credential to use with the connection.

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

Returns
Type Description
boolean

Whether the credential field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCredential(ConnectionProto.ConnectionCredential value)

public ConnectionProto.UpdateConnectionCredentialRequest.Builder mergeCredential(ConnectionProto.ConnectionCredential value)

Required. Credential to use with the connection.

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

Parameter
Name Description
value ConnectionProto.ConnectionCredential
Returns
Type Description
ConnectionProto.UpdateConnectionCredentialRequest.Builder

mergeFrom(ConnectionProto.UpdateConnectionCredentialRequest other)

public ConnectionProto.UpdateConnectionCredentialRequest.Builder mergeFrom(ConnectionProto.UpdateConnectionCredentialRequest other)
Parameter
Name Description
other ConnectionProto.UpdateConnectionCredentialRequest
Returns
Type Description
ConnectionProto.UpdateConnectionCredentialRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConnectionProto.UpdateConnectionCredentialRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectionProto.UpdateConnectionCredentialRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ConnectionProto.UpdateConnectionCredentialRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ConnectionProto.UpdateConnectionCredentialRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConnectionProto.UpdateConnectionCredentialRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConnectionProto.UpdateConnectionCredentialRequest.Builder
Overrides

setCredential(ConnectionProto.ConnectionCredential value)

public ConnectionProto.UpdateConnectionCredentialRequest.Builder setCredential(ConnectionProto.ConnectionCredential value)

Required. Credential to use with the connection.

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

Parameter
Name Description
value ConnectionProto.ConnectionCredential
Returns
Type Description
ConnectionProto.UpdateConnectionCredentialRequest.Builder

setCredential(ConnectionProto.ConnectionCredential.Builder builderForValue)

public ConnectionProto.UpdateConnectionCredentialRequest.Builder setCredential(ConnectionProto.ConnectionCredential.Builder builderForValue)

Required. Credential to use with the connection.

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

Parameter
Name Description
builderForValue ConnectionProto.ConnectionCredential.Builder
Returns
Type Description
ConnectionProto.UpdateConnectionCredentialRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ConnectionProto.UpdateConnectionCredentialRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConnectionProto.UpdateConnectionCredentialRequest.Builder
Overrides

setName(String value)

public ConnectionProto.UpdateConnectionCredentialRequest.Builder setName(String value)

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

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ConnectionProto.UpdateConnectionCredentialRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ConnectionProto.UpdateConnectionCredentialRequest.Builder setNameBytes(ByteString value)

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

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ConnectionProto.UpdateConnectionCredentialRequest.Builder

This builder for chaining.

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

public ConnectionProto.UpdateConnectionCredentialRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ConnectionProto.UpdateConnectionCredentialRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ConnectionProto.UpdateConnectionCredentialRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConnectionProto.UpdateConnectionCredentialRequest.Builder
Overrides