Package com.google.cloud.asset.v1
Interface PubsubDestinationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PubsubDestination,PubsubDestination.Builder
@Generated
public interface PubsubDestinationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetTopic()The name of the Pub/Sub topic to publish to.com.google.protobuf.ByteStringThe name of the Pub/Sub topic to publish to.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTopic
String getTopic()The name of the Pub/Sub topic to publish to. Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
string topic = 1;- Returns:
- The topic.
-
getTopicBytes
com.google.protobuf.ByteString getTopicBytes()The name of the Pub/Sub topic to publish to. Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
string topic = 1;- Returns:
- The bytes for topic.
-