Class CheckResponse.CheckInfo.Builder (1.28.0)

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
TypeDescription
Descriptor

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
NameDescription
valuesIterable<String>

The unusedArguments to add.

Returns
TypeDescription
CheckResponse.CheckInfo.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CheckResponse.CheckInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CheckResponse.CheckInfo.Builder
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
NameDescription
valueString

The unusedArguments to add.

Returns
TypeDescription
CheckResponse.CheckInfo.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes of the unusedArguments to add.

Returns
TypeDescription
CheckResponse.CheckInfo.Builder

This builder for chaining.

build()

public CheckResponse.CheckInfo build()
Returns
TypeDescription
CheckResponse.CheckInfo

buildPartial()

public CheckResponse.CheckInfo buildPartial()
Returns
TypeDescription
CheckResponse.CheckInfo

clear()

public CheckResponse.CheckInfo.Builder clear()
Returns
TypeDescription
CheckResponse.CheckInfo.Builder
Overrides

clearConsumerInfo()

public CheckResponse.CheckInfo.Builder clearConsumerInfo()

Consumer info of this check.

.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2;

Returns
TypeDescription
CheckResponse.CheckInfo.Builder

clearField(Descriptors.FieldDescriptor field)

public CheckResponse.CheckInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CheckResponse.CheckInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CheckResponse.CheckInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CheckResponse.CheckInfo.Builder
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
TypeDescription
CheckResponse.CheckInfo.Builder

This builder for chaining.

clone()

public CheckResponse.CheckInfo.Builder clone()
Returns
TypeDescription
CheckResponse.CheckInfo.Builder
Overrides

getConsumerInfo()

public CheckResponse.ConsumerInfo getConsumerInfo()

Consumer info of this check.

.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2;

Returns
TypeDescription
CheckResponse.ConsumerInfo

The consumerInfo.

getConsumerInfoBuilder()

public CheckResponse.ConsumerInfo.Builder getConsumerInfoBuilder()

Consumer info of this check.

.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2;

Returns
TypeDescription
CheckResponse.ConsumerInfo.Builder

getConsumerInfoOrBuilder()

public CheckResponse.ConsumerInfoOrBuilder getConsumerInfoOrBuilder()

Consumer info of this check.

.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2;

Returns
TypeDescription
CheckResponse.ConsumerInfoOrBuilder

getDefaultInstanceForType()

public CheckResponse.CheckInfo getDefaultInstanceForType()
Returns
TypeDescription
CheckResponse.CheckInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the unusedArguments.

hasConsumerInfo()

public boolean hasConsumerInfo()

Consumer info of this check.

.google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2;

Returns
TypeDescription
boolean

Whether the consumerInfo field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
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
NameDescription
valueCheckResponse.ConsumerInfo
Returns
TypeDescription
CheckResponse.CheckInfo.Builder

mergeFrom(CheckResponse.CheckInfo other)

public CheckResponse.CheckInfo.Builder mergeFrom(CheckResponse.CheckInfo other)
Parameter
NameDescription
otherCheckResponse.CheckInfo
Returns
TypeDescription
CheckResponse.CheckInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CheckResponse.CheckInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckResponse.CheckInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CheckResponse.CheckInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CheckResponse.CheckInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CheckResponse.CheckInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CheckResponse.CheckInfo.Builder
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
NameDescription
valueCheckResponse.ConsumerInfo
Returns
TypeDescription
CheckResponse.CheckInfo.Builder

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
NameDescription
builderForValueCheckResponse.ConsumerInfo.Builder
Returns
TypeDescription
CheckResponse.CheckInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CheckResponse.CheckInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CheckResponse.CheckInfo.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CheckResponse.CheckInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CheckResponse.CheckInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CheckResponse.CheckInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CheckResponse.CheckInfo.Builder
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
NameDescription
indexint

The index to set the value at.

valueString

The unusedArguments to set.

Returns
TypeDescription
CheckResponse.CheckInfo.Builder

This builder for chaining.