Class CheckResponse.CheckInfo (1.40.0)

public static final class CheckResponse.CheckInfo extends GeneratedMessageV3 implements CheckResponse.CheckInfoOrBuilder

Contains additional information about the check operation.

Protobuf type google.api.servicecontrol.v1.CheckResponse.CheckInfo

Static Fields

API_KEY_UID_FIELD_NUMBER

public static final int API_KEY_UID_FIELD_NUMBER
Field Value
TypeDescription
int

CONSUMER_INFO_FIELD_NUMBER

public static final int CONSUMER_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

UNUSED_ARGUMENTS_FIELD_NUMBER

public static final int UNUSED_ARGUMENTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CheckResponse.CheckInfo getDefaultInstance()
Returns
TypeDescription
CheckResponse.CheckInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CheckResponse.CheckInfo.Builder newBuilder()
Returns
TypeDescription
CheckResponse.CheckInfo.Builder

newBuilder(CheckResponse.CheckInfo prototype)

public static CheckResponse.CheckInfo.Builder newBuilder(CheckResponse.CheckInfo prototype)
Parameter
NameDescription
prototypeCheckResponse.CheckInfo
Returns
TypeDescription
CheckResponse.CheckInfo.Builder

parseDelimitedFrom(InputStream input)

public static CheckResponse.CheckInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CheckResponse.CheckInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckResponse.CheckInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckResponse.CheckInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CheckResponse.CheckInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CheckResponse.CheckInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CheckResponse.CheckInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckResponse.CheckInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CheckResponse.CheckInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CheckResponse.CheckInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CheckResponse.CheckInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckResponse.CheckInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CheckResponse.CheckInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CheckResponse.CheckInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckResponse.CheckInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckResponse.CheckInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CheckResponse.CheckInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CheckResponse.CheckInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckResponse.CheckInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckResponse.CheckInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CheckResponse.CheckInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CheckResponse.CheckInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CheckResponse.CheckInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckResponse.CheckInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CheckResponse.CheckInfo> parser()
Returns
TypeDescription
Parser<CheckInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getApiKeyUid()

public String getApiKeyUid()

The unique id of the api key in the format of "apikey:<UID>". This field will be populated when the consumer passed to Service Control is an API key and all the API key related validations are successful.

string api_key_uid = 5;

Returns
TypeDescription
String

The apiKeyUid.

getApiKeyUidBytes()

public ByteString getApiKeyUidBytes()

The unique id of the api key in the format of "apikey:<UID>". This field will be populated when the consumer passed to Service Control is an API key and all the API key related validations are successful.

string api_key_uid = 5;

Returns
TypeDescription
ByteString

The bytes for apiKeyUid.

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.

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

getParserForType()

public Parser<CheckResponse.CheckInfo> getParserForType()
Returns
TypeDescription
Parser<CheckInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CheckResponse.CheckInfo.Builder newBuilderForType()
Returns
TypeDescription
CheckResponse.CheckInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CheckResponse.CheckInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CheckResponse.CheckInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CheckResponse.CheckInfo.Builder toBuilder()
Returns
TypeDescription
CheckResponse.CheckInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException