public final class UserPasswordValidationPolicy extends GeneratedMessage implements UserPasswordValidationPolicyOrBuilder
User level password validation policy.
Protobuf type google.cloud.sql.v1beta4.UserPasswordValidationPolicy
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ALLOWED_FAILED_ATTEMPTS_FIELD_NUMBER
public static final int ALLOWED_FAILED_ATTEMPTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ENABLE_FAILED_ATTEMPTS_CHECK_FIELD_NUMBER
public static final int ENABLE_FAILED_ATTEMPTS_CHECK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ENABLE_PASSWORD_VERIFICATION_FIELD_NUMBER
public static final int ENABLE_PASSWORD_VERIFICATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PASSWORD_EXPIRATION_DURATION_FIELD_NUMBER
public static final int PASSWORD_EXPIRATION_DURATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static UserPasswordValidationPolicy getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UserPasswordValidationPolicy.Builder newBuilder()
newBuilder(UserPasswordValidationPolicy prototype)
public static UserPasswordValidationPolicy.Builder newBuilder(UserPasswordValidationPolicy prototype)
public static UserPasswordValidationPolicy parseDelimitedFrom(InputStream input)
public static UserPasswordValidationPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UserPasswordValidationPolicy parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UserPasswordValidationPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UserPasswordValidationPolicy parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UserPasswordValidationPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UserPasswordValidationPolicy parseFrom(CodedInputStream input)
public static UserPasswordValidationPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UserPasswordValidationPolicy parseFrom(InputStream input)
public static UserPasswordValidationPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UserPasswordValidationPolicy parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UserPasswordValidationPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UserPasswordValidationPolicy> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAllowedFailedAttempts()
public int getAllowedFailedAttempts()
Number of failed login attempts allowed before user get locked.
int32 allowed_failed_attempts = 1;
| Returns |
| Type |
Description |
int |
The allowedFailedAttempts.
|
getDefaultInstanceForType()
public UserPasswordValidationPolicy getDefaultInstanceForType()
getEnableFailedAttemptsCheck()
public boolean getEnableFailedAttemptsCheck()
If true, failed login attempts check will be enabled.
bool enable_failed_attempts_check = 3;
| Returns |
| Type |
Description |
boolean |
The enableFailedAttemptsCheck.
|
getEnablePasswordVerification()
public boolean getEnablePasswordVerification()
If true, the user must specify the current password before changing the
password. This flag is supported only for MySQL.
bool enable_password_verification = 5;
| Returns |
| Type |
Description |
boolean |
The enablePasswordVerification.
|
getParserForType()
public Parser<UserPasswordValidationPolicy> getParserForType()
Overrides
getPasswordExpirationDuration()
public Duration getPasswordExpirationDuration()
Expiration duration after password is updated.
.google.protobuf.Duration password_expiration_duration = 2;
| Returns |
| Type |
Description |
Duration |
The passwordExpirationDuration.
|
getPasswordExpirationDurationOrBuilder()
public DurationOrBuilder getPasswordExpirationDurationOrBuilder()
Expiration duration after password is updated.
.google.protobuf.Duration password_expiration_duration = 2;
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getStatus()
public PasswordStatus getStatus()
Output only. Read-only password status.
.google.cloud.sql.v1beta4.PasswordStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusOrBuilder()
public PasswordStatusOrBuilder getStatusOrBuilder()
Output only. Read-only password status.
.google.cloud.sql.v1beta4.PasswordStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasPasswordExpirationDuration()
public boolean hasPasswordExpirationDuration()
Expiration duration after password is updated.
.google.protobuf.Duration password_expiration_duration = 2;
| Returns |
| Type |
Description |
boolean |
Whether the passwordExpirationDuration field is set.
|
hasStatus()
public boolean hasStatus()
Output only. Read-only password status.
.google.cloud.sql.v1beta4.PasswordStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the status field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UserPasswordValidationPolicy.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected UserPasswordValidationPolicy.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public UserPasswordValidationPolicy.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides