Class DeleteNotificationRequest.Builder (2.18.0)

public static final class DeleteNotificationRequest.Builder extends GeneratedMessageV3.Builder<DeleteNotificationRequest.Builder> implements DeleteNotificationRequestOrBuilder

Request message for DeleteNotification.

Protobuf type google.storage.v2.DeleteNotificationRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteNotificationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteNotificationRequest.Builder
Overrides

build()

public DeleteNotificationRequest build()
Returns
TypeDescription
DeleteNotificationRequest

buildPartial()

public DeleteNotificationRequest buildPartial()
Returns
TypeDescription
DeleteNotificationRequest

clear()

public DeleteNotificationRequest.Builder clear()
Returns
TypeDescription
DeleteNotificationRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeleteNotificationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeleteNotificationRequest.Builder
Overrides

clearName()

public DeleteNotificationRequest.Builder clearName()

Required. The parent bucket of the notification.

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

Returns
TypeDescription
DeleteNotificationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteNotificationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeleteNotificationRequest.Builder
Overrides

clone()

public DeleteNotificationRequest.Builder clone()
Returns
TypeDescription
DeleteNotificationRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteNotificationRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteNotificationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The parent bucket of the notification.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The parent bucket of the notification.

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteNotificationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteNotificationRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeleteNotificationRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeleteNotificationRequest.Builder
Overrides

mergeFrom(DeleteNotificationRequest other)

public DeleteNotificationRequest.Builder mergeFrom(DeleteNotificationRequest other)
Parameter
NameDescription
otherDeleteNotificationRequest
Returns
TypeDescription
DeleteNotificationRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteNotificationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteNotificationRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteNotificationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteNotificationRequest.Builder
Overrides

setName(String value)

public DeleteNotificationRequest.Builder setName(String value)

Required. The parent bucket of the notification.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteNotificationRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteNotificationRequest.Builder setNameBytes(ByteString value)

Required. The parent bucket of the notification.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteNotificationRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeleteNotificationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteNotificationRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteNotificationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteNotificationRequest.Builder
Overrides