public static final class ShowFeedResponse.Builder extends GeneratedMessage.Builder<ShowFeedResponse.Builder> implements ShowFeedResponseOrBuilderThe response message for the ShowFeed endpoint.
Protobuf type google.cloud.support.v2beta.ShowFeedResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ShowFeedResponse.BuilderImplements
ShowFeedResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllFeedItems(Iterable<? extends FeedItem> values)
public ShowFeedResponse.Builder addAllFeedItems(Iterable<? extends FeedItem> values)The list of feed items associated with the given Case.
repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.support.v2beta.FeedItem> |
| Returns | |
|---|---|
| Type | Description |
ShowFeedResponse.Builder |
|
addFeedItems(FeedItem value)
public ShowFeedResponse.Builder addFeedItems(FeedItem value)The list of feed items associated with the given Case.
repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
FeedItem |
| Returns | |
|---|---|
| Type | Description |
ShowFeedResponse.Builder |
|
addFeedItems(FeedItem.Builder builderForValue)
public ShowFeedResponse.Builder addFeedItems(FeedItem.Builder builderForValue)The list of feed items associated with the given Case.
repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FeedItem.Builder |
| Returns | |
|---|---|
| Type | Description |
ShowFeedResponse.Builder |
|
addFeedItems(int index, FeedItem value)
public ShowFeedResponse.Builder addFeedItems(int index, FeedItem value)The list of feed items associated with the given Case.
repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
FeedItem |
| Returns | |
|---|---|
| Type | Description |
ShowFeedResponse.Builder |
|
addFeedItems(int index, FeedItem.Builder builderForValue)
public ShowFeedResponse.Builder addFeedItems(int index, FeedItem.Builder builderForValue)The list of feed items associated with the given Case.
repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
FeedItem.Builder |
| Returns | |
|---|---|
| Type | Description |
ShowFeedResponse.Builder |
|
addFeedItemsBuilder()
public FeedItem.Builder addFeedItemsBuilder()The list of feed items associated with the given Case.
repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
| Returns | |
|---|---|
| Type | Description |
FeedItem.Builder |
|
addFeedItemsBuilder(int index)
public FeedItem.Builder addFeedItemsBuilder(int index)The list of feed items associated with the given Case.
repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FeedItem.Builder |
|
build()
public ShowFeedResponse build()| Returns | |
|---|---|
| Type | Description |
ShowFeedResponse |
|
buildPartial()
public ShowFeedResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ShowFeedResponse |
|
clear()
public ShowFeedResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ShowFeedResponse.Builder |
|
clearFeedItems()
public ShowFeedResponse.Builder clearFeedItems()The list of feed items associated with the given Case.
repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
| Returns | |
|---|---|
| Type | Description |
ShowFeedResponse.Builder |
|
clearNextPageToken()
public ShowFeedResponse.Builder clearNextPageToken() A token to retrieve the next page of results. This should be set in the
page_token field of subsequent ShowFeedRequests.
If unspecified, there are no more results to retrieve.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ShowFeedResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ShowFeedResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ShowFeedResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFeedItems(int index)
public FeedItem getFeedItems(int index)The list of feed items associated with the given Case.
repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FeedItem |
|
getFeedItemsBuilder(int index)
public FeedItem.Builder getFeedItemsBuilder(int index)The list of feed items associated with the given Case.
repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FeedItem.Builder |
|
getFeedItemsBuilderList()
public List<FeedItem.Builder> getFeedItemsBuilderList()The list of feed items associated with the given Case.
repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getFeedItemsCount()
public int getFeedItemsCount()The list of feed items associated with the given Case.
repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getFeedItemsList()
public List<FeedItem> getFeedItemsList()The list of feed items associated with the given Case.
repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
| Returns | |
|---|---|
| Type | Description |
List<FeedItem> |
|
getFeedItemsOrBuilder(int index)
public FeedItemOrBuilder getFeedItemsOrBuilder(int index)The list of feed items associated with the given Case.
repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FeedItemOrBuilder |
|
getFeedItemsOrBuilderList()
public List<? extends FeedItemOrBuilder> getFeedItemsOrBuilderList()The list of feed items associated with the given Case.
repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.support.v2beta.FeedItemOrBuilder> |
|
getNextPageToken()
public String getNextPageToken() A token to retrieve the next page of results. This should be set in the
page_token field of subsequent ShowFeedRequests.
If unspecified, there are no more results to retrieve.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes() A token to retrieve the next page of results. This should be set in the
page_token field of subsequent ShowFeedRequests.
If unspecified, there are no more results to retrieve.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ShowFeedResponse other)
public ShowFeedResponse.Builder mergeFrom(ShowFeedResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ShowFeedResponse |
| Returns | |
|---|---|
| Type | Description |
ShowFeedResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ShowFeedResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ShowFeedResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ShowFeedResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ShowFeedResponse.Builder |
|
removeFeedItems(int index)
public ShowFeedResponse.Builder removeFeedItems(int index)The list of feed items associated with the given Case.
repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ShowFeedResponse.Builder |
|
setFeedItems(int index, FeedItem value)
public ShowFeedResponse.Builder setFeedItems(int index, FeedItem value)The list of feed items associated with the given Case.
repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
FeedItem |
| Returns | |
|---|---|
| Type | Description |
ShowFeedResponse.Builder |
|
setFeedItems(int index, FeedItem.Builder builderForValue)
public ShowFeedResponse.Builder setFeedItems(int index, FeedItem.Builder builderForValue)The list of feed items associated with the given Case.
repeated .google.cloud.support.v2beta.FeedItem feed_items = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
FeedItem.Builder |
| Returns | |
|---|---|
| Type | Description |
ShowFeedResponse.Builder |
|
setNextPageToken(String value)
public ShowFeedResponse.Builder setNextPageToken(String value) A token to retrieve the next page of results. This should be set in the
page_token field of subsequent ShowFeedRequests.
If unspecified, there are no more results to retrieve.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ShowFeedResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ShowFeedResponse.Builder setNextPageTokenBytes(ByteString value) A token to retrieve the next page of results. This should be set in the
page_token field of subsequent ShowFeedRequests.
If unspecified, there are no more results to retrieve.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ShowFeedResponse.Builder |
This builder for chaining. |