public final class PublishResponse extends GeneratedMessageV3 implements PublishResponseOrBuilder
Response for the Publish
method.
Protobuf type google.pubsub.v1.PublishResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PublishResponseImplements
PublishResponseOrBuilderStatic Fields
MESSAGE_IDS_FIELD_NUMBER
public static final int MESSAGE_IDS_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 |
getMessageIds(int index)
public String getMessageIds(int index)
The server-assigned ID of each published message, in the same order as the messages in the request. IDs are guaranteed to be unique within the topic.
repeated string message_ids = 1;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The messageIds at the given index. |
getMessageIdsBytes(int index)
public ByteString getMessageIdsBytes(int index)
The server-assigned ID of each published message, in the same order as the messages in the request. IDs are guaranteed to be unique within the topic.
repeated string message_ids = 1;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the messageIds at the given index. |
getMessageIdsCount()
public int getMessageIdsCount()
The server-assigned ID of each published message, in the same order as the messages in the request. IDs are guaranteed to be unique within the topic.
repeated string message_ids = 1;
Type | Description |
int | The count of messageIds. |
getMessageIdsList()
public ProtocolStringList getMessageIdsList()
The server-assigned ID of each published message, in the same order as the messages in the request. IDs are guaranteed to be unique within the topic.
repeated string message_ids = 1;
Type | Description |
ProtocolStringList | A list containing the messageIds. |
getParserForType()
public Parser<PublishResponse> getParserForType()
Type | Description |
Parser<PublishResponse> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
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 |