public final class UserPassword extends GeneratedMessageV3 implements UserPasswordOrBuilder
The username/password for a database user. Used for specifying initial users at cluster creation time.
Protobuf type google.cloud.alloydb.v1alpha.UserPassword
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UserPasswordImplements
UserPasswordOrBuilderStatic Fields
PASSWORD_FIELD_NUMBER
public static final int PASSWORD_FIELD_NUMBER
Type | Description |
int |
USER_FIELD_NUMBER
public static final int USER_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static UserPassword getDefaultInstance()
Type | Description |
UserPassword |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static UserPassword.Builder newBuilder()
Type | Description |
UserPassword.Builder |
newBuilder(UserPassword prototype)
public static UserPassword.Builder newBuilder(UserPassword prototype)
Name | Description |
prototype |
UserPassword |
Type | Description |
UserPassword.Builder |
parseDelimitedFrom(InputStream input)
public static UserPassword parseDelimitedFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
UserPassword |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UserPassword parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
UserPassword |
Type | Description |
IOException |
parseFrom(byte[] data)
public static UserPassword parseFrom(byte[] data)
Name | Description |
data |
byte[] |
Type | Description |
UserPassword |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UserPassword parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
UserPassword |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static UserPassword parseFrom(ByteString data)
Name | Description |
data |
ByteString |
Type | Description |
UserPassword |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UserPassword parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
UserPassword |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static UserPassword parseFrom(CodedInputStream input)
Name | Description |
input |
CodedInputStream |
Type | Description |
UserPassword |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UserPassword parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
UserPassword |
Type | Description |
IOException |
parseFrom(InputStream input)
public static UserPassword parseFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
UserPassword |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UserPassword parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
UserPassword |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static UserPassword parseFrom(ByteBuffer data)
Name | Description |
data |
ByteBuffer |
Type | Description |
UserPassword |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UserPassword parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
UserPassword |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<UserPassword> parser()
Type | Description |
Parser<UserPassword> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj |
Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public UserPassword getDefaultInstanceForType()
Type | Description |
UserPassword |
getParserForType()
public Parser<UserPassword> getParserForType()
Type | Description |
Parser<UserPassword> |
getPassword()
public String getPassword()
The initial password for the user.
string password = 2;
Type | Description |
String |
The password. |
getPasswordBytes()
public ByteString getPasswordBytes()
The initial password for the user.
string password = 2;
Type | Description |
ByteString |
The bytes for password. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getUser()
public String getUser()
The database username.
string user = 1;
Type | Description |
String |
The user. |
getUserBytes()
public ByteString getUserBytes()
The database username.
string user = 1;
Type | Description |
ByteString |
The bytes for user. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public UserPassword.Builder newBuilderForType()
Type | Description |
UserPassword.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UserPassword.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent |
BuilderParent |
Type | Description |
UserPassword.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused |
UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public UserPassword.Builder toBuilder()
Type | Description |
UserPassword.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output |
CodedOutputStream |
Type | Description |
IOException |