public final class PublishResponse extends GeneratedMessageV3 implements PublishResponseOrBuilder
Response to a PublishRequest.
Protobuf type google.cloud.pubsublite.v1.PublishResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PublishResponseImplements
PublishResponseOrBuilderStatic Fields
INITIAL_RESPONSE_FIELD_NUMBER
public static final int INITIAL_RESPONSE_FIELD_NUMBER
Type | Description |
int |
MESSAGE_RESPONSE_FIELD_NUMBER
public static final int MESSAGE_RESPONSE_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static PublishResponse getDefaultInstance()
Type | Description |
PublishResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static PublishResponse.Builder newBuilder()
Type | Description |
PublishResponse.Builder |
newBuilder(PublishResponse prototype)
public static PublishResponse.Builder newBuilder(PublishResponse prototype)
Name | Description |
prototype | PublishResponse |
Type | Description |
PublishResponse.Builder |
parseDelimitedFrom(InputStream input)
public static PublishResponse parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
PublishResponse |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PublishResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PublishResponse |
Type | Description |
IOException |
parseFrom(byte[] data)
public static PublishResponse parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
PublishResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PublishResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PublishResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static PublishResponse parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
PublishResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PublishResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PublishResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static PublishResponse parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
PublishResponse |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PublishResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PublishResponse |
Type | Description |
IOException |
parseFrom(InputStream input)
public static PublishResponse parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
PublishResponse |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PublishResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PublishResponse |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static PublishResponse parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
PublishResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PublishResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PublishResponse |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<PublishResponse> parser()
Type | Description |
Parser<PublishResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public PublishResponse getDefaultInstanceForType()
Type | Description |
PublishResponse |
getInitialResponse()
public InitialPublishResponse getInitialResponse()
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialPublishResponse initial_response = 1;
Type | Description |
InitialPublishResponse | The initialResponse. |
getInitialResponseOrBuilder()
public InitialPublishResponseOrBuilder getInitialResponseOrBuilder()
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialPublishResponse initial_response = 1;
Type | Description |
InitialPublishResponseOrBuilder |
getMessageResponse()
public MessagePublishResponse getMessageResponse()
Response to publishing messages.
.google.cloud.pubsublite.v1.MessagePublishResponse message_response = 2;
Type | Description |
MessagePublishResponse | The messageResponse. |
getMessageResponseOrBuilder()
public MessagePublishResponseOrBuilder getMessageResponseOrBuilder()
Response to publishing messages.
.google.cloud.pubsublite.v1.MessagePublishResponse message_response = 2;
Type | Description |
MessagePublishResponseOrBuilder |
getParserForType()
public Parser<PublishResponse> getParserForType()
Type | Description |
Parser<PublishResponse> |
getResponseTypeCase()
public PublishResponse.ResponseTypeCase getResponseTypeCase()
Type | Description |
PublishResponse.ResponseTypeCase |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasInitialResponse()
public boolean hasInitialResponse()
Initial response on the stream.
.google.cloud.pubsublite.v1.InitialPublishResponse initial_response = 1;
Type | Description |
boolean | Whether the initialResponse field is set. |
hasMessageResponse()
public boolean hasMessageResponse()
Response to publishing messages.
.google.cloud.pubsublite.v1.MessagePublishResponse message_response = 2;
Type | Description |
boolean | Whether the messageResponse field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public PublishResponse.Builder newBuilderForType()
Type | Description |
PublishResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PublishResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
PublishResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public PublishResponse.Builder toBuilder()
Type | Description |
PublishResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |