Class UserCreds (3.33.2) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 3.33.2keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  UserCreds   extends   GeneratedMessageV3   implements   UserCredsOrBuilder  
   A Cloud Firestore User Creds.
 Protobuf type google.firestore.admin.v1.UserCreds
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  CREATE_TIME_FIELD_NUMBER 
  
    
public   static   final   int   CREATE_TIME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  NAME_FIELD_NUMBER 
  
    
public   static   final   int   NAME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  RESOURCE_IDENTITY_FIELD_NUMBER 
  
    
public   static   final   int   RESOURCE_IDENTITY_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  SECURE_PASSWORD_FIELD_NUMBER 
  
    
public   static   final   int   SECURE_PASSWORD_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  STATE_FIELD_NUMBER 
  
    
public   static   final   int   STATE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  UPDATE_TIME_FIELD_NUMBER 
  
    
public   static   final   int   UPDATE_TIME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   UserCreds   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   UserCreds . Builder   newBuilder ()  
  
  newBuilder(UserCreds prototype) 
  
    
public   static   UserCreds . Builder   newBuilder ( UserCreds   prototype )  
  
    
      
        Parameter  
      
        Name Description  
      
        prototypeUserCreds  
     
  
  
  
    
public   static   UserCreds   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   UserCreds   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   UserCreds   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   UserCreds   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   UserCreds   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   UserCreds   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   UserCreds   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   UserCreds   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   UserCreds   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   UserCreds   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   UserCreds   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   UserCreds   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<UserCreds>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getCreateTime() 
  
    
public   Timestamp   getCreateTime ()  
   Output only. The time the user creds were created.
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        Timestamp The createTime.
 
     
  
  getCreateTimeOrBuilder() 
  
    
public   TimestampOrBuilder   getCreateTimeOrBuilder ()  
   Output only. The time the user creds were created.
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
getDefaultInstanceForType() 
  
    
public   UserCreds   getDefaultInstanceForType ()  
  
  getName() 
  
   Identifier. The resource name of the UserCreds.
 Format:
 projects/{project}/databases/{database}/userCreds/{user_creds}
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
    
      
        Returns  
      
        Type Description  
      
        String The name.
 
     
  
  getNameBytes() 
  
    
public   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];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for name.
 
     
  
  getParserForType() 
  
    
public   Parser<UserCreds>   getParserForType ()  
  
  Overrides 
  
  getResourceIdentity() 
  
    
public   UserCreds . ResourceIdentity   getResourceIdentity ()  
   Resource Identity descriptor.
 .google.firestore.admin.v1.UserCreds.ResourceIdentity resource_identity = 6;
getResourceIdentityOrBuilder() 
  
    
public   UserCreds . ResourceIdentityOrBuilder   getResourceIdentityOrBuilder ()  
   Resource Identity descriptor.
 .google.firestore.admin.v1.UserCreds.ResourceIdentity resource_identity = 6;
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];
    
      
        Returns  
      
        Type Description  
      
        String The securePassword.
 
     
  
  getSecurePasswordBytes() 
  
    
public   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];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for securePassword.
 
     
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  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];
 
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];
 
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire for state.
 
     
  
  getUpdateTime() 
  
    
public   Timestamp   getUpdateTime ()  
   Output only. The time the user creds were last updated.
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        Timestamp The updateTime.
 
     
  
  getUpdateTimeOrBuilder() 
  
    
public   TimestampOrBuilder   getUpdateTimeOrBuilder ()  
   Output only. The time the user creds were last updated.
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
getUserCredsIdentityCase() 
  
    
public   UserCreds . UserCredsIdentityCase   getUserCredsIdentityCase ()  
  
  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];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the createTime field is set.
 
     
  
  hasResourceIdentity() 
  
    
public   boolean   hasResourceIdentity ()  
   Resource Identity descriptor.
 .google.firestore.admin.v1.UserCreds.ResourceIdentity resource_identity = 6;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the resourceIdentity field is set.
 
     
  
  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];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the updateTime field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   UserCreds . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   UserCreds . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   UserCreds . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]