Class CheckRequest (1.46.0)

publicfinalclass CheckRequestextendsGeneratedMessageV3implementsCheckRequestOrBuilder

Request message for the Check method.

Protobuf type google.api.servicecontrol.v2.CheckRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

ATTRIBUTES_FIELD_NUMBER

publicstaticfinalintATTRIBUTES_FIELD_NUMBER
Field Value
Type Description
int

FLAGS_FIELD_NUMBER

publicstaticfinalintFLAGS_FIELD_NUMBER
Field Value
Type Description
int

RESOURCES_FIELD_NUMBER

publicstaticfinalintRESOURCES_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_CONFIG_ID_FIELD_NUMBER

publicstaticfinalintSERVICE_CONFIG_ID_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_NAME_FIELD_NUMBER

publicstaticfinalintSERVICE_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticCheckRequestgetDefaultInstance()
Returns
Type Description
CheckRequest

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticCheckRequest.BuildernewBuilder()
Returns
Type Description
CheckRequest.Builder

newBuilder(CheckRequest prototype)

publicstaticCheckRequest.BuildernewBuilder(CheckRequestprototype)
Parameter
Name Description
prototype CheckRequest
Returns
Type Description
CheckRequest.Builder

parseDelimitedFrom(InputStream input)

publicstaticCheckRequestparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
CheckRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCheckRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticCheckRequestparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
CheckRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticCheckRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticCheckRequestparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
CheckRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticCheckRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticCheckRequestparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CheckRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCheckRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticCheckRequestparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
CheckRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCheckRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticCheckRequestparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CheckRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticCheckRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<CheckRequest>parser()
Returns
Type Description
Parser<CheckRequest>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAttributes()

publicAttributeContextgetAttributes()

Describes attributes about the operation being executed by the service.

.google.rpc.context.AttributeContext attributes = 3;

Returns
Type Description
com.google.rpc.context.AttributeContext

The attributes.

getAttributesOrBuilder()

publicAttributeContextOrBuildergetAttributesOrBuilder()

Describes attributes about the operation being executed by the service.

.google.rpc.context.AttributeContext attributes = 3;

Returns
Type Description
com.google.rpc.context.AttributeContextOrBuilder

getDefaultInstanceForType()

publicCheckRequestgetDefaultInstanceForType()
Returns
Type Description
CheckRequest

getFlags()

publicStringgetFlags()

Optional. Contains a comma-separated list of flags.

string flags = 5;

Returns
Type Description
String

The flags.

getFlagsBytes()

publicByteStringgetFlagsBytes()

Optional. Contains a comma-separated list of flags.

string flags = 5;

Returns
Type Description
ByteString

The bytes for flags.

getParserForType()

publicParser<CheckRequest>getParserForType()
Returns
Type Description
Parser<CheckRequest>
Overrides

getResources(int index)

publicResourceInfogetResources(intindex)

Describes the resources and the policies applied to each resource.

repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;

Parameter
Name Description
index int
Returns
Type Description
ResourceInfo

getResourcesCount()

publicintgetResourcesCount()

Describes the resources and the policies applied to each resource.

repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;

Returns
Type Description
int

getResourcesList()

publicList<ResourceInfo>getResourcesList()

Describes the resources and the policies applied to each resource.

repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;

Returns
Type Description
List<ResourceInfo>

getResourcesOrBuilder(int index)

publicResourceInfoOrBuildergetResourcesOrBuilder(intindex)

Describes the resources and the policies applied to each resource.

repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;

Parameter
Name Description
index int
Returns
Type Description
ResourceInfoOrBuilder

getResourcesOrBuilderList()

publicList<?extendsResourceInfoOrBuilder>getResourcesOrBuilderList()

Describes the resources and the policies applied to each resource.

repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;

Returns
Type Description
List<? extends com.google.api.servicecontrol.v2.ResourceInfoOrBuilder>

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getServiceConfigId()

publicStringgetServiceConfigId()

Specifies the version of the service configuration that should be used to process the request. Must not be empty. Set this field to 'latest' to specify using the latest configuration.

string service_config_id = 2;

Returns
Type Description
String

The serviceConfigId.

getServiceConfigIdBytes()

publicByteStringgetServiceConfigIdBytes()

Specifies the version of the service configuration that should be used to process the request. Must not be empty. Set this field to 'latest' to specify using the latest configuration.

string service_config_id = 2;

Returns
Type Description
ByteString

The bytes for serviceConfigId.

getServiceName()

publicStringgetServiceName()

The service name as specified in its service configuration. For example, "pubsub.googleapis.com".

See google.api.Service for the definition of a service name.

string service_name = 1;

Returns
Type Description
String

The serviceName.

getServiceNameBytes()

publicByteStringgetServiceNameBytes()

The service name as specified in its service configuration. For example, "pubsub.googleapis.com".

See google.api.Service for the definition of a service name.

string service_name = 1;

Returns
Type Description
ByteString

The bytes for serviceName.

hasAttributes()

publicbooleanhasAttributes()

Describes attributes about the operation being executed by the service.

.google.rpc.context.AttributeContext attributes = 3;

Returns
Type Description
boolean

Whether the attributes field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicCheckRequest.BuildernewBuilderForType()
Returns
Type Description
CheckRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedCheckRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CheckRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicCheckRequest.BuildertoBuilder()
Returns
Type Description
CheckRequest.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.