Class ConnectionProto.UpdateConnectionCredentialRequest.Builder (2.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public ConnectionProto.UpdateConnectionCredentialRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
ConnectionProto.UpdateConnectionCredentialRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public ConnectionProto.UpdateConnectionCredentialRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ConnectionProto.UpdateConnectionCredentialRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ConnectionProto.UpdateConnectionCredentialRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ConnectionProto.ConnectionCredentialOrBuilder

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the credential field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueConnectionProto.ConnectionCredential
Returns
TypeDescription
ConnectionProto.UpdateConnectionCredentialRequest.Builder

mergeFrom(ConnectionProto.UpdateConnectionCredentialRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConnectionProto.UpdateConnectionCredentialRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueConnectionProto.ConnectionCredential
Returns
TypeDescription
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
NameDescription
builderForValueConnectionProto.ConnectionCredential.Builder
Returns
TypeDescription
ConnectionProto.UpdateConnectionCredentialRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ConnectionProto.UpdateConnectionCredentialRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ConnectionProto.UpdateConnectionCredentialRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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