public static final class ComputeHeadCursorResponse.Builder extends GeneratedMessageV3.Builder<ComputeHeadCursorResponse.Builder> implements ComputeHeadCursorResponseOrBuilder
Response containing the head cursor for the requested topic and partition.
Protobuf type google.cloud.pubsublite.v1.ComputeHeadCursorResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 ComputeHeadCursorResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ComputeHeadCursorResponse build()
buildPartial()
public ComputeHeadCursorResponse buildPartial()
clear()
public ComputeHeadCursorResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ComputeHeadCursorResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearHeadCursor()
public ComputeHeadCursorResponse.Builder clearHeadCursor()
The head cursor.
.google.cloud.pubsublite.v1.Cursor head_cursor = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public ComputeHeadCursorResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ComputeHeadCursorResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ComputeHeadCursorResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getHeadCursor()
public Cursor getHeadCursor()
The head cursor.
.google.cloud.pubsublite.v1.Cursor head_cursor = 1;
Returns |
Type |
Description |
Cursor |
The headCursor.
|
getHeadCursorBuilder()
public Cursor.Builder getHeadCursorBuilder()
The head cursor.
.google.cloud.pubsublite.v1.Cursor head_cursor = 1;
getHeadCursorOrBuilder()
public CursorOrBuilder getHeadCursorOrBuilder()
The head cursor.
.google.cloud.pubsublite.v1.Cursor head_cursor = 1;
hasHeadCursor()
public boolean hasHeadCursor()
The head cursor.
.google.cloud.pubsublite.v1.Cursor head_cursor = 1;
Returns |
Type |
Description |
boolean |
Whether the headCursor field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ComputeHeadCursorResponse other)
public ComputeHeadCursorResponse.Builder mergeFrom(ComputeHeadCursorResponse other)
public ComputeHeadCursorResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ComputeHeadCursorResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeHeadCursor(Cursor value)
public ComputeHeadCursorResponse.Builder mergeHeadCursor(Cursor value)
The head cursor.
.google.cloud.pubsublite.v1.Cursor head_cursor = 1;
Parameter |
Name |
Description |
value |
Cursor
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ComputeHeadCursorResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ComputeHeadCursorResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setHeadCursor(Cursor value)
public ComputeHeadCursorResponse.Builder setHeadCursor(Cursor value)
The head cursor.
.google.cloud.pubsublite.v1.Cursor head_cursor = 1;
Parameter |
Name |
Description |
value |
Cursor
|
setHeadCursor(Cursor.Builder builderForValue)
public ComputeHeadCursorResponse.Builder setHeadCursor(Cursor.Builder builderForValue)
The head cursor.
.google.cloud.pubsublite.v1.Cursor head_cursor = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ComputeHeadCursorResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ComputeHeadCursorResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides