- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.1.10
public static final class CheckRequest.Builder extends GeneratedMessageV3.Builder<CheckRequest.Builder> implements CheckRequestOrBuilder
Request message for the Check method.
Protobuf type google.api.servicecontrol.v2.CheckRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CheckRequest.BuilderImplements
CheckRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllResources(Iterable<? extends ResourceInfo> values)
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.api.servicecontrol.v2.ResourceInfo> |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CheckRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |
addResources(ResourceInfo value)
public CheckRequest.Builder addResources(ResourceInfo value)
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;
Parameter | |
---|---|
Name | Description |
value | ResourceInfo |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |
addResources(ResourceInfo.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue | ResourceInfo.Builder |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |
addResources(int index, ResourceInfo value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | ResourceInfo |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |
addResources(int index, ResourceInfo.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | ResourceInfo.Builder |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |
addResourcesBuilder()
public ResourceInfo.Builder addResourcesBuilder()
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;
Returns | |
---|---|
Type | Description |
ResourceInfo.Builder |
addResourcesBuilder(int index)
public ResourceInfo.Builder addResourcesBuilder(int index)
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.Builder |
build()
public CheckRequest build()
Returns | |
---|---|
Type | Description |
CheckRequest |
buildPartial()
public CheckRequest buildPartial()
Returns | |
---|---|
Type | Description |
CheckRequest |
clear()
public CheckRequest.Builder clear()
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |
clearAttributes()
public CheckRequest.Builder clearAttributes()
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CheckRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |
clearFlags()
public CheckRequest.Builder clearFlags()
Optional. Contains a comma-separated list of flags.
string flags = 5;
Returns | |
---|---|
Type | Description |
CheckRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CheckRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |
clearResources()
public CheckRequest.Builder clearResources()
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |
clearServiceConfigId()
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;
Returns | |
---|---|
Type | Description |
CheckRequest.Builder | This builder for chaining. |
clearServiceName()
public CheckRequest.Builder clearServiceName()
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 |
CheckRequest.Builder | This builder for chaining. |
clone()
public CheckRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |
getAttributes()
public AttributeContext getAttributes()
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. |
getAttributesBuilder()
public AttributeContext.Builder getAttributesBuilder()
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;
Returns | |
---|---|
Type | Description |
com.google.rpc.context.AttributeContext.Builder |
getAttributesOrBuilder()
public AttributeContextOrBuilder getAttributesOrBuilder()
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()
public CheckRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CheckRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFlags()
public String getFlags()
Optional. Contains a comma-separated list of flags.
string flags = 5;
Returns | |
---|---|
Type | Description |
String | The flags. |
getFlagsBytes()
public ByteString getFlagsBytes()
Optional. Contains a comma-separated list of flags.
string flags = 5;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for flags. |
getResources(int index)
public ResourceInfo getResources(int index)
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 |
getResourcesBuilder(int index)
public ResourceInfo.Builder getResourcesBuilder(int index)
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.Builder |
getResourcesBuilderList()
public List<ResourceInfo.Builder> getResourcesBuilderList()
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;
Returns | |
---|---|
Type | Description |
List<Builder> |
getResourcesCount()
public int getResourcesCount()
Describes the resources and the policies applied to each resource.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 4;
Returns | |
---|---|
Type | Description |
int |
getResourcesList()
public List<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)
public ResourceInfoOrBuilder getResourcesOrBuilder(int index)
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()
public List<? extends ResourceInfoOrBuilder> 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> |
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;
Returns | |
---|---|
Type | Description |
String | The serviceConfigId. |
getServiceConfigIdBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for serviceConfigId. |
getServiceName()
public String getServiceName()
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()
public ByteString getServiceNameBytes()
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()
public boolean hasAttributes()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAttributes(AttributeContext value)
public CheckRequest.Builder mergeAttributes(AttributeContext value)
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;
Parameter | |
---|---|
Name | Description |
value | com.google.rpc.context.AttributeContext |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |
mergeFrom(CheckRequest other)
public CheckRequest.Builder mergeFrom(CheckRequest other)
Parameter | |
---|---|
Name | Description |
other | CheckRequest |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CheckRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CheckRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CheckRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |
removeResources(int index)
public CheckRequest.Builder removeResources(int index)
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 |
CheckRequest.Builder |
setAttributes(AttributeContext value)
public CheckRequest.Builder setAttributes(AttributeContext value)
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;
Parameter | |
---|---|
Name | Description |
value | com.google.rpc.context.AttributeContext |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |
setAttributes(AttributeContext.Builder builderForValue)
public CheckRequest.Builder setAttributes(AttributeContext.Builder builderForValue)
Describes attributes about the operation being executed by the service.
.google.rpc.context.AttributeContext attributes = 3;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.rpc.context.AttributeContext.Builder |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CheckRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |
setFlags(String value)
public CheckRequest.Builder setFlags(String value)
Optional. Contains a comma-separated list of flags.
string flags = 5;
Parameter | |
---|---|
Name | Description |
value | String The flags to set. |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder | This builder for chaining. |
setFlagsBytes(ByteString value)
public CheckRequest.Builder setFlagsBytes(ByteString value)
Optional. Contains a comma-separated list of flags.
string flags = 5;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for flags to set. |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CheckRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |
setResources(int index, ResourceInfo value)
public 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;
Parameters | |
---|---|
Name | Description |
index | int |
value | ResourceInfo |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |
setResources(int index, ResourceInfo.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | ResourceInfo.Builder |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |
setServiceConfigId(String value)
public 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;
Parameter | |
---|---|
Name | Description |
value | String The serviceConfigId to set. |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder | This builder for chaining. |
setServiceConfigIdBytes(ByteString value)
public CheckRequest.Builder setServiceConfigIdBytes(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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for serviceConfigId to set. |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder | This builder for chaining. |
setServiceName(String value)
public CheckRequest.Builder setServiceName(String value)
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;
Parameter | |
---|---|
Name | Description |
value | String The serviceName to set. |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder | This builder for chaining. |
setServiceNameBytes(ByteString value)
public CheckRequest.Builder setServiceNameBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for serviceName to set. |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CheckRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CheckRequest.Builder |