Class ConnectionProto.UpdateConnectionCredentialRequest.Builder (2.60.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
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()
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
Overrides

build()

public ConnectionProto.UpdateConnectionCredentialRequest build()

buildPartial()

public ConnectionProto.UpdateConnectionCredentialRequest buildPartial()

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ConnectionProto.UpdateConnectionCredentialRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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
Overrides

clone()

public ConnectionProto.UpdateConnectionCredentialRequest.Builder clone()
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];

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];

getDefaultInstanceForType()

public ConnectionProto.UpdateConnectionCredentialRequest getDefaultInstanceForType()

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

mergeFrom(ConnectionProto.UpdateConnectionCredentialRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConnectionProto.UpdateConnectionCredentialRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

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

setField(Descriptors.FieldDescriptor field, Object value)

public ConnectionProto.UpdateConnectionCredentialRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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