public static final class CheckRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder> implements CheckRequestOrBuilder
Request message for the Check method.Protobuf type
google.api.servicecontrol.v2.CheckRequest| Modifier and Type | Method and Description |
|---|---|
CheckRequest.Builder |
addAllResources(Iterable<? extends ResourceInfo> values)
Describes the resources and the policies applied to each resource.
|
CheckRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CheckRequest.Builder |
addResources(int index,
ResourceInfo.Builder builderForValue)
Describes the resources and the policies applied to each resource.
|
CheckRequest.Builder |
addResources(int index,
ResourceInfo value)
Describes the resources and the policies applied to each resource.
|
CheckRequest.Builder |
addResources(ResourceInfo.Builder builderForValue)
Describes the resources and the policies applied to each resource.
|
CheckRequest.Builder |
addResources(ResourceInfo value)
Describes the resources and the policies applied to each resource.
|
ResourceInfo.Builder |
addResourcesBuilder()
Describes the resources and the policies applied to each resource.
|
ResourceInfo.Builder |
addResourcesBuilder(int index)
Describes the resources and the policies applied to each resource.
|
CheckRequest |
build() |
CheckRequest |
buildPartial() |
CheckRequest.Builder |
clear() |
CheckRequest.Builder |
clearAttributes()
Describes attributes about the operation being executed by the service.
|
CheckRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CheckRequest.Builder |
clearFlags()
Optional.
|
CheckRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CheckRequest.Builder |
clearResources()
Describes the resources and the policies applied to each resource.
|
CheckRequest.Builder |
clearServiceConfigId()
Specifies the version of the service configuration that should be used to
process the request.
|
CheckRequest.Builder |
clearServiceName()
The service name as specified in its service configuration.
|
CheckRequest.Builder |
clone() |
com.google.rpc.context.AttributeContext |
getAttributes()
Describes attributes about the operation being executed by the service.
|
com.google.rpc.context.AttributeContext.Builder |
getAttributesBuilder()
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.
|
CheckRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFlags()
Optional.
|
com.google.protobuf.ByteString |
getFlagsBytes()
Optional.
|
ResourceInfo |
getResources(int index)
Describes the resources and the policies applied to each resource.
|
ResourceInfo.Builder |
getResourcesBuilder(int index)
Describes the resources and the policies applied to each resource.
|
List<ResourceInfo.Builder> |
getResourcesBuilderList()
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.
|
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CheckRequest.Builder |
mergeAttributes(com.google.rpc.context.AttributeContext value)
Describes attributes about the operation being executed by the service.
|
CheckRequest.Builder |
mergeFrom(CheckRequest other) |
CheckRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CheckRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
CheckRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CheckRequest.Builder |
removeResources(int index)
Describes the resources and the policies applied to each resource.
|
CheckRequest.Builder |
setAttributes(com.google.rpc.context.AttributeContext.Builder builderForValue)
Describes attributes about the operation being executed by the service.
|
CheckRequest.Builder |
setAttributes(com.google.rpc.context.AttributeContext value)
Describes attributes about the operation being executed by the service.
|
CheckRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CheckRequest.Builder |
setFlags(String value)
Optional.
|
CheckRequest.Builder |
setFlagsBytes(com.google.protobuf.ByteString value)
Optional.
|
CheckRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CheckRequest.Builder |
setResources(int index,
ResourceInfo.Builder builderForValue)
Describes the resources and the policies applied to each resource.
|
CheckRequest.Builder |
setResources(int index,
ResourceInfo value)
Describes the resources and the policies applied to each resource.
|
CheckRequest.Builder |
setServiceConfigId(String value)
Specifies the version of the service configuration that should be used to
process the request.
|
CheckRequest.Builder |
setServiceConfigIdBytes(com.google.protobuf.ByteString value)
Specifies the version of the service configuration that should be used to
process the request.
|
CheckRequest.Builder |
setServiceName(String value)
The service name as specified in its service configuration.
|
CheckRequest.Builder |
setServiceNameBytes(com.google.protobuf.ByteString value)
The service name as specified in its service configuration.
|
CheckRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder>public CheckRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder>public CheckRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CheckRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CheckRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CheckRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder>public CheckRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder>public CheckRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder>public CheckRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder>public CheckRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder>public CheckRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder>public CheckRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CheckRequest.Builder>public CheckRequest.Builder mergeFrom(CheckRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder>public CheckRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CheckRequest.Builder>IOExceptionpublic 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;getServiceName in interface CheckRequestOrBuilderpublic 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;getServiceNameBytes in interface CheckRequestOrBuilderpublic CheckRequest.Builder setServiceName(String value)
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;value - The serviceName to set.public CheckRequest.Builder clearServiceName()
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;public CheckRequest.Builder setServiceNameBytes(com.google.protobuf.ByteString value)
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;value - The bytes for serviceName to set.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;getServiceConfigId in interface CheckRequestOrBuilderpublic 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;getServiceConfigIdBytes in interface CheckRequestOrBuilderpublic CheckRequest.Builder setServiceConfigId(String value)
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;value - The serviceConfigId to set.public CheckRequest.Builder clearServiceConfigId()
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;public CheckRequest.Builder setServiceConfigIdBytes(com.google.protobuf.ByteString value)
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;value - The bytes for serviceConfigId to set.public boolean hasAttributes()
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;hasAttributes in interface CheckRequestOrBuilderpublic com.google.rpc.context.AttributeContext getAttributes()
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;getAttributes in interface CheckRequestOrBuilderpublic CheckRequest.Builder setAttributes(com.google.rpc.context.AttributeContext value)
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;public CheckRequest.Builder setAttributes(com.google.rpc.context.AttributeContext.Builder builderForValue)
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;public CheckRequest.Builder mergeAttributes(com.google.rpc.context.AttributeContext value)
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;public CheckRequest.Builder clearAttributes()
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;public com.google.rpc.context.AttributeContext.Builder getAttributesBuilder()
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;public com.google.rpc.context.AttributeContextOrBuilder getAttributesOrBuilder()
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;getAttributesOrBuilder in interface CheckRequestOrBuilderpublic List<ResourceInfo> getResourcesList()
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;getResourcesList in interface CheckRequestOrBuilderpublic int getResourcesCount()
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;getResourcesCount in interface CheckRequestOrBuilderpublic ResourceInfo getResources(int index)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;getResources in interface CheckRequestOrBuilderpublic CheckRequest.Builder setResources(int index, ResourceInfo value)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;public CheckRequest.Builder setResources(int index, ResourceInfo.Builder builderForValue)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;public CheckRequest.Builder addResources(ResourceInfo value)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;public CheckRequest.Builder addResources(int index, ResourceInfo value)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;public CheckRequest.Builder addResources(ResourceInfo.Builder builderForValue)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;public CheckRequest.Builder addResources(int index, ResourceInfo.Builder builderForValue)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;public CheckRequest.Builder addAllResources(Iterable<? extends ResourceInfo> values)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;public CheckRequest.Builder clearResources()
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;public CheckRequest.Builder removeResources(int index)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;public ResourceInfo.Builder getResourcesBuilder(int index)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;public ResourceInfoOrBuilder getResourcesOrBuilder(int index)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;getResourcesOrBuilder in interface CheckRequestOrBuilderpublic List<? extends ResourceInfoOrBuilder> getResourcesOrBuilderList()
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;getResourcesOrBuilderList in interface CheckRequestOrBuilderpublic ResourceInfo.Builder addResourcesBuilder()
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;public ResourceInfo.Builder addResourcesBuilder(int index)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;public List<ResourceInfo.Builder> getResourcesBuilderList()
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;public String getFlags()
Optional. Contains a comma-separated list of flags.
string flags = 5;getFlags in interface CheckRequestOrBuilderpublic com.google.protobuf.ByteString getFlagsBytes()
Optional. Contains a comma-separated list of flags.
string flags = 5;getFlagsBytes in interface CheckRequestOrBuilderpublic CheckRequest.Builder setFlags(String value)
Optional. Contains a comma-separated list of flags.
string flags = 5;value - The flags to set.public CheckRequest.Builder clearFlags()
Optional. Contains a comma-separated list of flags.
string flags = 5;public CheckRequest.Builder setFlagsBytes(com.google.protobuf.ByteString value)
Optional. Contains a comma-separated list of flags.
string flags = 5;value - The bytes for flags to set.public final CheckRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder>public final CheckRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CheckRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.