Interface UserOrBuilder (0.1.0)

public interface UserOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccessRights(int index)

public abstract AccessRight getAccessRights(int index)

Optional. The access rights the user has.

repeated .google.shopping.merchant.accounts.v1beta.AccessRight access_rights = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
AccessRight

The accessRights at the given index.

getAccessRightsCount()

public abstract int getAccessRightsCount()

Optional. The access rights the user has.

repeated .google.shopping.merchant.accounts.v1beta.AccessRight access_rights = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of accessRights.

getAccessRightsList()

public abstract List<AccessRight> getAccessRightsList()

Optional. The access rights the user has.

repeated .google.shopping.merchant.accounts.v1beta.AccessRight access_rights = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<AccessRight>

A list containing the accessRights.

getAccessRightsValue(int index)

public abstract int getAccessRightsValue(int index)

Optional. The access rights the user has.

repeated .google.shopping.merchant.accounts.v1beta.AccessRight access_rights = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The 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()

Optional. The access rights the user has.

repeated .google.shopping.merchant.accounts.v1beta.AccessRight access_rights = 4 [(.google.api.field_behavior) = OPTIONAL];

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.v1beta.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.v1beta.User.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.