Package com.google.storage.control.v2
Interface DeleteFolderRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DeleteFolderRequest,DeleteFolderRequest.Builder
public interface DeleteFolderRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongMakes the operation only succeed conditional on whether the folder's current metageneration matches the given value.longMakes the operation only succeed conditional on whether the folder's current metageneration does not match the given value.getName()Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.booleanMakes the operation only succeed conditional on whether the folder's current metageneration matches the given value.booleanMakes the operation only succeed conditional on whether the folder's current metageneration does not match the given value.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Required. Name of the folder. Format: `projects/{project}/buckets/{bucket}/folders/{folder}`string name = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Required. Name of the folder. Format: `projects/{project}/buckets/{bucket}/folders/{folder}`string name = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for name.
-
hasIfMetagenerationMatch
boolean hasIfMetagenerationMatch()Makes the operation only succeed conditional on whether the folder's current metageneration matches the given value.
optional int64 if_metageneration_match = 3;- Returns:
- Whether the ifMetagenerationMatch field is set.
-
getIfMetagenerationMatch
long getIfMetagenerationMatch()Makes the operation only succeed conditional on whether the folder's current metageneration matches the given value.
optional int64 if_metageneration_match = 3;- Returns:
- The ifMetagenerationMatch.
-
hasIfMetagenerationNotMatch
boolean hasIfMetagenerationNotMatch()Makes the operation only succeed conditional on whether the folder's current metageneration does not match the given value.
optional int64 if_metageneration_not_match = 4;- Returns:
- Whether the ifMetagenerationNotMatch field is set.
-
getIfMetagenerationNotMatch
long getIfMetagenerationNotMatch()Makes the operation only succeed conditional on whether the folder's current metageneration does not match the given value.
optional int64 if_metageneration_not_match = 4;- Returns:
- The ifMetagenerationNotMatch.
-
getRequestId
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:
- The requestId.
-
getRequestIdBytes
com.google.protobuf.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:
- The bytes for requestId.
-