- 2.62.1 (latest)
- 2.62.0
- 2.60.0
- 2.59.0
- 2.58.1
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.3
- 2.52.3
- 2.50.0
- 2.49.0
- 2.48.2
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.1
- 2.43.2
- 2.42.0
- 2.41.0
- 2.40.1
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.1
- 2.34.0
- 2.33.0
- 2.32.1
- 2.30.1
- 2.29.1
- 2.28.0
- 2.27.1
- 2.24.0
- 2.23.0
- 2.22.6
- 2.21.0
- 2.20.2
- 2.19.0
- 2.18.0
- 2.17.2
- 2.16.0
- 2.15.1
- 2.14.0
- 2.13.1
- 2.12.0
- 2.11.3
- 2.10.0
- 2.9.3
- 2.8.1
- 2.7.1
- 2.6.1
- 2.5.1
- 2.4.5
- 2.3.0
- 2.2.3
- 2.1.10
public static final class CreateAnywhereCacheRequest.Builder extends GeneratedMessage.Builder<CreateAnywhereCacheRequest.Builder> implements CreateAnywhereCacheRequestOrBuilderRequest message for CreateAnywhereCache.
Protobuf type google.storage.control.v2.CreateAnywhereCacheRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateAnywhereCacheRequest.BuilderImplements
CreateAnywhereCacheRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateAnywhereCacheRequest build()| Returns | |
|---|---|
| Type | Description |
CreateAnywhereCacheRequest |
|
buildPartial()
public CreateAnywhereCacheRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateAnywhereCacheRequest |
|
clear()
public CreateAnywhereCacheRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateAnywhereCacheRequest.Builder |
|
clearAnywhereCache()
public CreateAnywhereCacheRequest.Builder clearAnywhereCache() Required. Properties of the Anywhere Cache instance being created.
The parent bucket name is specified in the parent field. Server uses the
default value of ttl or admission_policy if not specified in
request.
.google.storage.control.v2.AnywhereCache anywhere_cache = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateAnywhereCacheRequest.Builder |
|
clearParent()
public CreateAnywhereCacheRequest.Builder clearParent() Required. The bucket to which this cache belongs.
Format: projects/{project}/buckets/{bucket}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateAnywhereCacheRequest.Builder |
This builder for chaining. |
clearRequestId()
public CreateAnywhereCacheRequest.Builder clearRequestId() Optional. A unique identifier for this request. UUID is the recommended
format, but other formats are still accepted. This request is only
idempotent if a request_id is provided.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateAnywhereCacheRequest.Builder |
This builder for chaining. |
getAnywhereCache()
public AnywhereCache getAnywhereCache() Required. Properties of the Anywhere Cache instance being created.
The parent bucket name is specified in the parent field. Server uses the
default value of ttl or admission_policy if not specified in
request.
.google.storage.control.v2.AnywhereCache anywhere_cache = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AnywhereCache |
The anywhereCache. |
getAnywhereCacheBuilder()
public AnywhereCache.Builder getAnywhereCacheBuilder() Required. Properties of the Anywhere Cache instance being created.
The parent bucket name is specified in the parent field. Server uses the
default value of ttl or admission_policy if not specified in
request.
.google.storage.control.v2.AnywhereCache anywhere_cache = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AnywhereCache.Builder |
|
getAnywhereCacheOrBuilder()
public AnywhereCacheOrBuilder getAnywhereCacheOrBuilder() Required. Properties of the Anywhere Cache instance being created.
The parent bucket name is specified in the parent field. Server uses the
default value of ttl or admission_policy if not specified in
request.
.google.storage.control.v2.AnywhereCache anywhere_cache = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AnywhereCacheOrBuilder |
|
getDefaultInstanceForType()
public CreateAnywhereCacheRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateAnywhereCacheRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The bucket to which this cache belongs.
Format: projects/{project}/buckets/{bucket}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The bucket to which this cache belongs.
Format: projects/{project}/buckets/{bucket}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getRequestId()
public String getRequestId() Optional. A unique identifier for this request. UUID is the recommended
format, but other formats are still accepted. This request is only
idempotent if a request_id is provided.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes() Optional. A unique identifier for this request. UUID is the recommended
format, but other formats are still accepted. This request is only
idempotent if a request_id is provided.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for requestId. |
hasAnywhereCache()
public boolean hasAnywhereCache() Required. Properties of the Anywhere Cache instance being created.
The parent bucket name is specified in the parent field. Server uses the
default value of ttl or admission_policy if not specified in
request.
.google.storage.control.v2.AnywhereCache anywhere_cache = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the anywhereCache field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAnywhereCache(AnywhereCache value)
public CreateAnywhereCacheRequest.Builder mergeAnywhereCache(AnywhereCache value) Required. Properties of the Anywhere Cache instance being created.
The parent bucket name is specified in the parent field. Server uses the
default value of ttl or admission_policy if not specified in
request.
.google.storage.control.v2.AnywhereCache anywhere_cache = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AnywhereCache |
| Returns | |
|---|---|
| Type | Description |
CreateAnywhereCacheRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateAnywhereCacheRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateAnywhereCacheRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateAnywhereCacheRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateAnywhereCacheRequest.Builder |
|
mergeFrom(CreateAnywhereCacheRequest other)
public CreateAnywhereCacheRequest.Builder mergeFrom(CreateAnywhereCacheRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateAnywhereCacheRequest |
| Returns | |
|---|---|
| Type | Description |
CreateAnywhereCacheRequest.Builder |
|
setAnywhereCache(AnywhereCache value)
public CreateAnywhereCacheRequest.Builder setAnywhereCache(AnywhereCache value) Required. Properties of the Anywhere Cache instance being created.
The parent bucket name is specified in the parent field. Server uses the
default value of ttl or admission_policy if not specified in
request.
.google.storage.control.v2.AnywhereCache anywhere_cache = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AnywhereCache |
| Returns | |
|---|---|
| Type | Description |
CreateAnywhereCacheRequest.Builder |
|
setAnywhereCache(AnywhereCache.Builder builderForValue)
public CreateAnywhereCacheRequest.Builder setAnywhereCache(AnywhereCache.Builder builderForValue) Required. Properties of the Anywhere Cache instance being created.
The parent bucket name is specified in the parent field. Server uses the
default value of ttl or admission_policy if not specified in
request.
.google.storage.control.v2.AnywhereCache anywhere_cache = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AnywhereCache.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateAnywhereCacheRequest.Builder |
|
setParent(String value)
public CreateAnywhereCacheRequest.Builder setParent(String value) Required. The bucket to which this cache belongs.
Format: projects/{project}/buckets/{bucket}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateAnywhereCacheRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateAnywhereCacheRequest.Builder setParentBytes(ByteString value) Required. The bucket to which this cache belongs.
Format: projects/{project}/buckets/{bucket}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateAnywhereCacheRequest.Builder |
This builder for chaining. |
setRequestId(String value)
public CreateAnywhereCacheRequest.Builder setRequestId(String value) Optional. A unique identifier for this request. UUID is the recommended
format, but other formats are still accepted. This request is only
idempotent if a request_id is provided.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe requestId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateAnywhereCacheRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public CreateAnywhereCacheRequest.Builder setRequestIdBytes(ByteString value) Optional. A unique identifier for this request. UUID is the recommended
format, but other formats are still accepted. This request is only
idempotent if a request_id is provided.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for requestId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateAnywhereCacheRequest.Builder |
This builder for chaining. |