public static final class DeleteBucketRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DeleteBucketRequest.Builder> implements DeleteBucketRequestOrBuilder
Request message for DeleteBucket.Protobuf type
google.storage.v2.DeleteBucketRequest
Modifier and Type | Method and Description |
---|---|
DeleteBucketRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DeleteBucketRequest |
build() |
DeleteBucketRequest |
buildPartial() |
DeleteBucketRequest.Builder |
clear() |
DeleteBucketRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DeleteBucketRequest.Builder |
clearIfMetagenerationMatch()
If set, only deletes the bucket if its metageneration matches this value.
|
DeleteBucketRequest.Builder |
clearIfMetagenerationNotMatch()
If set, only deletes the bucket if its metageneration does not match this
value.
|
DeleteBucketRequest.Builder |
clearName()
Required.
|
DeleteBucketRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DeleteBucketRequest.Builder |
clone() |
DeleteBucketRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getIfMetagenerationMatch()
If set, only deletes the bucket if its metageneration matches this value.
|
long |
getIfMetagenerationNotMatch()
If set, only deletes the bucket if its metageneration does not match this
value.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
boolean |
hasIfMetagenerationMatch()
If set, only deletes the bucket if its metageneration matches this value.
|
boolean |
hasIfMetagenerationNotMatch()
If set, only deletes the bucket if its metageneration does not match this
value.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DeleteBucketRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DeleteBucketRequest.Builder |
mergeFrom(DeleteBucketRequest other) |
DeleteBucketRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
DeleteBucketRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DeleteBucketRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DeleteBucketRequest.Builder |
setIfMetagenerationMatch(long value)
If set, only deletes the bucket if its metageneration matches this value.
|
DeleteBucketRequest.Builder |
setIfMetagenerationNotMatch(long value)
If set, only deletes the bucket if its metageneration does not match this
value.
|
DeleteBucketRequest.Builder |
setName(String value)
Required.
|
DeleteBucketRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
DeleteBucketRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DeleteBucketRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteBucketRequest.Builder>
public DeleteBucketRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteBucketRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteBucketRequest.Builder>
public DeleteBucketRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public DeleteBucketRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public DeleteBucketRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public DeleteBucketRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteBucketRequest.Builder>
public DeleteBucketRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteBucketRequest.Builder>
public DeleteBucketRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteBucketRequest.Builder>
public DeleteBucketRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteBucketRequest.Builder>
public DeleteBucketRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteBucketRequest.Builder>
public DeleteBucketRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteBucketRequest.Builder>
public DeleteBucketRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<DeleteBucketRequest.Builder>
public DeleteBucketRequest.Builder mergeFrom(DeleteBucketRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteBucketRequest.Builder>
public DeleteBucketRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<DeleteBucketRequest.Builder>
IOException
public String getName()
Required. Name of a bucket to delete.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName
in interface DeleteBucketRequestOrBuilder
public com.google.protobuf.ByteString getNameBytes()
Required. Name of a bucket to delete.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes
in interface DeleteBucketRequestOrBuilder
public DeleteBucketRequest.Builder setName(String value)
Required. Name of a bucket to delete.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The name to set.public DeleteBucketRequest.Builder clearName()
Required. Name of a bucket to delete.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public DeleteBucketRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. Name of a bucket to delete.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The bytes for name to set.public boolean hasIfMetagenerationMatch()
If set, only deletes the bucket if its metageneration matches this value.
optional int64 if_metageneration_match = 2;
hasIfMetagenerationMatch
in interface DeleteBucketRequestOrBuilder
public long getIfMetagenerationMatch()
If set, only deletes the bucket if its metageneration matches this value.
optional int64 if_metageneration_match = 2;
getIfMetagenerationMatch
in interface DeleteBucketRequestOrBuilder
public DeleteBucketRequest.Builder setIfMetagenerationMatch(long value)
If set, only deletes the bucket if its metageneration matches this value.
optional int64 if_metageneration_match = 2;
value
- The ifMetagenerationMatch to set.public DeleteBucketRequest.Builder clearIfMetagenerationMatch()
If set, only deletes the bucket if its metageneration matches this value.
optional int64 if_metageneration_match = 2;
public boolean hasIfMetagenerationNotMatch()
If set, only deletes the bucket if its metageneration does not match this value.
optional int64 if_metageneration_not_match = 3;
hasIfMetagenerationNotMatch
in interface DeleteBucketRequestOrBuilder
public long getIfMetagenerationNotMatch()
If set, only deletes the bucket if its metageneration does not match this value.
optional int64 if_metageneration_not_match = 3;
getIfMetagenerationNotMatch
in interface DeleteBucketRequestOrBuilder
public DeleteBucketRequest.Builder setIfMetagenerationNotMatch(long value)
If set, only deletes the bucket if its metageneration does not match this value.
optional int64 if_metageneration_not_match = 3;
value
- The ifMetagenerationNotMatch to set.public DeleteBucketRequest.Builder clearIfMetagenerationNotMatch()
If set, only deletes the bucket if its metageneration does not match this value.
optional int64 if_metageneration_not_match = 3;
public final DeleteBucketRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteBucketRequest.Builder>
public final DeleteBucketRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DeleteBucketRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.