public static interface TransferTypes.NotificationConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
TransferTypes.NotificationConfig.EventType |
getEventTypes(int index)
Event types for which a notification is desired.
|
int |
getEventTypesCount()
Event types for which a notification is desired.
|
List<TransferTypes.NotificationConfig.EventType> |
getEventTypesList()
Event types for which a notification is desired.
|
int |
getEventTypesValue(int index)
Event types for which a notification is desired.
|
List<Integer> |
getEventTypesValueList()
Event types for which a notification is desired.
|
TransferTypes.NotificationConfig.PayloadFormat |
getPayloadFormat()
Required.
|
int |
getPayloadFormatValue()
Required.
|
String |
getPubsubTopic()
Required.
|
com.google.protobuf.ByteString |
getPubsubTopicBytes()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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][google.rpc.Code.INVALID_ARGUMENT] error.
string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.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][google.rpc.Code.INVALID_ARGUMENT] error.
string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED];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;
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;
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;
index - The index of the element to return.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;
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;
index - The index of the value to return.int getPayloadFormatValue()
Required. The desired format of the notification message payloads.
.google.storagetransfer.v1.NotificationConfig.PayloadFormat payload_format = 3 [(.google.api.field_behavior) = REQUIRED];
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];
Copyright © 2022 Google LLC. All rights reserved.