Class ShowFeedResponse.Builder (0.48.0)

public static final class ShowFeedResponse.Builder extends GeneratedMessageV3.Builder<ShowFeedResponse.Builder> implements ShowFeedResponseOrBuilder

The response message for the ShowFeed endpoint.

Protobuf type google.cloud.support.v2beta.ShowFeedResponse

Static 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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ShowFeedResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ShowFeedResponse.Builder
Overrides

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
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ShowFeedResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ShowFeedResponse.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public ShowFeedResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ShowFeedResponse.Builder
Overrides

clone()

public ShowFeedResponse.Builder clone()
Returns
Type Description
ShowFeedResponse.Builder
Overrides

getDefaultInstanceForType()

public ShowFeedResponse getDefaultInstanceForType()
Returns
Type Description
ShowFeedResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ShowFeedResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ShowFeedResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ShowFeedResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ShowFeedResponse.Builder
Overrides

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

setField(Descriptors.FieldDescriptor field, Object value)

public ShowFeedResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ShowFeedResponse.Builder
Overrides

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 String

The 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 ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ShowFeedResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ShowFeedResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ShowFeedResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ShowFeedResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ShowFeedResponse.Builder
Overrides