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