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 InitialPublishResponse
getInitialResponse()
Initial response on the stream.InitialPublishResponseOrBuilder
getInitialResponseOrBuilder()
Initial response on the stream.MessagePublishResponse
getMessageResponse()
Response to publishing messages.MessagePublishResponseOrBuilder
getMessageResponseOrBuilder()
Response to publishing messages.PublishResponse.ResponseTypeCase
getResponseTypeCase()
boolean
hasInitialResponse()
Initial response on the stream.boolean
hasMessageResponse()
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()
-
-