public final class PullResponse extends GeneratedMessageV3 implements PullResponseOrBuilder
Response for the Pull
method.
Protobuf type google.pubsub.v1.PullResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PullResponseImplements
PullResponseOrBuilderStatic Fields
RECEIVED_MESSAGES_FIELD_NUMBER
public static final int RECEIVED_MESSAGES_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static PullResponse getDefaultInstance()
Type | Description |
PullResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static PullResponse.Builder newBuilder()
Type | Description |
PullResponse.Builder |
newBuilder(PullResponse prototype)
public static PullResponse.Builder newBuilder(PullResponse prototype)
Name | Description |
prototype | PullResponse |
Type | Description |
PullResponse.Builder |
parseDelimitedFrom(InputStream input)
public static PullResponse parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
PullResponse |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PullResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PullResponse |
Type | Description |
IOException |
parseFrom(byte[] data)
public static PullResponse parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
PullResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PullResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PullResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static PullResponse parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
PullResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PullResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PullResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static PullResponse parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
PullResponse |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PullResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PullResponse |
Type | Description |
IOException |
parseFrom(InputStream input)
public static PullResponse parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
PullResponse |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PullResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PullResponse |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static PullResponse parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
PullResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PullResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PullResponse |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<PullResponse> parser()
Type | Description |
Parser<PullResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public PullResponse getDefaultInstanceForType()
Type | Description |
PullResponse |
getParserForType()
public Parser<PullResponse> getParserForType()
Type | Description |
Parser<PullResponse> |
getReceivedMessages(int index)
public ReceivedMessage getReceivedMessages(int index)
Received Pub/Sub messages. The list will be empty if there are no more
messages available in the backlog. For JSON, the response can be entirely
empty. The Pub/Sub system may return fewer than the maxMessages
requested
even if there are more messages available in the backlog.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
Name | Description |
index | int |
Type | Description |
ReceivedMessage |
getReceivedMessagesCount()
public int getReceivedMessagesCount()
Received Pub/Sub messages. The list will be empty if there are no more
messages available in the backlog. For JSON, the response can be entirely
empty. The Pub/Sub system may return fewer than the maxMessages
requested
even if there are more messages available in the backlog.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
Type | Description |
int |
getReceivedMessagesList()
public List<ReceivedMessage> getReceivedMessagesList()
Received Pub/Sub messages. The list will be empty if there are no more
messages available in the backlog. For JSON, the response can be entirely
empty. The Pub/Sub system may return fewer than the maxMessages
requested
even if there are more messages available in the backlog.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
Type | Description |
List<ReceivedMessage> |
getReceivedMessagesOrBuilder(int index)
public ReceivedMessageOrBuilder getReceivedMessagesOrBuilder(int index)
Received Pub/Sub messages. The list will be empty if there are no more
messages available in the backlog. For JSON, the response can be entirely
empty. The Pub/Sub system may return fewer than the maxMessages
requested
even if there are more messages available in the backlog.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
Name | Description |
index | int |
Type | Description |
ReceivedMessageOrBuilder |
getReceivedMessagesOrBuilderList()
public List<? extends ReceivedMessageOrBuilder> getReceivedMessagesOrBuilderList()
Received Pub/Sub messages. The list will be empty if there are no more
messages available in the backlog. For JSON, the response can be entirely
empty. The Pub/Sub system may return fewer than the maxMessages
requested
even if there are more messages available in the backlog.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
Type | Description |
List<? extends com.google.pubsub.v1.ReceivedMessageOrBuilder> |
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 PullResponse.Builder newBuilderForType()
Type | Description |
PullResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PullResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
PullResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public PullResponse.Builder toBuilder()
Type | Description |
PullResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |