Interface CheckResponse.ConsumerInfoOrBuilder (1.43.0)

public static interface CheckResponse.ConsumerInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConsumerNumber()

public abstract long getConsumerNumber()

The consumer identity number, can be Google cloud project number, folder number or organization number e.g. 1234567890. A value of 0 indicates no consumer number is found.

int64 consumer_number = 3;

Returns
Type Description
long

The consumerNumber.

getProjectNumber()

public abstract long getProjectNumber()

The Google cloud project number, e.g. 1234567890. A value of 0 indicates no project number is found.

NOTE: This field is deprecated after we support flexible consumer id. New code should not depend on this field anymore.

int64 project_number = 1;

Returns
Type Description
long

The projectNumber.

getType()

public abstract CheckResponse.ConsumerInfo.ConsumerType getType()

The type of the consumer which should have been defined in Google Resource Manager.

.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.ConsumerType type = 2;

Returns
Type Description
CheckResponse.ConsumerInfo.ConsumerType

The type.

getTypeValue()

public abstract int getTypeValue()

The type of the consumer which should have been defined in Google Resource Manager.

.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.ConsumerType type = 2;

Returns
Type Description
int

The enum numeric value on the wire for type.