public static final class ConnectionProto.ConnectionCredential extends GeneratedMessageV3 implements ConnectionProto.ConnectionCredentialOrBuilder
Credential to use with a connection.
Protobuf type google.cloud.bigquery.connection.v1beta1.ConnectionCredential
Static Fields
CLOUD_SQL_FIELD_NUMBER
public static final int CLOUD_SQL_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ConnectionProto.ConnectionCredential getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ConnectionProto.ConnectionCredential.Builder newBuilder()
Returns
newBuilder(ConnectionProto.ConnectionCredential prototype)
public static ConnectionProto.ConnectionCredential.Builder newBuilder(ConnectionProto.ConnectionCredential prototype)
Parameter
Returns
public static ConnectionProto.ConnectionCredential parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ConnectionProto.ConnectionCredential parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ConnectionProto.ConnectionCredential parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ConnectionProto.ConnectionCredential parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ConnectionProto.ConnectionCredential parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConnectionProto.ConnectionCredential parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ConnectionProto.ConnectionCredential parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ConnectionProto.ConnectionCredential parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ConnectionProto.ConnectionCredential parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ConnectionProto.ConnectionCredential parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ConnectionProto.ConnectionCredential parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ConnectionProto.ConnectionCredential parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ConnectionProto.ConnectionCredential> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCloudSql()
public ConnectionProto.CloudSqlCredential getCloudSql()
Credential for Cloud SQL database.
.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential cloud_sql = 1;
Returns
getCloudSqlOrBuilder()
public ConnectionProto.CloudSqlCredentialOrBuilder getCloudSqlOrBuilder()
Credential for Cloud SQL database.
.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential cloud_sql = 1;
Returns
getCredentialCase()
public ConnectionProto.ConnectionCredential.CredentialCase getCredentialCase()
Returns
getDefaultInstanceForType()
public ConnectionProto.ConnectionCredential getDefaultInstanceForType()
Returns
getParserForType()
public Parser<ConnectionProto.ConnectionCredential> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasCloudSql()
public boolean hasCloudSql()
Credential for Cloud SQL database.
.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential cloud_sql = 1;
Returns
Type | Description |
boolean | Whether the cloudSql field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ConnectionProto.ConnectionCredential.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ConnectionProto.ConnectionCredential.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ConnectionProto.ConnectionCredential.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions