All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.shopping.merchant.accounts.v1beta.UserOrBuilder Maven / Gradle / Ivy

/*
 * Copyright 2024 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!
// source: google/shopping/merchant/accounts/v1beta/user.proto

// Protobuf Java Version: 3.25.5
package com.google.shopping.merchant.accounts.v1beta;

public interface UserOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.shopping.merchant.accounts.v1beta.User)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Identifier. The resource name of the user.
   * Format: `accounts/{account}/user/{email}`
   *
   * Use `me` to refer to your own email address, for example
   * `accounts/{account}/users/me`.
   * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ java.lang.String getName(); /** * * *
   * Identifier. The resource name of the user.
   * Format: `accounts/{account}/user/{email}`
   *
   * Use `me` to refer to your own email address, for example
   * `accounts/{account}/users/me`.
   * 
* * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * Output only. The state of the user.
   * 
* * * .google.shopping.merchant.accounts.v1beta.User.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** * * *
   * Output only. The state of the user.
   * 
* * * .google.shopping.merchant.accounts.v1beta.User.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The state. */ com.google.shopping.merchant.accounts.v1beta.User.State getState(); /** * * *
   * Optional. The [access
   * rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes)
   * the user has.
   * 
* * * repeated .google.shopping.merchant.accounts.v1beta.AccessRight access_rights = 4 [(.google.api.field_behavior) = OPTIONAL]; * * * @return A list containing the accessRights. */ java.util.List getAccessRightsList(); /** * * *
   * Optional. The [access
   * rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes)
   * the user has.
   * 
* * * repeated .google.shopping.merchant.accounts.v1beta.AccessRight access_rights = 4 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The count of accessRights. */ int getAccessRightsCount(); /** * * *
   * Optional. The [access
   * rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes)
   * the user has.
   * 
* * * repeated .google.shopping.merchant.accounts.v1beta.AccessRight access_rights = 4 [(.google.api.field_behavior) = OPTIONAL]; * * * @param index The index of the element to return. * @return The accessRights at the given index. */ com.google.shopping.merchant.accounts.v1beta.AccessRight getAccessRights(int index); /** * * *
   * Optional. The [access
   * rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes)
   * the user has.
   * 
* * * repeated .google.shopping.merchant.accounts.v1beta.AccessRight access_rights = 4 [(.google.api.field_behavior) = OPTIONAL]; * * * @return A list containing the enum numeric values on the wire for accessRights. */ java.util.List getAccessRightsValueList(); /** * * *
   * Optional. The [access
   * rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes)
   * the user has.
   * 
* * * repeated .google.shopping.merchant.accounts.v1beta.AccessRight access_rights = 4 [(.google.api.field_behavior) = OPTIONAL]; * * * @param index The index of the value to return. * @return The enum numeric value on the wire of accessRights at the given index. */ int getAccessRightsValue(int index); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy