Interface CreateNotificationRequestOrBuilder (2.7.1)

public interface CreateNotificationRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNotification()

public abstract Notification getNotification()

Required. Properties of the notification to be inserted.

.google.storage.v2.Notification notification = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Notification

The notification.

getNotificationOrBuilder()

public abstract NotificationOrBuilder getNotificationOrBuilder()

Required. Properties of the notification to be inserted.

.google.storage.v2.Notification notification = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NotificationOrBuilder

getParent()

public abstract String getParent()

Required. The bucket to which this notification belongs.

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The bucket to which this notification belongs.

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

Returns
Type Description
ByteString

The bytes for parent.

hasNotification()

public abstract boolean hasNotification()

Required. Properties of the notification to be inserted.

.google.storage.v2.Notification notification = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the notification field is set.