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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ComputeHeadCursorResponse.BuilderImplements
ComputeHeadCursorResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ComputeHeadCursorResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ComputeHeadCursorResponse.Builder |
build()
public ComputeHeadCursorResponse build()
Type | Description |
ComputeHeadCursorResponse |
buildPartial()
public ComputeHeadCursorResponse buildPartial()
Type | Description |
ComputeHeadCursorResponse |
clear()
public ComputeHeadCursorResponse.Builder clear()
Type | Description |
ComputeHeadCursorResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ComputeHeadCursorResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ComputeHeadCursorResponse.Builder |
clearHeadCursor()
public ComputeHeadCursorResponse.Builder clearHeadCursor()
The head cursor.
.google.cloud.pubsublite.v1.Cursor head_cursor = 1;
Type | Description |
ComputeHeadCursorResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ComputeHeadCursorResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ComputeHeadCursorResponse.Builder |
clone()
public ComputeHeadCursorResponse.Builder clone()
Type | Description |
ComputeHeadCursorResponse.Builder |
getDefaultInstanceForType()
public ComputeHeadCursorResponse getDefaultInstanceForType()
Type | Description |
ComputeHeadCursorResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getHeadCursor()
public Cursor getHeadCursor()
The head cursor.
.google.cloud.pubsublite.v1.Cursor head_cursor = 1;
Type | Description |
Cursor | The headCursor. |
getHeadCursorBuilder()
public Cursor.Builder getHeadCursorBuilder()
The head cursor.
.google.cloud.pubsublite.v1.Cursor head_cursor = 1;
Type | Description |
Cursor.Builder |
getHeadCursorOrBuilder()
public CursorOrBuilder getHeadCursorOrBuilder()
The head cursor.
.google.cloud.pubsublite.v1.Cursor head_cursor = 1;
Type | Description |
CursorOrBuilder |
hasHeadCursor()
public boolean hasHeadCursor()
The head cursor.
.google.cloud.pubsublite.v1.Cursor head_cursor = 1;
Type | Description |
boolean | Whether the headCursor field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ComputeHeadCursorResponse other)
public ComputeHeadCursorResponse.Builder mergeFrom(ComputeHeadCursorResponse other)
Name | Description |
other | ComputeHeadCursorResponse |
Type | Description |
ComputeHeadCursorResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ComputeHeadCursorResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComputeHeadCursorResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ComputeHeadCursorResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ComputeHeadCursorResponse.Builder |
mergeHeadCursor(Cursor value)
public ComputeHeadCursorResponse.Builder mergeHeadCursor(Cursor value)
The head cursor.
.google.cloud.pubsublite.v1.Cursor head_cursor = 1;
Name | Description |
value | Cursor |
Type | Description |
ComputeHeadCursorResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ComputeHeadCursorResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ComputeHeadCursorResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ComputeHeadCursorResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ComputeHeadCursorResponse.Builder |
setHeadCursor(Cursor value)
public ComputeHeadCursorResponse.Builder setHeadCursor(Cursor value)
The head cursor.
.google.cloud.pubsublite.v1.Cursor head_cursor = 1;
Name | Description |
value | Cursor |
Type | Description |
ComputeHeadCursorResponse.Builder |
setHeadCursor(Cursor.Builder builderForValue)
public ComputeHeadCursorResponse.Builder setHeadCursor(Cursor.Builder builderForValue)
The head cursor.
.google.cloud.pubsublite.v1.Cursor head_cursor = 1;
Name | Description |
builderForValue | Cursor.Builder |
Type | Description |
ComputeHeadCursorResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ComputeHeadCursorResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ComputeHeadCursorResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ComputeHeadCursorResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ComputeHeadCursorResponse.Builder |