public static final class ConnectionProto.UpdateConnectionCredentialRequest extends GeneratedMessageV3 implements ConnectionProto.UpdateConnectionCredentialRequestOrBuilder
The request for ConnectionService.UpdateConnectionCredential.
Protobuf type
google.cloud.bigquery.connection.v1beta1.UpdateConnectionCredentialRequest
Static Fields
CREDENTIAL_FIELD_NUMBER
public static final int CREDENTIAL_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ConnectionProto.UpdateConnectionCredentialRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ConnectionProto.UpdateConnectionCredentialRequest.Builder newBuilder()
Returns
newBuilder(ConnectionProto.UpdateConnectionCredentialRequest prototype)
public static ConnectionProto.UpdateConnectionCredentialRequest.Builder newBuilder(ConnectionProto.UpdateConnectionCredentialRequest prototype)
Parameter
Returns
public static ConnectionProto.UpdateConnectionCredentialRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ConnectionProto.UpdateConnectionCredentialRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ConnectionProto.UpdateConnectionCredentialRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ConnectionProto.UpdateConnectionCredentialRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ConnectionProto.UpdateConnectionCredentialRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConnectionProto.UpdateConnectionCredentialRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ConnectionProto.UpdateConnectionCredentialRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ConnectionProto.UpdateConnectionCredentialRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ConnectionProto.UpdateConnectionCredentialRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ConnectionProto.UpdateConnectionCredentialRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ConnectionProto.UpdateConnectionCredentialRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ConnectionProto.UpdateConnectionCredentialRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ConnectionProto.UpdateConnectionCredentialRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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
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
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
getParserForType()
public Parser<ConnectionProto.UpdateConnectionCredentialRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ConnectionProto.UpdateConnectionCredentialRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ConnectionProto.UpdateConnectionCredentialRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ConnectionProto.UpdateConnectionCredentialRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions