Class CheckRequest (1.1.10)

publicfinalclass CheckRequestextendsGeneratedMessageV3implementsCheckRequestOrBuilder

Request message for the Check method.

Protobuf type google.api.servicecontrol.v2.CheckRequest

Inherited Members

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

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description

newBuilder()

publicstaticCheckRequest.BuildernewBuilder()
Returns
Type Description

newBuilder(CheckRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

publicstaticCheckRequestparseFrom(CodedInputStreaminput)
Parameter
Name Description
Returns
Type Description
Exceptions
Type Description

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCheckRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

publicstaticParser<CheckRequest>parser()
Returns
Type Description

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
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

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

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

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

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.

getUnknownFields()

publicfinalUnknownFieldSetgetUnknownFields()
Returns
Type Description
Overrides

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
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
Overrides

newBuilderForType()

publicCheckRequest.BuildernewBuilderForType()
Returns
Type Description

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

publicCheckRequest.BuildertoBuilder()
Returns
Type Description

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
Overrides Exceptions
Type Description

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.