Package com.google.api.servicecontrol.v1
Interface CheckResponse.ConsumerInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CheckResponse.ConsumerInfo,CheckResponse.ConsumerInfo.Builder
- Enclosing class:
- CheckResponse
public static interface CheckResponse.ConsumerInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetConsumerNumber()The consumer identity number, can be Google cloud project number, folder number or organization number e.g.longgetProjectNumber()The Google cloud project number, e.g.CheckResponse.ConsumerInfo.ConsumerTypegetType()The type of the consumer which should have been defined in [Google Resource Manager](https://cloud.google.com/resource-manager/).intgetTypeValue()The type of the consumer which should have been defined in [Google Resource Manager](https://cloud.google.com/resource-manager/).-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getProjectNumber
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:
- The projectNumber.
-
getTypeValue
int getTypeValue()
The type of the consumer which should have been defined in [Google Resource Manager](https://cloud.google.com/resource-manager/).
.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.ConsumerType type = 2;- Returns:
- The enum numeric value on the wire for type.
-
getType
CheckResponse.ConsumerInfo.ConsumerType getType()
The type of the consumer which should have been defined in [Google Resource Manager](https://cloud.google.com/resource-manager/).
.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.ConsumerType type = 2;- Returns:
- The type.
-
getConsumerNumber
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:
- The consumerNumber.
-
-