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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InitialPublishResponsegetInitialResponse()Initial response on the stream.InitialPublishResponseOrBuildergetInitialResponseOrBuilder()Initial response on the stream.MessagePublishResponsegetMessageResponse()Response to publishing messages.MessagePublishResponseOrBuildergetMessageResponseOrBuilder()Response to publishing messages.PublishResponse.ResponseTypeCasegetResponseTypeCase()booleanhasInitialResponse()Initial response on the stream.booleanhasMessageResponse()Response to publishing messages.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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()
-
-