public static final class PartitionAssignmentRequest.Builder extends GeneratedMessageV3.Builder<PartitionAssignmentRequest.Builder> implements PartitionAssignmentRequestOrBuilder
A request on the PartitionAssignment stream.
Protobuf type google.cloud.pubsublite.v1.PartitionAssignmentRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PartitionAssignmentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PartitionAssignmentRequest build()
buildPartial()
public PartitionAssignmentRequest buildPartial()
clear()
public PartitionAssignmentRequest.Builder clear()
Overrides
clearAck()
public PartitionAssignmentRequest.Builder clearAck()
Acknowledgement of a partition assignment.
.google.cloud.pubsublite.v1.PartitionAssignmentAck ack = 2;
clearField(Descriptors.FieldDescriptor field)
public PartitionAssignmentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInitial()
public PartitionAssignmentRequest.Builder clearInitial()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialPartitionAssignmentRequest initial = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public PartitionAssignmentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRequest()
public PartitionAssignmentRequest.Builder clearRequest()
clone()
public PartitionAssignmentRequest.Builder clone()
Overrides
getAck()
public PartitionAssignmentAck getAck()
Acknowledgement of a partition assignment.
.google.cloud.pubsublite.v1.PartitionAssignmentAck ack = 2;
getAckBuilder()
public PartitionAssignmentAck.Builder getAckBuilder()
Acknowledgement of a partition assignment.
.google.cloud.pubsublite.v1.PartitionAssignmentAck ack = 2;
getAckOrBuilder()
public PartitionAssignmentAckOrBuilder getAckOrBuilder()
Acknowledgement of a partition assignment.
.google.cloud.pubsublite.v1.PartitionAssignmentAck ack = 2;
getDefaultInstanceForType()
public PartitionAssignmentRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getInitial()
public InitialPartitionAssignmentRequest getInitial()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialPartitionAssignmentRequest initial = 1;
getInitialBuilder()
public InitialPartitionAssignmentRequest.Builder getInitialBuilder()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialPartitionAssignmentRequest initial = 1;
getInitialOrBuilder()
public InitialPartitionAssignmentRequestOrBuilder getInitialOrBuilder()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialPartitionAssignmentRequest initial = 1;
getRequestCase()
public PartitionAssignmentRequest.RequestCase getRequestCase()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAck(PartitionAssignmentAck value)
public PartitionAssignmentRequest.Builder mergeAck(PartitionAssignmentAck value)
Acknowledgement of a partition assignment.
.google.cloud.pubsublite.v1.PartitionAssignmentAck ack = 2;
mergeFrom(PartitionAssignmentRequest other)
public PartitionAssignmentRequest.Builder mergeFrom(PartitionAssignmentRequest other)
public PartitionAssignmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PartitionAssignmentRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeInitial(InitialPartitionAssignmentRequest value)
public PartitionAssignmentRequest.Builder mergeInitial(InitialPartitionAssignmentRequest value)
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialPartitionAssignmentRequest initial = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PartitionAssignmentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAck(PartitionAssignmentAck value)
public PartitionAssignmentRequest.Builder setAck(PartitionAssignmentAck value)
Acknowledgement of a partition assignment.
.google.cloud.pubsublite.v1.PartitionAssignmentAck ack = 2;
setAck(PartitionAssignmentAck.Builder builderForValue)
public PartitionAssignmentRequest.Builder setAck(PartitionAssignmentAck.Builder builderForValue)
Acknowledgement of a partition assignment.
.google.cloud.pubsublite.v1.PartitionAssignmentAck ack = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public PartitionAssignmentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setInitial(InitialPartitionAssignmentRequest value)
public PartitionAssignmentRequest.Builder setInitial(InitialPartitionAssignmentRequest value)
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialPartitionAssignmentRequest initial = 1;
setInitial(InitialPartitionAssignmentRequest.Builder builderForValue)
public PartitionAssignmentRequest.Builder setInitial(InitialPartitionAssignmentRequest.Builder builderForValue)
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialPartitionAssignmentRequest initial = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PartitionAssignmentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PartitionAssignmentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides