public interface ExportConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
ExportConfig.State |
getCurrentState()
Output only.
|
int |
getCurrentStateValue()
Output only.
|
String |
getDeadLetterTopic()
Optional.
|
com.google.protobuf.ByteString |
getDeadLetterTopicBytes()
Optional.
|
ExportConfig.State |
getDesiredState()
The desired state of this export.
|
int |
getDesiredStateValue()
The desired state of this export.
|
ExportConfig.DestinationCase |
getDestinationCase() |
ExportConfig.PubSubConfig |
getPubsubConfig()
Messages are automatically written from the Pub/Sub Lite topic associated
with this subscription to a Pub/Sub topic.
|
ExportConfig.PubSubConfigOrBuilder |
getPubsubConfigOrBuilder()
Messages are automatically written from the Pub/Sub Lite topic associated
with this subscription to a Pub/Sub topic.
|
boolean |
hasPubsubConfig()
Messages are automatically written from the Pub/Sub Lite topic associated
with this subscription to a Pub/Sub topic.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getDesiredStateValue()
The desired state of this export. Setting this to values other than `ACTIVE` and `PAUSED` will result in an error.
.google.cloud.pubsublite.v1.ExportConfig.State desired_state = 1;ExportConfig.State getDesiredState()
The desired state of this export. Setting this to values other than `ACTIVE` and `PAUSED` will result in an error.
.google.cloud.pubsublite.v1.ExportConfig.State desired_state = 1;int getCurrentStateValue()
Output only. The current state of the export, which may be different to the desired state due to errors.
.google.cloud.pubsublite.v1.ExportConfig.State current_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
ExportConfig.State getCurrentState()
Output only. The current state of the export, which may be different to the desired state due to errors.
.google.cloud.pubsublite.v1.ExportConfig.State current_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
String getDeadLetterTopic()
Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not
be exported to the destination. For example, the message can not be
published to the Pub/Sub service because it does not satisfy the
constraints documented at https://cloud.google.com/pubsub/docs/publisher.
Structured like:
projects/{project_number}/locations/{location}/topics/{topic_id}.
Must be within the same project and location as the subscription. The topic
may be changed or removed.
string dead_letter_topic = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getDeadLetterTopicBytes()
Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not
be exported to the destination. For example, the message can not be
published to the Pub/Sub service because it does not satisfy the
constraints documented at https://cloud.google.com/pubsub/docs/publisher.
Structured like:
projects/{project_number}/locations/{location}/topics/{topic_id}.
Must be within the same project and location as the subscription. The topic
may be changed or removed.
string dead_letter_topic = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
boolean hasPubsubConfig()
Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
.google.cloud.pubsublite.v1.ExportConfig.PubSubConfig pubsub_config = 3;ExportConfig.PubSubConfig getPubsubConfig()
Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
.google.cloud.pubsublite.v1.ExportConfig.PubSubConfig pubsub_config = 3;ExportConfig.PubSubConfigOrBuilder getPubsubConfigOrBuilder()
Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
.google.cloud.pubsublite.v1.ExportConfig.PubSubConfig pubsub_config = 3;ExportConfig.DestinationCase getDestinationCase()
Copyright © 2023 Google LLC. All rights reserved.