Class ListPartitionCursorsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
- com.google.cloud.pubsublite.proto.ListPartitionCursorsResponse.Builder
-
- All Implemented Interfaces:
ListPartitionCursorsResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListPartitionCursorsResponse
public static final class ListPartitionCursorsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder> implements ListPartitionCursorsResponseOrBuilder
Response for ListPartitionCursors
Protobuf typegoogle.cloud.pubsublite.v1.ListPartitionCursorsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPartitionCursorsResponse.Builder
addAllPartitionCursors(Iterable<? extends PartitionCursor> values)
The partition cursors from this request.ListPartitionCursorsResponse.Builder
addPartitionCursors(int index, PartitionCursor value)
The partition cursors from this request.ListPartitionCursorsResponse.Builder
addPartitionCursors(int index, PartitionCursor.Builder builderForValue)
The partition cursors from this request.ListPartitionCursorsResponse.Builder
addPartitionCursors(PartitionCursor value)
The partition cursors from this request.ListPartitionCursorsResponse.Builder
addPartitionCursors(PartitionCursor.Builder builderForValue)
The partition cursors from this request.PartitionCursor.Builder
addPartitionCursorsBuilder()
The partition cursors from this request.PartitionCursor.Builder
addPartitionCursorsBuilder(int index)
The partition cursors from this request.ListPartitionCursorsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListPartitionCursorsResponse
build()
ListPartitionCursorsResponse
buildPartial()
ListPartitionCursorsResponse.Builder
clear()
ListPartitionCursorsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListPartitionCursorsResponse.Builder
clearNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page.ListPartitionCursorsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListPartitionCursorsResponse.Builder
clearPartitionCursors()
The partition cursors from this request.ListPartitionCursorsResponse.Builder
clone()
ListPartitionCursorsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page.com.google.protobuf.ByteString
getNextPageTokenBytes()
A token, which can be sent as `page_token` to retrieve the next page.PartitionCursor
getPartitionCursors(int index)
The partition cursors from this request.PartitionCursor.Builder
getPartitionCursorsBuilder(int index)
The partition cursors from this request.List<PartitionCursor.Builder>
getPartitionCursorsBuilderList()
The partition cursors from this request.int
getPartitionCursorsCount()
The partition cursors from this request.List<PartitionCursor>
getPartitionCursorsList()
The partition cursors from this request.PartitionCursorOrBuilder
getPartitionCursorsOrBuilder(int index)
The partition cursors from this request.List<? extends PartitionCursorOrBuilder>
getPartitionCursorsOrBuilderList()
The partition cursors from this request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListPartitionCursorsResponse.Builder
mergeFrom(ListPartitionCursorsResponse other)
ListPartitionCursorsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListPartitionCursorsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListPartitionCursorsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListPartitionCursorsResponse.Builder
removePartitionCursors(int index)
The partition cursors from this request.ListPartitionCursorsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListPartitionCursorsResponse.Builder
setNextPageToken(String value)
A token, which can be sent as `page_token` to retrieve the next page.ListPartitionCursorsResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token, which can be sent as `page_token` to retrieve the next page.ListPartitionCursorsResponse.Builder
setPartitionCursors(int index, PartitionCursor value)
The partition cursors from this request.ListPartitionCursorsResponse.Builder
setPartitionCursors(int index, PartitionCursor.Builder builderForValue)
The partition cursors from this request.ListPartitionCursorsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListPartitionCursorsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
clear
public ListPartitionCursorsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
getDefaultInstanceForType
public ListPartitionCursorsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListPartitionCursorsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListPartitionCursorsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListPartitionCursorsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
setField
public ListPartitionCursorsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
clearField
public ListPartitionCursorsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
clearOneof
public ListPartitionCursorsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
setRepeatedField
public ListPartitionCursorsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
addRepeatedField
public ListPartitionCursorsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
mergeFrom
public ListPartitionCursorsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListPartitionCursorsResponse.Builder>
-
mergeFrom
public ListPartitionCursorsResponse.Builder mergeFrom(ListPartitionCursorsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
mergeFrom
public ListPartitionCursorsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListPartitionCursorsResponse.Builder>
- Throws:
IOException
-
getPartitionCursorsList
public List<PartitionCursor> getPartitionCursorsList()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
- Specified by:
getPartitionCursorsList
in interfaceListPartitionCursorsResponseOrBuilder
-
getPartitionCursorsCount
public int getPartitionCursorsCount()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
- Specified by:
getPartitionCursorsCount
in interfaceListPartitionCursorsResponseOrBuilder
-
getPartitionCursors
public PartitionCursor getPartitionCursors(int index)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
- Specified by:
getPartitionCursors
in interfaceListPartitionCursorsResponseOrBuilder
-
setPartitionCursors
public ListPartitionCursorsResponse.Builder setPartitionCursors(int index, PartitionCursor value)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
setPartitionCursors
public ListPartitionCursorsResponse.Builder setPartitionCursors(int index, PartitionCursor.Builder builderForValue)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
addPartitionCursors
public ListPartitionCursorsResponse.Builder addPartitionCursors(PartitionCursor value)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
addPartitionCursors
public ListPartitionCursorsResponse.Builder addPartitionCursors(int index, PartitionCursor value)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
addPartitionCursors
public ListPartitionCursorsResponse.Builder addPartitionCursors(PartitionCursor.Builder builderForValue)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
addPartitionCursors
public ListPartitionCursorsResponse.Builder addPartitionCursors(int index, PartitionCursor.Builder builderForValue)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
addAllPartitionCursors
public ListPartitionCursorsResponse.Builder addAllPartitionCursors(Iterable<? extends PartitionCursor> values)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
clearPartitionCursors
public ListPartitionCursorsResponse.Builder clearPartitionCursors()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
removePartitionCursors
public ListPartitionCursorsResponse.Builder removePartitionCursors(int index)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
getPartitionCursorsBuilder
public PartitionCursor.Builder getPartitionCursorsBuilder(int index)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
getPartitionCursorsOrBuilder
public PartitionCursorOrBuilder getPartitionCursorsOrBuilder(int index)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
- Specified by:
getPartitionCursorsOrBuilder
in interfaceListPartitionCursorsResponseOrBuilder
-
getPartitionCursorsOrBuilderList
public List<? extends PartitionCursorOrBuilder> getPartitionCursorsOrBuilderList()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
- Specified by:
getPartitionCursorsOrBuilderList
in interfaceListPartitionCursorsResponseOrBuilder
-
addPartitionCursorsBuilder
public PartitionCursor.Builder addPartitionCursorsBuilder()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
addPartitionCursorsBuilder
public PartitionCursor.Builder addPartitionCursorsBuilder(int index)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
getPartitionCursorsBuilderList
public List<PartitionCursor.Builder> getPartitionCursorsBuilderList()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
getNextPageToken
public String getNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
- Specified by:
getNextPageToken
in interfaceListPartitionCursorsResponseOrBuilder
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
- Specified by:
getNextPageTokenBytes
in interfaceListPartitionCursorsResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListPartitionCursorsResponse.Builder setNextPageToken(String value)
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
- Parameters:
value
- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public ListPartitionCursorsResponse.Builder clearNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListPartitionCursorsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
- Parameters:
value
- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListPartitionCursorsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
mergeUnknownFields
public final ListPartitionCursorsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
-