- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.1.10
public static final class CheckResponse.ConsumerInfo.Builder extends GeneratedMessageV3.Builder<CheckResponse.ConsumerInfo.Builder> implements CheckResponse.ConsumerInfoOrBuilder
ConsumerInfo
provides information about the consumer.
Protobuf type google.api.servicecontrol.v1.CheckResponse.ConsumerInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CheckResponse.ConsumerInfo.BuilderImplements
CheckResponse.ConsumerInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CheckResponse.ConsumerInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CheckResponse.ConsumerInfo.Builder |
build()
public CheckResponse.ConsumerInfo build()
Type | Description |
CheckResponse.ConsumerInfo |
buildPartial()
public CheckResponse.ConsumerInfo buildPartial()
Type | Description |
CheckResponse.ConsumerInfo |
clear()
public CheckResponse.ConsumerInfo.Builder clear()
Type | Description |
CheckResponse.ConsumerInfo.Builder |
clearConsumerNumber()
public CheckResponse.ConsumerInfo.Builder clearConsumerNumber()
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;
Type | Description |
CheckResponse.ConsumerInfo.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CheckResponse.ConsumerInfo.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CheckResponse.ConsumerInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CheckResponse.ConsumerInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CheckResponse.ConsumerInfo.Builder |
clearProjectNumber()
public CheckResponse.ConsumerInfo.Builder clearProjectNumber()
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;
Type | Description |
CheckResponse.ConsumerInfo.Builder | This builder for chaining. |
clearType()
public CheckResponse.ConsumerInfo.Builder clearType()
The type of the consumer which should have been defined in Google Resource Manager.
.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.ConsumerType type = 2;
Type | Description |
CheckResponse.ConsumerInfo.Builder | This builder for chaining. |
clone()
public CheckResponse.ConsumerInfo.Builder clone()
Type | Description |
CheckResponse.ConsumerInfo.Builder |
getConsumerNumber()
public 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;
Type | Description |
long | The consumerNumber. |
getDefaultInstanceForType()
public CheckResponse.ConsumerInfo getDefaultInstanceForType()
Type | Description |
CheckResponse.ConsumerInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getProjectNumber()
public 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;
Type | Description |
long | The projectNumber. |
getType()
public 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;
Type | Description |
CheckResponse.ConsumerInfo.ConsumerType | The type. |
getTypeValue()
public 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;
Type | Description |
int | The enum numeric value on the wire for type. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CheckResponse.ConsumerInfo other)
public CheckResponse.ConsumerInfo.Builder mergeFrom(CheckResponse.ConsumerInfo other)
Name | Description |
other | CheckResponse.ConsumerInfo |
Type | Description |
CheckResponse.ConsumerInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CheckResponse.ConsumerInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CheckResponse.ConsumerInfo.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CheckResponse.ConsumerInfo.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CheckResponse.ConsumerInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CheckResponse.ConsumerInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CheckResponse.ConsumerInfo.Builder |
setConsumerNumber(long value)
public CheckResponse.ConsumerInfo.Builder setConsumerNumber(long value)
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;
Name | Description |
value | long The consumerNumber to set. |
Type | Description |
CheckResponse.ConsumerInfo.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CheckResponse.ConsumerInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CheckResponse.ConsumerInfo.Builder |
setProjectNumber(long value)
public CheckResponse.ConsumerInfo.Builder setProjectNumber(long value)
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;
Name | Description |
value | long The projectNumber to set. |
Type | Description |
CheckResponse.ConsumerInfo.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CheckResponse.ConsumerInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CheckResponse.ConsumerInfo.Builder |
setType(CheckResponse.ConsumerInfo.ConsumerType value)
public CheckResponse.ConsumerInfo.Builder setType(CheckResponse.ConsumerInfo.ConsumerType value)
The type of the consumer which should have been defined in Google Resource Manager.
.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.ConsumerType type = 2;
Name | Description |
value | CheckResponse.ConsumerInfo.ConsumerType The type to set. |
Type | Description |
CheckResponse.ConsumerInfo.Builder | This builder for chaining. |
setTypeValue(int value)
public CheckResponse.ConsumerInfo.Builder setTypeValue(int value)
The type of the consumer which should have been defined in Google Resource Manager.
.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.ConsumerType type = 2;
Name | Description |
value | int The enum numeric value on the wire for type to set. |
Type | Description |
CheckResponse.ConsumerInfo.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CheckResponse.ConsumerInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CheckResponse.ConsumerInfo.Builder |