public interface UserOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAccessRights(int index)
public abstract AccessRight getAccessRights(int index)Required. The access rights the user has.
repeated .google.shopping.merchant.accounts.v1.AccessRight access_rights = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
AccessRight |
The accessRights at the given index. |
getAccessRightsCount()
public abstract int getAccessRightsCount()Required. The access rights the user has.
repeated .google.shopping.merchant.accounts.v1.AccessRight access_rights = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of accessRights. |
getAccessRightsList()
public abstract List<AccessRight> getAccessRightsList()Required. The access rights the user has.
repeated .google.shopping.merchant.accounts.v1.AccessRight access_rights = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<AccessRight> |
A list containing the accessRights. |
getAccessRightsValue(int index)
public abstract int getAccessRightsValue(int index)Required. The access rights the user has.
repeated .google.shopping.merchant.accounts.v1.AccessRight access_rights = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of accessRights at the given index. |
getAccessRightsValueList()
public abstract List<Integer> getAccessRightsValueList()Required. The access rights the user has.
repeated .google.shopping.merchant.accounts.v1.AccessRight access_rights = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for accessRights. |
getName()
public abstract 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];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes() 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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getState()
public abstract User.State getState()Output only. The state of the user.
.google.shopping.merchant.accounts.v1.User.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
User.State |
The state. |
getStateValue()
public abstract int getStateValue()Output only. The state of the user.
.google.shopping.merchant.accounts.v1.User.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |