Class UpdateManagedFolderRequest (2.71.0)

public final class UpdateManagedFolderRequest extends GeneratedMessage implements UpdateManagedFolderRequestOrBuilder

Request message for UpdateManagedFolder.

Protobuf type google.storage.control.v2.UpdateManagedFolderRequest

Static Fields

IF_METAGENERATION_MATCH_FIELD_NUMBER

public static final int IF_METAGENERATION_MATCH_FIELD_NUMBER
Field Value
Type Description
int

IF_METAGENERATION_NOT_MATCH_FIELD_NUMBER

public static final int IF_METAGENERATION_NOT_MATCH_FIELD_NUMBER
Field Value
Type Description
int

MANAGED_FOLDER_FIELD_NUMBER

public static final int MANAGED_FOLDER_FIELD_NUMBER
Field Value
Type Description
int

REQUEST_ID_FIELD_NUMBER

public static final int REQUEST_ID_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateManagedFolderRequest getDefaultInstance()
Returns
Type Description
UpdateManagedFolderRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UpdateManagedFolderRequest.Builder newBuilder()
Returns
Type Description
UpdateManagedFolderRequest.Builder

newBuilder(UpdateManagedFolderRequest prototype)

public static UpdateManagedFolderRequest.Builder newBuilder(UpdateManagedFolderRequest prototype)
Parameter
Name Description
prototype UpdateManagedFolderRequest
Returns
Type Description
UpdateManagedFolderRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateManagedFolderRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateManagedFolderRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateManagedFolderRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateManagedFolderRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateManagedFolderRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateManagedFolderRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateManagedFolderRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateManagedFolderRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateManagedFolderRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateManagedFolderRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateManagedFolderRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateManagedFolderRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateManagedFolderRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateManagedFolderRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateManagedFolderRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateManagedFolderRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateManagedFolderRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateManagedFolderRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateManagedFolderRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateManagedFolderRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateManagedFolderRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateManagedFolderRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateManagedFolderRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateManagedFolderRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateManagedFolderRequest> parser()
Returns
Type Description
Parser<UpdateManagedFolderRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateManagedFolderRequest getDefaultInstanceForType()
Returns
Type Description
UpdateManagedFolderRequest

getIfMetagenerationMatch()

public long getIfMetagenerationMatch()

Optional. The operation succeeds conditional on the managed folder's current metageneration matching the value here specified.

optional int64 if_metageneration_match = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The ifMetagenerationMatch.

getIfMetagenerationNotMatch()

public long getIfMetagenerationNotMatch()

Optional. The operation succeeds conditional on the managed folder's current metageneration NOT matching the value here specified.

optional int64 if_metageneration_not_match = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The ifMetagenerationNotMatch.

getManagedFolder()

public ManagedFolder getManagedFolder()

Required. Properties of the managed folder being updated. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder.

.google.storage.control.v2.ManagedFolder managed_folder = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ManagedFolder

The managedFolder.

getManagedFolderOrBuilder()

public ManagedFolderOrBuilder getManagedFolderOrBuilder()

Required. Properties of the managed folder being updated. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder.

.google.storage.control.v2.ManagedFolder managed_folder = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ManagedFolderOrBuilder

getParserForType()

public Parser<UpdateManagedFolderRequest> getParserForType()
Returns
Type Description
Parser<UpdateManagedFolderRequest>
Overrides

getRequestId()

public String getRequestId()

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

string request_id = 5 [(.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.

string request_id = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Optional. Update mask for managed_folder. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder. This field also supports update mask for the subfields in the map of rapid_cache_config. The user can specify the update mask for rapid_cache_config.policies and rapid_cache_config.policies.<key>, but patching is not supported for a field within RapidCachePolicy.policies.<key>, like rapid_cache_config.policies.[key].ingest_on_write.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. Update mask for managed_folder. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder. This field also supports update mask for the subfields in the map of rapid_cache_config. The user can specify the update mask for rapid_cache_config.policies and rapid_cache_config.policies.<key>, but patching is not supported for a field within RapidCachePolicy.policies.<key>, like rapid_cache_config.policies.[key].ingest_on_write.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasIfMetagenerationMatch()

public boolean hasIfMetagenerationMatch()

Optional. The operation succeeds conditional on the managed folder's current metageneration matching the value here specified.

optional int64 if_metageneration_match = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the ifMetagenerationMatch field is set.

hasIfMetagenerationNotMatch()

public boolean hasIfMetagenerationNotMatch()

Optional. The operation succeeds conditional on the managed folder's current metageneration NOT matching the value here specified.

optional int64 if_metageneration_not_match = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the ifMetagenerationNotMatch field is set.

hasManagedFolder()

public boolean hasManagedFolder()

Required. Properties of the managed folder being updated. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder.

.google.storage.control.v2.ManagedFolder managed_folder = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the managedFolder field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. Update mask for managed_folder. Currently, this RPC only supports updating the rapid_cache_config field in managed_folder. This field also supports update mask for the subfields in the map of rapid_cache_config. The user can specify the update mask for rapid_cache_config.policies and rapid_cache_config.policies.<key>, but patching is not supported for a field within RapidCachePolicy.policies.<key>, like rapid_cache_config.policies.[key].ingest_on_write.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateManagedFolderRequest.Builder newBuilderForType()
Returns
Type Description
UpdateManagedFolderRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected UpdateManagedFolderRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateManagedFolderRequest.Builder
Overrides

toBuilder()

public UpdateManagedFolderRequest.Builder toBuilder()
Returns
Type Description
UpdateManagedFolderRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException