public static final class EnableManagedRotationRequest.CloudSQLSingleUserCredentials extends GeneratedMessage implements EnableManagedRotationRequest.CloudSQLSingleUserCredentialsOrBuilderThese are the credentials required for Cloud SQL DB for Single user Managed Rotation.
Protobuf type
google.cloud.secretmanager.v1.EnableManagedRotationRequest.CloudSQLSingleUserCredentials
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > EnableManagedRotationRequest.CloudSQLSingleUserCredentialsStatic Fields
INSTANCE_ID_FIELD_NUMBER
public static final int INSTANCE_ID_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PASSWORD_FIELD_NUMBER
public static final int PASSWORD_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static EnableManagedRotationRequest.CloudSQLSingleUserCredentials getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static EnableManagedRotationRequest.CloudSQLSingleUserCredentials.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials.Builder |
|
newBuilder(EnableManagedRotationRequest.CloudSQLSingleUserCredentials prototype)
public static EnableManagedRotationRequest.CloudSQLSingleUserCredentials.Builder newBuilder(EnableManagedRotationRequest.CloudSQLSingleUserCredentials prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials |
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials.Builder |
|
parseDelimitedFrom(InputStream input)
public static EnableManagedRotationRequest.CloudSQLSingleUserCredentials parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static EnableManagedRotationRequest.CloudSQLSingleUserCredentials parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static EnableManagedRotationRequest.CloudSQLSingleUserCredentials parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EnableManagedRotationRequest.CloudSQLSingleUserCredentials parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static EnableManagedRotationRequest.CloudSQLSingleUserCredentials parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EnableManagedRotationRequest.CloudSQLSingleUserCredentials parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static EnableManagedRotationRequest.CloudSQLSingleUserCredentials parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EnableManagedRotationRequest.CloudSQLSingleUserCredentials parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static EnableManagedRotationRequest.CloudSQLSingleUserCredentials parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static EnableManagedRotationRequest.CloudSQLSingleUserCredentials parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static EnableManagedRotationRequest.CloudSQLSingleUserCredentials parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EnableManagedRotationRequest.CloudSQLSingleUserCredentials parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<EnableManagedRotationRequest.CloudSQLSingleUserCredentials> parser()| Returns | |
|---|---|
| Type | Description |
Parser<CloudSQLSingleUserCredentials> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public EnableManagedRotationRequest.CloudSQLSingleUserCredentials getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials |
|
getInstanceId()
public String getInstanceId()Required. Instance ID of the Cloud SQL instance.
string instance_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The instanceId. |
getInstanceIdBytes()
public ByteString getInstanceIdBytes()Required. Instance ID of the Cloud SQL instance.
string instance_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for instanceId. |
getParserForType()
public Parser<EnableManagedRotationRequest.CloudSQLSingleUserCredentials> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<CloudSQLSingleUserCredentials> |
|
getPassword()
public String getPassword()Optional. Password of the Cloud SQL instance. If this is not provided, a random password will be generated.
string password = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The password. |
getPasswordBytes()
public ByteString getPasswordBytes()Optional. Password of the Cloud SQL instance. If this is not provided, a random password will be generated.
string password = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for password. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getUsername()
public String getUsername()Required. Username of the Cloud SQL instance.
string username = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The username. |
getUsernameBytes()
public ByteString getUsernameBytes()Required. Username of the Cloud SQL instance.
string username = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for username. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public EnableManagedRotationRequest.CloudSQLSingleUserCredentials.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected EnableManagedRotationRequest.CloudSQLSingleUserCredentials.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials.Builder |
|
toBuilder()
public EnableManagedRotationRequest.CloudSQLSingleUserCredentials.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
EnableManagedRotationRequest.CloudSQLSingleUserCredentials.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|