public static final class ListSectionItemsResponse.Builder extends GeneratedMessage.Builder<ListSectionItemsResponse.Builder> implements ListSectionItemsResponseOrBuilderResponse message for listing section items.
Protobuf type google.chat.v1.ListSectionItemsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListSectionItemsResponse.BuilderImplements
ListSectionItemsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllSectionItems(Iterable<? extends SectionItem> values)
public ListSectionItemsResponse.Builder addAllSectionItems(Iterable<? extends SectionItem> values)The section items from the specified section.
repeated .google.chat.v1.SectionItem section_items = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.chat.v1.SectionItem> |
| Returns | |
|---|---|
| Type | Description |
ListSectionItemsResponse.Builder |
|
addSectionItems(SectionItem value)
public ListSectionItemsResponse.Builder addSectionItems(SectionItem value)The section items from the specified section.
repeated .google.chat.v1.SectionItem section_items = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
SectionItem |
| Returns | |
|---|---|
| Type | Description |
ListSectionItemsResponse.Builder |
|
addSectionItems(SectionItem.Builder builderForValue)
public ListSectionItemsResponse.Builder addSectionItems(SectionItem.Builder builderForValue)The section items from the specified section.
repeated .google.chat.v1.SectionItem section_items = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SectionItem.Builder |
| Returns | |
|---|---|
| Type | Description |
ListSectionItemsResponse.Builder |
|
addSectionItems(int index, SectionItem value)
public ListSectionItemsResponse.Builder addSectionItems(int index, SectionItem value)The section items from the specified section.
repeated .google.chat.v1.SectionItem section_items = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SectionItem |
| Returns | |
|---|---|
| Type | Description |
ListSectionItemsResponse.Builder |
|
addSectionItems(int index, SectionItem.Builder builderForValue)
public ListSectionItemsResponse.Builder addSectionItems(int index, SectionItem.Builder builderForValue)The section items from the specified section.
repeated .google.chat.v1.SectionItem section_items = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SectionItem.Builder |
| Returns | |
|---|---|
| Type | Description |
ListSectionItemsResponse.Builder |
|
addSectionItemsBuilder()
public SectionItem.Builder addSectionItemsBuilder()The section items from the specified section.
repeated .google.chat.v1.SectionItem section_items = 1;
| Returns | |
|---|---|
| Type | Description |
SectionItem.Builder |
|
addSectionItemsBuilder(int index)
public SectionItem.Builder addSectionItemsBuilder(int index)The section items from the specified section.
repeated .google.chat.v1.SectionItem section_items = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SectionItem.Builder |
|
build()
public ListSectionItemsResponse build()| Returns | |
|---|---|
| Type | Description |
ListSectionItemsResponse |
|
buildPartial()
public ListSectionItemsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListSectionItemsResponse |
|
clear()
public ListSectionItemsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListSectionItemsResponse.Builder |
|
clearNextPageToken()
public ListSectionItemsResponse.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 | |
|---|---|
| Type | Description |
ListSectionItemsResponse.Builder |
This builder for chaining. |
clearSectionItems()
public ListSectionItemsResponse.Builder clearSectionItems()The section items from the specified section.
repeated .google.chat.v1.SectionItem section_items = 1;
| Returns | |
|---|---|
| Type | Description |
ListSectionItemsResponse.Builder |
|
getDefaultInstanceForType()
public ListSectionItemsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListSectionItemsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getSectionItems(int index)
public SectionItem getSectionItems(int index)The section items from the specified section.
repeated .google.chat.v1.SectionItem section_items = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SectionItem |
|
getSectionItemsBuilder(int index)
public SectionItem.Builder getSectionItemsBuilder(int index)The section items from the specified section.
repeated .google.chat.v1.SectionItem section_items = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SectionItem.Builder |
|
getSectionItemsBuilderList()
public List<SectionItem.Builder> getSectionItemsBuilderList()The section items from the specified section.
repeated .google.chat.v1.SectionItem section_items = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getSectionItemsCount()
public int getSectionItemsCount()The section items from the specified section.
repeated .google.chat.v1.SectionItem section_items = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getSectionItemsList()
public List<SectionItem> getSectionItemsList()The section items from the specified section.
repeated .google.chat.v1.SectionItem section_items = 1;
| Returns | |
|---|---|
| Type | Description |
List<SectionItem> |
|
getSectionItemsOrBuilder(int index)
public SectionItemOrBuilder getSectionItemsOrBuilder(int index)The section items from the specified section.
repeated .google.chat.v1.SectionItem section_items = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SectionItemOrBuilder |
|
getSectionItemsOrBuilderList()
public List<? extends SectionItemOrBuilder> getSectionItemsOrBuilderList()The section items from the specified section.
repeated .google.chat.v1.SectionItem section_items = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.chat.v1.SectionItemOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListSectionItemsResponse other)
public ListSectionItemsResponse.Builder mergeFrom(ListSectionItemsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListSectionItemsResponse |
| Returns | |
|---|---|
| Type | Description |
ListSectionItemsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListSectionItemsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListSectionItemsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListSectionItemsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListSectionItemsResponse.Builder |
|
removeSectionItems(int index)
public ListSectionItemsResponse.Builder removeSectionItems(int index)The section items from the specified section.
repeated .google.chat.v1.SectionItem section_items = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListSectionItemsResponse.Builder |
|
setNextPageToken(String value)
public ListSectionItemsResponse.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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListSectionItemsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListSectionItemsResponse.Builder setNextPageTokenBytes(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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListSectionItemsResponse.Builder |
This builder for chaining. |
setSectionItems(int index, SectionItem value)
public ListSectionItemsResponse.Builder setSectionItems(int index, SectionItem value)The section items from the specified section.
repeated .google.chat.v1.SectionItem section_items = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SectionItem |
| Returns | |
|---|---|
| Type | Description |
ListSectionItemsResponse.Builder |
|
setSectionItems(int index, SectionItem.Builder builderForValue)
public ListSectionItemsResponse.Builder setSectionItems(int index, SectionItem.Builder builderForValue)The section items from the specified section.
repeated .google.chat.v1.SectionItem section_items = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SectionItem.Builder |
| Returns | |
|---|---|
| Type | Description |
ListSectionItemsResponse.Builder |
|