Interface TransferTypes.NotificationConfigOrBuilder (1.45.0)

public static interface TransferTypes.NotificationConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEventTypes(int index)

public abstract TransferTypes.NotificationConfig.EventType getEventTypes(int index)

Event types for which a notification is desired. If empty, send notifications for all event types.

repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
TransferTypes.NotificationConfig.EventType

The eventTypes at the given index.

getEventTypesCount()

public abstract int getEventTypesCount()

Event types for which a notification is desired. If empty, send notifications for all event types.

repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2;

Returns
Type Description
int

The count of eventTypes.

getEventTypesList()

public abstract List<TransferTypes.NotificationConfig.EventType> getEventTypesList()

Event types for which a notification is desired. If empty, send notifications for all event types.

repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2;

Returns
Type Description
List<EventType>

A list containing the eventTypes.

getEventTypesValue(int index)

public abstract int getEventTypesValue(int index)

Event types for which a notification is desired. If empty, send notifications for all event types.

repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of eventTypes at the given index.

getEventTypesValueList()

public abstract List<Integer> getEventTypesValueList()

Event types for which a notification is desired. If empty, send notifications for all event types.

repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for eventTypes.

getPayloadFormat()

public abstract TransferTypes.NotificationConfig.PayloadFormat getPayloadFormat()

Required. The desired format of the notification message payloads.

.google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TransferTypes.NotificationConfig.PayloadFormat

The payloadFormat.

getPayloadFormatValue()

public abstract int getPayloadFormatValue()

Required. The desired format of the notification message payloads.

.google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for payloadFormat.

getPubsubTopic()

public abstract String getPubsubTopic()

Required. The Topic.name of the Pub/Sub topic to which to publish notifications. Must be of the format: projects/{project}/topics/{topic}. Not matching this format results in an INVALID_ARGUMENT error.

string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The pubsubTopic.

getPubsubTopicBytes()

public abstract ByteString getPubsubTopicBytes()

Required. The Topic.name of the Pub/Sub topic to which to publish notifications. Must be of the format: projects/{project}/topics/{topic}. Not matching this format results in an INVALID_ARGUMENT error.

string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for pubsubTopic.