Send feedback
Class PartitionAssignmentRequest.Builder (1.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.6.0 keyboard_arrow_down
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
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PartitionAssignmentRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public PartitionAssignmentRequest build ()
Returns
buildPartial()
public PartitionAssignmentRequest buildPartial ()
Returns
clear()
public PartitionAssignmentRequest . Builder clear ()
Returns
Overrides
clearAck()
public PartitionAssignmentRequest . Builder clearAck ()
Acknowledgement of a partition assignment.
.google.cloud.pubsublite.v1.PartitionAssignmentAck ack = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public PartitionAssignmentRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearInitial()
public PartitionAssignmentRequest . Builder clearInitial ()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialPartitionAssignmentRequest initial = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public PartitionAssignmentRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearRequest()
public PartitionAssignmentRequest . Builder clearRequest ()
Returns
clone()
public PartitionAssignmentRequest . Builder clone ()
Returns
Overrides
getAck()
public PartitionAssignmentAck getAck ()
Acknowledgement of a partition assignment.
.google.cloud.pubsublite.v1.PartitionAssignmentAck ack = 2;
Returns
getAckBuilder()
public PartitionAssignmentAck . Builder getAckBuilder ()
Acknowledgement of a partition assignment.
.google.cloud.pubsublite.v1.PartitionAssignmentAck ack = 2;
Returns
getAckOrBuilder()
public PartitionAssignmentAckOrBuilder getAckOrBuilder ()
Acknowledgement of a partition assignment.
.google.cloud.pubsublite.v1.PartitionAssignmentAck ack = 2;
Returns
getDefaultInstanceForType()
public PartitionAssignmentRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getInitial()
public InitialPartitionAssignmentRequest getInitial ()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialPartitionAssignmentRequest initial = 1;
Returns
getInitialBuilder()
public InitialPartitionAssignmentRequest . Builder getInitialBuilder ()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialPartitionAssignmentRequest initial = 1;
Returns
getInitialOrBuilder()
public InitialPartitionAssignmentRequestOrBuilder getInitialOrBuilder ()
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialPartitionAssignmentRequest initial = 1;
Returns
getRequestCase()
public PartitionAssignmentRequest . RequestCase getRequestCase ()
Returns
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 ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeAck(PartitionAssignmentAck value)
public PartitionAssignmentRequest . Builder mergeAck ( PartitionAssignmentAck value )
Acknowledgement of a partition assignment.
.google.cloud.pubsublite.v1.PartitionAssignmentAck ack = 2;
Parameter
Returns
mergeFrom(PartitionAssignmentRequest other)
public PartitionAssignmentRequest . Builder mergeFrom ( PartitionAssignmentRequest other )
Parameter
Returns
public PartitionAssignmentRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PartitionAssignmentRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeInitial(InitialPartitionAssignmentRequest value)
public PartitionAssignmentRequest . Builder mergeInitial ( InitialPartitionAssignmentRequest value )
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialPartitionAssignmentRequest initial = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PartitionAssignmentRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setAck(PartitionAssignmentAck value)
public PartitionAssignmentRequest . Builder setAck ( PartitionAssignmentAck value )
Acknowledgement of a partition assignment.
.google.cloud.pubsublite.v1.PartitionAssignmentAck ack = 2;
Parameter
Returns
setAck(PartitionAssignmentAck.Builder builderForValue)
public PartitionAssignmentRequest . Builder setAck ( PartitionAssignmentAck . Builder builderForValue )
Acknowledgement of a partition assignment.
.google.cloud.pubsublite.v1.PartitionAssignmentAck ack = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public PartitionAssignmentRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setInitial(InitialPartitionAssignmentRequest value)
public PartitionAssignmentRequest . Builder setInitial ( InitialPartitionAssignmentRequest value )
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialPartitionAssignmentRequest initial = 1;
Parameter
Returns
setInitial(InitialPartitionAssignmentRequest.Builder builderForValue)
public PartitionAssignmentRequest . Builder setInitial ( InitialPartitionAssignmentRequest . Builder builderForValue )
Initial request on the stream.
.google.cloud.pubsublite.v1.InitialPartitionAssignmentRequest initial = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PartitionAssignmentRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PartitionAssignmentRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]