public static final class ConnectionProto.UpdateConnectionCredentialRequest.Builder extends GeneratedMessage.Builder<ConnectionProto.UpdateConnectionCredentialRequest.Builder> implements ConnectionProto.UpdateConnectionCredentialRequestOrBuilderThe request for ConnectionService.UpdateConnectionCredential.
Protobuf type
google.cloud.bigquery.connection.v1beta1.UpdateConnectionCredentialRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ConnectionProto.UpdateConnectionCredentialRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 |
|
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ConnectionProto.UpdateConnectionCredentialRequest.Builder |
This builder for chaining. |