Class UserCreds

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.firestore.admin.v1.UserCreds
All Implemented Interfaces:
UserCredsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class UserCreds extends com.google.protobuf.GeneratedMessage implements UserCredsOrBuilder
 A Cloud Firestore User Creds.
 
Protobuf type google.firestore.admin.v1.UserCreds
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • SECURE_PASSWORD_FIELD_NUMBER

      public static final int SECURE_PASSWORD_FIELD_NUMBER
      See Also:
    • RESOURCE_IDENTITY_FIELD_NUMBER

      public static final int RESOURCE_IDENTITY_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getUserCredsIdentityCase

      public UserCreds.UserCredsIdentityCase getUserCredsIdentityCase()
      Specified by:
      getUserCredsIdentityCase in interface UserCredsOrBuilder
    • getName

      public String getName()
       Identifier. The resource name of the UserCreds.
       Format:
       `projects/{project}/databases/{database}/userCreds/{user_creds}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface UserCredsOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name of the UserCreds.
       Format:
       `projects/{project}/databases/{database}/userCreds/{user_creds}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface UserCredsOrBuilder
      Returns:
      The bytes for name.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time the user creds were created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface UserCredsOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time the user creds were created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface UserCredsOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time the user creds were created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface UserCredsOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time the user creds were last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface UserCredsOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time the user creds were last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface UserCredsOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time the user creds were last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface UserCredsOrBuilder
    • getStateValue

      public int getStateValue()
       Output only. Whether the user creds are enabled or disabled. Defaults to
       ENABLED on creation.
       
      .google.firestore.admin.v1.UserCreds.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface UserCredsOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public UserCreds.State getState()
       Output only. Whether the user creds are enabled or disabled. Defaults to
       ENABLED on creation.
       
      .google.firestore.admin.v1.UserCreds.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface UserCredsOrBuilder
      Returns:
      The state.
    • getSecurePassword

      public String getSecurePassword()
       Output only. The plaintext server-generated password for the user creds.
       Only populated in responses for CreateUserCreds and ResetUserPassword.
       
      string secure_password = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSecurePassword in interface UserCredsOrBuilder
      Returns:
      The securePassword.
    • getSecurePasswordBytes

      public com.google.protobuf.ByteString getSecurePasswordBytes()
       Output only. The plaintext server-generated password for the user creds.
       Only populated in responses for CreateUserCreds and ResetUserPassword.
       
      string secure_password = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSecurePasswordBytes in interface UserCredsOrBuilder
      Returns:
      The bytes for securePassword.
    • hasResourceIdentity

      public boolean hasResourceIdentity()
       Resource Identity descriptor.
       
      .google.firestore.admin.v1.UserCreds.ResourceIdentity resource_identity = 6;
      Specified by:
      hasResourceIdentity in interface UserCredsOrBuilder
      Returns:
      Whether the resourceIdentity field is set.
    • getResourceIdentity

      public UserCreds.ResourceIdentity getResourceIdentity()
       Resource Identity descriptor.
       
      .google.firestore.admin.v1.UserCreds.ResourceIdentity resource_identity = 6;
      Specified by:
      getResourceIdentity in interface UserCredsOrBuilder
      Returns:
      The resourceIdentity.
    • getResourceIdentityOrBuilder

      public UserCreds.ResourceIdentityOrBuilder getResourceIdentityOrBuilder()
       Resource Identity descriptor.
       
      .google.firestore.admin.v1.UserCreds.ResourceIdentity resource_identity = 6;
      Specified by:
      getResourceIdentityOrBuilder in interface UserCredsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static UserCreds parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserCreds parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserCreds parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserCreds parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserCreds parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserCreds parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UserCreds parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UserCreds parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UserCreds parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UserCreds parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UserCreds parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UserCreds parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public UserCreds.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static UserCreds.Builder newBuilder()
    • newBuilder

      public static UserCreds.Builder newBuilder(UserCreds prototype)
    • toBuilder

      public UserCreds.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected UserCreds.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static UserCreds getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<UserCreds> parser()
    • getParserForType

      public com.google.protobuf.Parser<UserCreds> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public UserCreds getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder