Package com.google.storage.v2
Interface DeleteBucketRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DeleteBucketRequest,DeleteBucketRequest.Builder
public interface DeleteBucketRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongIf set, only deletes the bucket if its metageneration matches this value.longIf set, only deletes the bucket if its metageneration does not match this value.getName()Required.com.google.protobuf.ByteStringRequired.booleanIf set, only deletes the bucket if its metageneration matches this value.booleanIf set, only deletes the bucket if its metageneration does not match this 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 a bucket to delete.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Required. Name of a bucket to delete.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for name.
-
hasIfMetagenerationMatch
boolean hasIfMetagenerationMatch()If set, only deletes the bucket if its metageneration matches this value.
optional int64 if_metageneration_match = 2;- Returns:
- Whether the ifMetagenerationMatch field is set.
-
getIfMetagenerationMatch
long getIfMetagenerationMatch()If set, only deletes the bucket if its metageneration matches this value.
optional int64 if_metageneration_match = 2;- Returns:
- The ifMetagenerationMatch.
-
hasIfMetagenerationNotMatch
boolean hasIfMetagenerationNotMatch()If set, only deletes the bucket if its metageneration does not match this value.
optional int64 if_metageneration_not_match = 3;- Returns:
- Whether the ifMetagenerationNotMatch field is set.
-
getIfMetagenerationNotMatch
long getIfMetagenerationNotMatch()If set, only deletes the bucket if its metageneration does not match this value.
optional int64 if_metageneration_not_match = 3;- Returns:
- The ifMetagenerationNotMatch.
-