public static final class CheckResponse.CheckInfo.Builder extends GeneratedMessageV3.Builder<CheckResponse.CheckInfo.Builder> implements CheckResponse.CheckInfoOrBuilder
Contains additional information about the check operation.
Protobuf type google.api.servicecontrol.v1.CheckResponse.CheckInfo
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllUnusedArguments(Iterable<String> values)
public CheckResponse.CheckInfo.Builder addAllUnusedArguments(Iterable<String> values)
A list of fields and label keys that are ignored by the server.
The client doesn't need to send them for following requests to improve
performance and allow better aggregation.
repeated string unused_arguments = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CheckResponse.CheckInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addUnusedArguments(String value)
public CheckResponse.CheckInfo.Builder addUnusedArguments(String value)
A list of fields and label keys that are ignored by the server.
The client doesn't need to send them for following requests to improve
performance and allow better aggregation.
repeated string unused_arguments = 1;
Parameter
Name | Description |
value | String
The unusedArguments to add.
|
Returns
addUnusedArgumentsBytes(ByteString value)
public CheckResponse.CheckInfo.Builder addUnusedArgumentsBytes(ByteString value)
A list of fields and label keys that are ignored by the server.
The client doesn't need to send them for following requests to improve
performance and allow better aggregation.
repeated string unused_arguments = 1;
Parameter
Name | Description |
value | ByteString
The bytes of the unusedArguments to add.
|
Returns
build()
public CheckResponse.CheckInfo build()
Returns
buildPartial()
public CheckResponse.CheckInfo buildPartial()
Returns
clear()
public CheckResponse.CheckInfo.Builder clear()
Returns
Overrides
clearConsumerInfo()
public CheckResponse.CheckInfo.Builder clearConsumerInfo()
Consumer info of this check.
.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public CheckResponse.CheckInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CheckResponse.CheckInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUnusedArguments()
public CheckResponse.CheckInfo.Builder clearUnusedArguments()
A list of fields and label keys that are ignored by the server.
The client doesn't need to send them for following requests to improve
performance and allow better aggregation.
repeated string unused_arguments = 1;
Returns
clone()
public CheckResponse.CheckInfo.Builder clone()
Returns
Overrides
getConsumerInfo()
public CheckResponse.ConsumerInfo getConsumerInfo()
Consumer info of this check.
.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2;
Returns
getConsumerInfoBuilder()
public CheckResponse.ConsumerInfo.Builder getConsumerInfoBuilder()
Consumer info of this check.
.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2;
Returns
getConsumerInfoOrBuilder()
public CheckResponse.ConsumerInfoOrBuilder getConsumerInfoOrBuilder()
Consumer info of this check.
.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2;
Returns
getDefaultInstanceForType()
public CheckResponse.CheckInfo getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getUnusedArguments(int index)
public String getUnusedArguments(int index)
A list of fields and label keys that are ignored by the server.
The client doesn't need to send them for following requests to improve
performance and allow better aggregation.
repeated string unused_arguments = 1;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The unusedArguments at the given index.
|
getUnusedArgumentsBytes(int index)
public ByteString getUnusedArgumentsBytes(int index)
A list of fields and label keys that are ignored by the server.
The client doesn't need to send them for following requests to improve
performance and allow better aggregation.
repeated string unused_arguments = 1;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the unusedArguments at the given index.
|
getUnusedArgumentsCount()
public int getUnusedArgumentsCount()
A list of fields and label keys that are ignored by the server.
The client doesn't need to send them for following requests to improve
performance and allow better aggregation.
repeated string unused_arguments = 1;
Returns
Type | Description |
int | The count of unusedArguments.
|
getUnusedArgumentsList()
public ProtocolStringList getUnusedArgumentsList()
A list of fields and label keys that are ignored by the server.
The client doesn't need to send them for following requests to improve
performance and allow better aggregation.
repeated string unused_arguments = 1;
Returns
hasConsumerInfo()
public boolean hasConsumerInfo()
Consumer info of this check.
.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2;
Returns
Type | Description |
boolean | Whether the consumerInfo field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeConsumerInfo(CheckResponse.ConsumerInfo value)
public CheckResponse.CheckInfo.Builder mergeConsumerInfo(CheckResponse.ConsumerInfo value)
Consumer info of this check.
.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2;
Parameter
Returns
mergeFrom(CheckResponse.CheckInfo other)
public CheckResponse.CheckInfo.Builder mergeFrom(CheckResponse.CheckInfo other)
Parameter
Returns
public CheckResponse.CheckInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CheckResponse.CheckInfo.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CheckResponse.CheckInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setConsumerInfo(CheckResponse.ConsumerInfo value)
public CheckResponse.CheckInfo.Builder setConsumerInfo(CheckResponse.ConsumerInfo value)
Consumer info of this check.
.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2;
Parameter
Returns
setConsumerInfo(CheckResponse.ConsumerInfo.Builder builderForValue)
public CheckResponse.CheckInfo.Builder setConsumerInfo(CheckResponse.ConsumerInfo.Builder builderForValue)
Consumer info of this check.
.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CheckResponse.CheckInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CheckResponse.CheckInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CheckResponse.CheckInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUnusedArguments(int index, String value)
public CheckResponse.CheckInfo.Builder setUnusedArguments(int index, String value)
A list of fields and label keys that are ignored by the server.
The client doesn't need to send them for following requests to improve
performance and allow better aggregation.
repeated string unused_arguments = 1;
Parameters
Name | Description |
index | int
The index to set the value at.
|
value | String
The unusedArguments to set.
|
Returns