/*
 * Copyright 2026 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: google/firestore/admin/v1/user_creds.proto
// Protobuf Java Version: 4.33.2

package com.google.firestore.admin.v1;

@com.google.protobuf.Generated
public interface UserCredsOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.UserCreds)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Identifier. The resource name of the UserCreds.
   * Format:
   * `projects/{project}/databases/{database}/userCreds/{user_creds}`
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = IDENTIFIER];</code>
   *
   * @return The name.
   */
  java.lang.String getName();

  /**
   *
   *
   * <pre>
   * Identifier. The resource name of the UserCreds.
   * Format:
   * `projects/{project}/databases/{database}/userCreds/{user_creds}`
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = IDENTIFIER];</code>
   *
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * Output only. The time the user creds were created.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the createTime field is set.
   */
  boolean hasCreateTime();

  /**
   *
   *
   * <pre>
   * Output only. The time the user creds were created.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The createTime.
   */
  com.google.protobuf.Timestamp getCreateTime();

  /**
   *
   *
   * <pre>
   * Output only. The time the user creds were created.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. The time the user creds were last updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the updateTime field is set.
   */
  boolean hasUpdateTime();

  /**
   *
   *
   * <pre>
   * Output only. The time the user creds were last updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The updateTime.
   */
  com.google.protobuf.Timestamp getUpdateTime();

  /**
   *
   *
   * <pre>
   * Output only. The time the user creds were last updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. Whether the user creds are enabled or disabled. Defaults to
   * ENABLED on creation.
   * </pre>
   *
   * <code>
   * .google.firestore.admin.v1.UserCreds.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The enum numeric value on the wire for state.
   */
  int getStateValue();

  /**
   *
   *
   * <pre>
   * Output only. Whether the user creds are enabled or disabled. Defaults to
   * ENABLED on creation.
   * </pre>
   *
   * <code>
   * .google.firestore.admin.v1.UserCreds.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The state.
   */
  com.google.firestore.admin.v1.UserCreds.State getState();

  /**
   *
   *
   * <pre>
   * Output only. The plaintext server-generated password for the user creds.
   * Only populated in responses for CreateUserCreds and ResetUserPassword.
   * </pre>
   *
   * <code>string secure_password = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The securePassword.
   */
  java.lang.String getSecurePassword();

  /**
   *
   *
   * <pre>
   * Output only. The plaintext server-generated password for the user creds.
   * Only populated in responses for CreateUserCreds and ResetUserPassword.
   * </pre>
   *
   * <code>string secure_password = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for securePassword.
   */
  com.google.protobuf.ByteString getSecurePasswordBytes();

  /**
   *
   *
   * <pre>
   * Resource Identity descriptor.
   * </pre>
   *
   * <code>.google.firestore.admin.v1.UserCreds.ResourceIdentity resource_identity = 6;</code>
   *
   * @return Whether the resourceIdentity field is set.
   */
  boolean hasResourceIdentity();

  /**
   *
   *
   * <pre>
   * Resource Identity descriptor.
   * </pre>
   *
   * <code>.google.firestore.admin.v1.UserCreds.ResourceIdentity resource_identity = 6;</code>
   *
   * @return The resourceIdentity.
   */
  com.google.firestore.admin.v1.UserCreds.ResourceIdentity getResourceIdentity();

  /**
   *
   *
   * <pre>
   * Resource Identity descriptor.
   * </pre>
   *
   * <code>.google.firestore.admin.v1.UserCreds.ResourceIdentity resource_identity = 6;</code>
   */
  com.google.firestore.admin.v1.UserCreds.ResourceIdentityOrBuilder getResourceIdentityOrBuilder();

  com.google.firestore.admin.v1.UserCreds.UserCredsIdentityCase getUserCredsIdentityCase();
}
