public interface PublishRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
PubsubMessage |
getMessages(int index)
Required.
|
int |
getMessagesCount()
Required.
|
List<PubsubMessage> |
getMessagesList()
Required.
|
PubsubMessageOrBuilder |
getMessagesOrBuilder(int index)
Required.
|
List<? extends PubsubMessageOrBuilder> |
getMessagesOrBuilderList()
Required.
|
String |
getTopic()
Required.
|
com.google.protobuf.ByteString |
getTopicBytes()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
String getTopic()
Required. The messages in the request will be published on this topic. Format is `projects/{project}/topics/{topic}`.
string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getTopicBytes()
Required. The messages in the request will be published on this topic. Format is `projects/{project}/topics/{topic}`.
string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
List<PubsubMessage> getMessagesList()
Required. The messages to publish.
repeated .google.pubsub.v1.PubsubMessage messages = 2 [(.google.api.field_behavior) = REQUIRED];
PubsubMessage getMessages(int index)
Required. The messages to publish.
repeated .google.pubsub.v1.PubsubMessage messages = 2 [(.google.api.field_behavior) = REQUIRED];
int getMessagesCount()
Required. The messages to publish.
repeated .google.pubsub.v1.PubsubMessage messages = 2 [(.google.api.field_behavior) = REQUIRED];
List<? extends PubsubMessageOrBuilder> getMessagesOrBuilderList()
Required. The messages to publish.
repeated .google.pubsub.v1.PubsubMessage messages = 2 [(.google.api.field_behavior) = REQUIRED];
PubsubMessageOrBuilder getMessagesOrBuilder(int index)
Required. The messages to publish.
repeated .google.pubsub.v1.PubsubMessage messages = 2 [(.google.api.field_behavior) = REQUIRED];
Copyright © 2023 Google LLC. All rights reserved.