Interface CheckResponse.ConsumerInfoOrBuilder (1.17.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for type.