Class AlloyDbSettings.UserPassword (2.40.0)

public static final class AlloyDbSettings.UserPassword extends GeneratedMessageV3 implements AlloyDbSettings.UserPasswordOrBuilder

The username/password for a database user. Used for specifying initial users at cluster creation time.

Protobuf type google.cloud.clouddms.v1.AlloyDbSettings.UserPassword

Static Fields

PASSWORD_FIELD_NUMBER

public static final int PASSWORD_FIELD_NUMBER
Field Value
TypeDescription
int

PASSWORD_SET_FIELD_NUMBER

public static final int PASSWORD_SET_FIELD_NUMBER
Field Value
TypeDescription
int

USER_FIELD_NUMBER

public static final int USER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AlloyDbSettings.UserPassword getDefaultInstance()
Returns
TypeDescription
AlloyDbSettings.UserPassword

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AlloyDbSettings.UserPassword.Builder newBuilder()
Returns
TypeDescription
AlloyDbSettings.UserPassword.Builder

newBuilder(AlloyDbSettings.UserPassword prototype)

public static AlloyDbSettings.UserPassword.Builder newBuilder(AlloyDbSettings.UserPassword prototype)
Parameter
NameDescription
prototypeAlloyDbSettings.UserPassword
Returns
TypeDescription
AlloyDbSettings.UserPassword.Builder

parseDelimitedFrom(InputStream input)

public static AlloyDbSettings.UserPassword parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AlloyDbSettings.UserPassword
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AlloyDbSettings.UserPassword parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AlloyDbSettings.UserPassword
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AlloyDbSettings.UserPassword parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AlloyDbSettings.UserPassword
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AlloyDbSettings.UserPassword parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AlloyDbSettings.UserPassword
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AlloyDbSettings.UserPassword parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AlloyDbSettings.UserPassword
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AlloyDbSettings.UserPassword parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AlloyDbSettings.UserPassword
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AlloyDbSettings.UserPassword parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AlloyDbSettings.UserPassword
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AlloyDbSettings.UserPassword parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AlloyDbSettings.UserPassword
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AlloyDbSettings.UserPassword parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AlloyDbSettings.UserPassword
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AlloyDbSettings.UserPassword parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AlloyDbSettings.UserPassword
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AlloyDbSettings.UserPassword parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AlloyDbSettings.UserPassword
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AlloyDbSettings.UserPassword parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AlloyDbSettings.UserPassword
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AlloyDbSettings.UserPassword> parser()
Returns
TypeDescription
Parser<UserPassword>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AlloyDbSettings.UserPassword getDefaultInstanceForType()
Returns
TypeDescription
AlloyDbSettings.UserPassword

getParserForType()

public Parser<AlloyDbSettings.UserPassword> getParserForType()
Returns
TypeDescription
Parser<UserPassword>
Overrides

getPassword()

public String getPassword()

The initial password for the user.

string password = 2;

Returns
TypeDescription
String

The password.

getPasswordBytes()

public ByteString getPasswordBytes()

The initial password for the user.

string password = 2;

Returns
TypeDescription
ByteString

The bytes for password.

getPasswordSet()

public boolean getPasswordSet()

Output only. Indicates if the initial_user.password field has been set.

bool password_set = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

The passwordSet.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUser()

public String getUser()

The database username.

string user = 1;

Returns
TypeDescription
String

The user.

getUserBytes()

public ByteString getUserBytes()

The database username.

string user = 1;

Returns
TypeDescription
ByteString

The bytes for user.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AlloyDbSettings.UserPassword.Builder newBuilderForType()
Returns
TypeDescription
AlloyDbSettings.UserPassword.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AlloyDbSettings.UserPassword.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AlloyDbSettings.UserPassword.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AlloyDbSettings.UserPassword.Builder toBuilder()
Returns
TypeDescription
AlloyDbSettings.UserPassword.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException