public final class PartitionAssignmentRequest extends GeneratedMessageV3 implements PartitionAssignmentRequestOrBuilder
A request on the PartitionAssignment stream.
Protobuf type google.cloud.pubsublite.v1.PartitionAssignmentRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PartitionAssignmentRequestImplements
PartitionAssignmentRequestOrBuilderStatic Fields
ACK_FIELD_NUMBER
public static final int ACK_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
INITIAL_FIELD_NUMBER
public static final int INITIAL_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static PartitionAssignmentRequest getDefaultInstance()
Returns | |
---|---|
Type | Description |
PartitionAssignmentRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static PartitionAssignmentRequest.Builder newBuilder()
Returns | |
---|---|
Type | Description |
PartitionAssignmentRequest.Builder |
newBuilder(PartitionAssignmentRequest prototype)
public static PartitionAssignmentRequest.Builder newBuilder(PartitionAssignmentRequest prototype)
Parameter | |
---|---|
Name | Description |
prototype | PartitionAssignmentRequest |
Returns | |
---|---|
Type | Description |
PartitionAssignmentRequest.Builder |
parseDelimitedFrom(InputStream input)
public static PartitionAssignmentRequest parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
PartitionAssignmentRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PartitionAssignmentRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PartitionAssignmentRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static PartitionAssignmentRequest parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
PartitionAssignmentRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PartitionAssignmentRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PartitionAssignmentRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static PartitionAssignmentRequest parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
PartitionAssignmentRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PartitionAssignmentRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PartitionAssignmentRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static PartitionAssignmentRequest parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
PartitionAssignmentRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PartitionAssignmentRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PartitionAssignmentRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static PartitionAssignmentRequest parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
PartitionAssignmentRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PartitionAssignmentRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PartitionAssignmentRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static PartitionAssignmentRequest parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
PartitionAssignmentRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PartitionAssignmentRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PartitionAssignmentRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<PartitionAssignmentRequest> parser()
Returns | |
---|---|
Type | Description |
Parser<PartitionAssignmentRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getAck()
public PartitionAssignmentAck getAck()
Acknowledgement of a partition assignment.
.google.cloud.pubsublite.v1.PartitionAssignmentAck ack = 2;
Returns | |
---|---|
Type | Description |
PartitionAssignmentAck | The ack. |
getAckOrBuilder()
public PartitionAssignmentAckOrBuilder getAckOrBuilder()
Acknowledgement of a partition assignment.
.google.cloud.pubsublite.v1.PartitionAssignmentAck ack = 2;
Returns | |
---|---|
Type | Description |
PartitionAssignmentAckOrBuilder |
getDefaultInstanceForType()
public PartitionAssignmentRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PartitionAssignmentRequest |
getInitial()
public InitialPartitionAssignmentRequest getInitial()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialPartitionAssignmentRequest initial = 1;
Returns | |
---|---|
Type | Description |
InitialPartitionAssignmentRequest | The initial. |
getInitialOrBuilder()
public InitialPartitionAssignmentRequestOrBuilder getInitialOrBuilder()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialPartitionAssignmentRequest initial = 1;
Returns | |
---|---|
Type | Description |
InitialPartitionAssignmentRequestOrBuilder |
getParserForType()
public Parser<PartitionAssignmentRequest> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<PartitionAssignmentRequest> |
getRequestCase()
public PartitionAssignmentRequest.RequestCase getRequestCase()
Returns | |
---|---|
Type | Description |
PartitionAssignmentRequest.RequestCase |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hasAck()
public boolean hasAck()
Acknowledgement of a partition assignment.
.google.cloud.pubsublite.v1.PartitionAssignmentAck ack = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the ack field is set. |
hasInitial()
public boolean hasInitial()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialPartitionAssignmentRequest initial = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the initial field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public PartitionAssignmentRequest.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
PartitionAssignmentRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PartitionAssignmentRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
PartitionAssignmentRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public PartitionAssignmentRequest.Builder toBuilder()
Returns | |
---|---|
Type | Description |
PartitionAssignmentRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |