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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConnectionProto.UpdateConnectionCredentialRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ConnectionProto.UpdateConnectionCredentialRequest build()
Returns
buildPartial()
public ConnectionProto.UpdateConnectionCredentialRequest buildPartial()
Returns
clear()
public ConnectionProto.UpdateConnectionCredentialRequest.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public ConnectionProto.UpdateConnectionCredentialRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ConnectionProto.UpdateConnectionCredentialRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ConnectionProto.UpdateConnectionCredentialRequest.Builder clone()
Returns
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
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
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
getDefaultInstanceForType()
public ConnectionProto.UpdateConnectionCredentialRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(ConnectionProto.UpdateConnectionCredentialRequest other)
public ConnectionProto.UpdateConnectionCredentialRequest.Builder mergeFrom(ConnectionProto.UpdateConnectionCredentialRequest other)
Parameter
Returns
public ConnectionProto.UpdateConnectionCredentialRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ConnectionProto.UpdateConnectionCredentialRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConnectionProto.UpdateConnectionCredentialRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ConnectionProto.UpdateConnectionCredentialRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConnectionProto.UpdateConnectionCredentialRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ConnectionProto.UpdateConnectionCredentialRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides