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 class
CheckRequest.Builder
Request 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 int
ATTRIBUTES_FIELD_NUMBER
static int
FLAGS_FIELD_NUMBER
static int
RESOURCES_FIELD_NUMBER
static int
SERVICE_CONFIG_ID_FIELD_NUMBER
static int
SERVICE_NAME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
com.google.rpc.context.AttributeContext
getAttributes()
Describes attributes about the operation being executed by the service.com.google.rpc.context.AttributeContextOrBuilder
getAttributesOrBuilder()
Describes attributes about the operation being executed by the service.static CheckRequest
getDefaultInstance()
CheckRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getFlags()
Optional.com.google.protobuf.ByteString
getFlagsBytes()
Optional.com.google.protobuf.Parser<CheckRequest>
getParserForType()
ResourceInfo
getResources(int index)
Describes the resources and the policies applied to each resource.int
getResourcesCount()
Describes the resources and the policies applied to each resource.List<ResourceInfo>
getResourcesList()
Describes the resources and the policies applied to each resource.ResourceInfoOrBuilder
getResourcesOrBuilder(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.int
getSerializedSize()
String
getServiceConfigId()
Specifies the version of the service configuration that should be used to process the request.com.google.protobuf.ByteString
getServiceConfigIdBytes()
Specifies the version of the service configuration that should be used to process the request.String
getServiceName()
The service name as specified in its service configuration.com.google.protobuf.ByteString
getServiceNameBytes()
The service name as specified in its service configuration.boolean
hasAttributes()
Describes attributes about the operation being executed by the service.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static CheckRequest.Builder
newBuilder()
static CheckRequest.Builder
newBuilder(CheckRequest prototype)
CheckRequest.Builder
newBuilderForType()
protected CheckRequest.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static CheckRequest
parseDelimitedFrom(InputStream input)
static CheckRequest
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CheckRequest
parseFrom(byte[] data)
static CheckRequest
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CheckRequest
parseFrom(com.google.protobuf.ByteString data)
static CheckRequest
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CheckRequest
parseFrom(com.google.protobuf.CodedInputStream input)
static CheckRequest
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CheckRequest
parseFrom(InputStream input)
static CheckRequest
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CheckRequest
parseFrom(ByteBuffer data)
static CheckRequest
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<CheckRequest>
parser()
CheckRequest.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getServiceName
in 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:
getServiceNameBytes
in 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:
getServiceConfigId
in 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:
getServiceConfigIdBytes
in 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:
hasAttributes
in 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:
getAttributes
in 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:
getAttributesOrBuilder
in 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:
getResourcesList
in 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:
getResourcesOrBuilderList
in 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:
getResourcesCount
in 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:
getResources
in 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:
getResourcesOrBuilder
in interfaceCheckRequestOrBuilder
-
getFlags
public String getFlags()
Optional. Contains a comma-separated list of flags.
string flags = 5;
- Specified by:
getFlags
in interfaceCheckRequestOrBuilder
- Returns:
- The flags.
-
getFlagsBytes
public com.google.protobuf.ByteString getFlagsBytes()
Optional. Contains a comma-separated list of flags.
string flags = 5;
- Specified by:
getFlagsBytes
in interfaceCheckRequestOrBuilder
- Returns:
- The bytes for flags.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CheckRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CheckRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-