public static final class RequestOptions.Builder extends GeneratedMessage.Builder<RequestOptions.Builder> implements RequestOptionsOrBuilderOptions for a request.
Protobuf type google.datastore.v1.RequestOptions
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RequestOptions.BuilderImplements
RequestOptionsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllRequestTags(Iterable<String> values)
public RequestOptions.Builder addAllRequestTags(Iterable<String> values)Optional. The request tags for the request. The tags are processed as follows:
- Truncated to 510 characters.
- Filtered out if empty.
- Deduplicated.
- Limited to 50 tags.
repeated string request_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The requestTags to add. |
| Returns | |
|---|---|
| Type | Description |
RequestOptions.Builder |
This builder for chaining. |
addRequestTags(String value)
public RequestOptions.Builder addRequestTags(String value)Optional. The request tags for the request. The tags are processed as follows:
- Truncated to 510 characters.
- Filtered out if empty.
- Deduplicated.
- Limited to 50 tags.
repeated string request_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe requestTags to add. |
| Returns | |
|---|---|
| Type | Description |
RequestOptions.Builder |
This builder for chaining. |
addRequestTagsBytes(ByteString value)
public RequestOptions.Builder addRequestTagsBytes(ByteString value)Optional. The request tags for the request. The tags are processed as follows:
- Truncated to 510 characters.
- Filtered out if empty.
- Deduplicated.
- Limited to 50 tags.
repeated string request_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the requestTags to add. |
| Returns | |
|---|---|
| Type | Description |
RequestOptions.Builder |
This builder for chaining. |
build()
public RequestOptions build()| Returns | |
|---|---|
| Type | Description |
RequestOptions |
|
buildPartial()
public RequestOptions buildPartial()| Returns | |
|---|---|
| Type | Description |
RequestOptions |
|
clear()
public RequestOptions.Builder clear()| Returns | |
|---|---|
| Type | Description |
RequestOptions.Builder |
|
clearRequestTags()
public RequestOptions.Builder clearRequestTags()Optional. The request tags for the request. The tags are processed as follows:
- Truncated to 510 characters.
- Filtered out if empty.
- Deduplicated.
- Limited to 50 tags.
repeated string request_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RequestOptions.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RequestOptions getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RequestOptions |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getRequestTags(int index)
public String getRequestTags(int index)Optional. The request tags for the request. The tags are processed as follows:
- Truncated to 510 characters.
- Filtered out if empty.
- Deduplicated.
- Limited to 50 tags.
repeated string request_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The requestTags at the given index. |
getRequestTagsBytes(int index)
public ByteString getRequestTagsBytes(int index)Optional. The request tags for the request. The tags are processed as follows:
- Truncated to 510 characters.
- Filtered out if empty.
- Deduplicated.
- Limited to 50 tags.
repeated string request_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the requestTags at the given index. |
getRequestTagsCount()
public int getRequestTagsCount()Optional. The request tags for the request. The tags are processed as follows:
- Truncated to 510 characters.
- Filtered out if empty.
- Deduplicated.
- Limited to 50 tags.
repeated string request_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of requestTags. |
getRequestTagsList()
public ProtocolStringList getRequestTagsList()Optional. The request tags for the request. The tags are processed as follows:
- Truncated to 510 characters.
- Filtered out if empty.
- Deduplicated.
- Limited to 50 tags.
repeated string request_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the requestTags. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RequestOptions other)
public RequestOptions.Builder mergeFrom(RequestOptions other)| Parameter | |
|---|---|
| Name | Description |
other |
RequestOptions |
| Returns | |
|---|---|
| Type | Description |
RequestOptions.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RequestOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RequestOptions.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RequestOptions.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RequestOptions.Builder |
|
setRequestTags(int index, String value)
public RequestOptions.Builder setRequestTags(int index, String value)Optional. The request tags for the request. The tags are processed as follows:
- Truncated to 510 characters.
- Filtered out if empty.
- Deduplicated.
- Limited to 50 tags.
repeated string request_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe requestTags to set. |
| Returns | |
|---|---|
| Type | Description |
RequestOptions.Builder |
This builder for chaining. |