Interface PublishResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PublishResponse,PublishResponse.Builder
public interface PublishResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionInitial response on the stream.Initial response on the stream.Response to publishing messages.Response to publishing messages.booleanInitial response on the stream.booleanResponse to publishing messages.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
-
hasInitialResponse
boolean hasInitialResponse()Initial response on the stream.
.google.cloud.pubsublite.v1.InitialPublishResponse initial_response = 1;- Returns:
- Whether the initialResponse field is set.
-
getInitialResponse
InitialPublishResponse getInitialResponse()Initial response on the stream.
.google.cloud.pubsublite.v1.InitialPublishResponse initial_response = 1;- Returns:
- The initialResponse.
-
getInitialResponseOrBuilder
InitialPublishResponseOrBuilder getInitialResponseOrBuilder()Initial response on the stream.
.google.cloud.pubsublite.v1.InitialPublishResponse initial_response = 1; -
hasMessageResponse
boolean hasMessageResponse()Response to publishing messages.
.google.cloud.pubsublite.v1.MessagePublishResponse message_response = 2;- Returns:
- Whether the messageResponse field is set.
-
getMessageResponse
MessagePublishResponse getMessageResponse()Response to publishing messages.
.google.cloud.pubsublite.v1.MessagePublishResponse message_response = 2;- Returns:
- The messageResponse.
-
getMessageResponseOrBuilder
MessagePublishResponseOrBuilder getMessageResponseOrBuilder()Response to publishing messages.
.google.cloud.pubsublite.v1.MessagePublishResponse message_response = 2; -
getResponseTypeCase
PublishResponse.ResponseTypeCase getResponseTypeCase()
-