Class DeleteFolderRecursiveRequest (2.63.0)

public final class DeleteFolderRecursiveRequest extends GeneratedMessage implements DeleteFolderRecursiveRequestOrBuilder

Request message for DeleteFolderRecursive.

Protobuf type google.storage.control.v2.DeleteFolderRecursiveRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > DeleteFolderRecursiveRequest

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

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

REQUEST_ID_FIELD_NUMBER

public static final int REQUEST_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DeleteFolderRecursiveRequest getDefaultInstance()
Returns
Type Description
DeleteFolderRecursiveRequest

getDescriptor()

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

newBuilder()

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

newBuilder(DeleteFolderRecursiveRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DeleteFolderRecursiveRequest getDefaultInstanceForType()
Returns
Type Description
DeleteFolderRecursiveRequest

getIfMetagenerationMatch()

public long getIfMetagenerationMatch()

Optional. Makes the operation only succeed conditional on whether the root folder's current metageneration matches the given value.

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

Returns
Type Description
long

The ifMetagenerationMatch.

getIfMetagenerationNotMatch()

public long getIfMetagenerationNotMatch()

Optional. Makes the operation only succeed conditional on whether the root folder's current metageneration does not match the given value.

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

Returns
Type Description
long

The ifMetagenerationNotMatch.

getName()

public String getName()

Required. Name of the folder being deleted, however all of its contents will be deleted too. Format: projects/{project}/buckets/{bucket}/folders/{folder}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the folder being deleted, however all of its contents will be deleted too. Format: projects/{project}/buckets/{bucket}/folders/{folder}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<DeleteFolderRecursiveRequest> getParserForType()
Returns
Type Description
Parser<DeleteFolderRecursiveRequest>
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 = 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.

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

hasIfMetagenerationMatch()

public boolean hasIfMetagenerationMatch()

Optional. Makes the operation only succeed conditional on whether the root folder's current metageneration matches the given value.

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

Returns
Type Description
boolean

Whether the ifMetagenerationMatch field is set.

hasIfMetagenerationNotMatch()

public boolean hasIfMetagenerationNotMatch()

Optional. Makes the operation only succeed conditional on whether the root folder's current metageneration does not match the given value.

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

Returns
Type Description
boolean

Whether the ifMetagenerationNotMatch 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 DeleteFolderRecursiveRequest.Builder newBuilderForType()
Returns
Type Description
DeleteFolderRecursiveRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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