Package com.google.api.servicecontrol.v2
Class CheckRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.api.servicecontrol.v2.CheckRequest
-
- All Implemented Interfaces:
CheckRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class CheckRequest extends com.google.protobuf.GeneratedMessageV3 implements CheckRequestOrBuilder
Request message for the Check method.
Protobuf typegoogle.api.servicecontrol.v2.CheckRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCheckRequest.BuilderRequest message for the Check method.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intATTRIBUTES_FIELD_NUMBERstatic intFLAGS_FIELD_NUMBERstatic intRESOURCES_FIELD_NUMBERstatic intSERVICE_CONFIG_ID_FIELD_NUMBERstatic intSERVICE_NAME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)com.google.rpc.context.AttributeContextgetAttributes()Describes attributes about the operation being executed by the service.com.google.rpc.context.AttributeContextOrBuildergetAttributesOrBuilder()Describes attributes about the operation being executed by the service.static CheckRequestgetDefaultInstance()CheckRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetFlags()Optional.com.google.protobuf.ByteStringgetFlagsBytes()Optional.com.google.protobuf.Parser<CheckRequest>getParserForType()ResourceInfogetResources(int index)Describes the resources and the policies applied to each resource.intgetResourcesCount()Describes the resources and the policies applied to each resource.List<ResourceInfo>getResourcesList()Describes the resources and the policies applied to each resource.ResourceInfoOrBuildergetResourcesOrBuilder(int index)Describes the resources and the policies applied to each resource.List<? extends ResourceInfoOrBuilder>getResourcesOrBuilderList()Describes the resources and the policies applied to each resource.intgetSerializedSize()StringgetServiceConfigId()Specifies the version of the service configuration that should be used to process the request.com.google.protobuf.ByteStringgetServiceConfigIdBytes()Specifies the version of the service configuration that should be used to process the request.StringgetServiceName()The service name as specified in its service configuration.com.google.protobuf.ByteStringgetServiceNameBytes()The service name as specified in its service configuration.booleanhasAttributes()Describes attributes about the operation being executed by the service.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static CheckRequest.BuildernewBuilder()static CheckRequest.BuildernewBuilder(CheckRequest prototype)CheckRequest.BuildernewBuilderForType()protected CheckRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static CheckRequestparseDelimitedFrom(InputStream input)static CheckRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CheckRequestparseFrom(byte[] data)static CheckRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CheckRequestparseFrom(com.google.protobuf.ByteString data)static CheckRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CheckRequestparseFrom(com.google.protobuf.CodedInputStream input)static CheckRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CheckRequestparseFrom(InputStream input)static CheckRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CheckRequestparseFrom(ByteBuffer data)static CheckRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<CheckRequest>parser()CheckRequest.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SERVICE_NAME_FIELD_NUMBER
public static final int SERVICE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_CONFIG_ID_FIELD_NUMBER
public static final int SERVICE_CONFIG_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTRIBUTES_FIELD_NUMBER
public static final int ATTRIBUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FLAGS_FIELD_NUMBER
public static final int FLAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getServiceName
public String getServiceName()
The service name as specified in its service configuration. For example, `"pubsub.googleapis.com"`. See [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) for the definition of a service name.
string service_name = 1;- Specified by:
getServiceNamein interfaceCheckRequestOrBuilder- Returns:
- The serviceName.
-
getServiceNameBytes
public com.google.protobuf.ByteString getServiceNameBytes()
The service name as specified in its service configuration. For example, `"pubsub.googleapis.com"`. See [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) for the definition of a service name.
string service_name = 1;- Specified by:
getServiceNameBytesin interfaceCheckRequestOrBuilder- Returns:
- The bytes for serviceName.
-
getServiceConfigId
public String getServiceConfigId()
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;- Specified by:
getServiceConfigIdin interfaceCheckRequestOrBuilder- Returns:
- The serviceConfigId.
-
getServiceConfigIdBytes
public com.google.protobuf.ByteString getServiceConfigIdBytes()
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;- Specified by:
getServiceConfigIdBytesin interfaceCheckRequestOrBuilder- Returns:
- The bytes for serviceConfigId.
-
hasAttributes
public boolean hasAttributes()
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;- Specified by:
hasAttributesin interfaceCheckRequestOrBuilder- Returns:
- Whether the attributes field is set.
-
getAttributes
public com.google.rpc.context.AttributeContext getAttributes()
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;- Specified by:
getAttributesin interfaceCheckRequestOrBuilder- Returns:
- The attributes.
-
getAttributesOrBuilder
public com.google.rpc.context.AttributeContextOrBuilder getAttributesOrBuilder()
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;- Specified by:
getAttributesOrBuilderin interfaceCheckRequestOrBuilder
-
getResourcesList
public List<ResourceInfo> getResourcesList()
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;- Specified by:
getResourcesListin interfaceCheckRequestOrBuilder
-
getResourcesOrBuilderList
public List<? extends ResourceInfoOrBuilder> getResourcesOrBuilderList()
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;- Specified by:
getResourcesOrBuilderListin interfaceCheckRequestOrBuilder
-
getResourcesCount
public int getResourcesCount()
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;- Specified by:
getResourcesCountin interfaceCheckRequestOrBuilder
-
getResources
public ResourceInfo getResources(int index)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;- Specified by:
getResourcesin interfaceCheckRequestOrBuilder
-
getResourcesOrBuilder
public ResourceInfoOrBuilder getResourcesOrBuilder(int index)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;- Specified by:
getResourcesOrBuilderin interfaceCheckRequestOrBuilder
-
getFlags
public String getFlags()
Optional. Contains a comma-separated list of flags.
string flags = 5;- Specified by:
getFlagsin interfaceCheckRequestOrBuilder- Returns:
- The flags.
-
getFlagsBytes
public com.google.protobuf.ByteString getFlagsBytes()
Optional. Contains a comma-separated list of flags.
string flags = 5;- Specified by:
getFlagsBytesin interfaceCheckRequestOrBuilder- Returns:
- The bytes for flags.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CheckRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CheckRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CheckRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CheckRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CheckRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CheckRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CheckRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CheckRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CheckRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CheckRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static CheckRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CheckRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public CheckRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CheckRequest.Builder newBuilder()
-
newBuilder
public static CheckRequest.Builder newBuilder(CheckRequest prototype)
-
toBuilder
public CheckRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CheckRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static CheckRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CheckRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<CheckRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CheckRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-