public static final class CreateAnywhereCacheRequest.Builder extends GeneratedMessageV3.Builder<CreateAnywhereCacheRequest.Builder> implements CreateAnywhereCacheRequestOrBuilder
Request message for CreateAnywhereCache.
Protobuf type google.storage.control.v2.CreateAnywhereCacheRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateAnywhereCacheRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateAnywhereCacheRequest build()
buildPartial()
public CreateAnywhereCacheRequest buildPartial()
clear()
public CreateAnywhereCacheRequest.Builder clear()
Overrides
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];
clearField(Descriptors.FieldDescriptor field)
public CreateAnywhereCacheRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateAnywhereCacheRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
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) = { ... }
clone()
public CreateAnywhereCacheRequest.Builder clone()
Overrides
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];
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];
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];
getDefaultInstanceForType()
public CreateAnywhereCacheRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
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];
public CreateAnywhereCacheRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateAnywhereCacheRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(CreateAnywhereCacheRequest other)
public CreateAnywhereCacheRequest.Builder mergeFrom(CreateAnywhereCacheRequest other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateAnywhereCacheRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateAnywhereCacheRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The parent to set.
|
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 |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateAnywhereCacheRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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 |
String
The requestId to set.
|
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 |
ByteString
The bytes for requestId to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateAnywhereCacheRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides