Class ListViewsResponse.Builder (2.46.0)

public static final class ListViewsResponse.Builder extends GeneratedMessageV3.Builder<ListViewsResponse.Builder> implements ListViewsResponseOrBuilder

The response of listing views.

Protobuf type google.cloud.contactcenterinsights.v1.ListViewsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllViews(Iterable<? extends View> values)

public ListViewsResponse.Builder addAllViews(Iterable<? extends View> values)

The views that match the request.

repeated .google.cloud.contactcenterinsights.v1.View views = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.contactcenterinsights.v1.View>
Returns
Type Description
ListViewsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addViews(View value)

public ListViewsResponse.Builder addViews(View value)

The views that match the request.

repeated .google.cloud.contactcenterinsights.v1.View views = 1;

Parameter
Name Description
value View
Returns
Type Description
ListViewsResponse.Builder

addViews(View.Builder builderForValue)

public ListViewsResponse.Builder addViews(View.Builder builderForValue)

The views that match the request.

repeated .google.cloud.contactcenterinsights.v1.View views = 1;

Parameter
Name Description
builderForValue View.Builder
Returns
Type Description
ListViewsResponse.Builder

addViews(int index, View value)

public ListViewsResponse.Builder addViews(int index, View value)

The views that match the request.

repeated .google.cloud.contactcenterinsights.v1.View views = 1;

Parameters
Name Description
index int
value View
Returns
Type Description
ListViewsResponse.Builder

addViews(int index, View.Builder builderForValue)

public ListViewsResponse.Builder addViews(int index, View.Builder builderForValue)

The views that match the request.

repeated .google.cloud.contactcenterinsights.v1.View views = 1;

Parameters
Name Description
index int
builderForValue View.Builder
Returns
Type Description
ListViewsResponse.Builder

addViewsBuilder()

public View.Builder addViewsBuilder()

The views that match the request.

repeated .google.cloud.contactcenterinsights.v1.View views = 1;

Returns
Type Description
View.Builder

addViewsBuilder(int index)

public View.Builder addViewsBuilder(int index)

The views that match the request.

repeated .google.cloud.contactcenterinsights.v1.View views = 1;

Parameter
Name Description
index int
Returns
Type Description
View.Builder

build()

public ListViewsResponse build()
Returns
Type Description
ListViewsResponse

buildPartial()

public ListViewsResponse buildPartial()
Returns
Type Description
ListViewsResponse

clear()

public ListViewsResponse.Builder clear()
Returns
Type Description
ListViewsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListViewsResponse.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
ListViewsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearViews()

public ListViewsResponse.Builder clearViews()

The views that match the request.

repeated .google.cloud.contactcenterinsights.v1.View views = 1;

Returns
Type Description
ListViewsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListViewsResponse getDefaultInstanceForType()
Returns
Type Description
ListViewsResponse

getDescriptorForType()

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

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.

getViews(int index)

public View getViews(int index)

The views that match the request.

repeated .google.cloud.contactcenterinsights.v1.View views = 1;

Parameter
Name Description
index int
Returns
Type Description
View

getViewsBuilder(int index)

public View.Builder getViewsBuilder(int index)

The views that match the request.

repeated .google.cloud.contactcenterinsights.v1.View views = 1;

Parameter
Name Description
index int
Returns
Type Description
View.Builder

getViewsBuilderList()

public List<View.Builder> getViewsBuilderList()

The views that match the request.

repeated .google.cloud.contactcenterinsights.v1.View views = 1;

Returns
Type Description
List<Builder>

getViewsCount()

public int getViewsCount()

The views that match the request.

repeated .google.cloud.contactcenterinsights.v1.View views = 1;

Returns
Type Description
int

getViewsList()

public List<View> getViewsList()

The views that match the request.

repeated .google.cloud.contactcenterinsights.v1.View views = 1;

Returns
Type Description
List<View>

getViewsOrBuilder(int index)

public ViewOrBuilder getViewsOrBuilder(int index)

The views that match the request.

repeated .google.cloud.contactcenterinsights.v1.View views = 1;

Parameter
Name Description
index int
Returns
Type Description
ViewOrBuilder

getViewsOrBuilderList()

public List<? extends ViewOrBuilder> getViewsOrBuilderList()

The views that match the request.

repeated .google.cloud.contactcenterinsights.v1.View views = 1;

Returns
Type Description
List<? extends com.google.cloud.contactcenterinsights.v1.ViewOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListViewsResponse other)

public ListViewsResponse.Builder mergeFrom(ListViewsResponse other)
Parameter
Name Description
other ListViewsResponse
Returns
Type Description
ListViewsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListViewsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListViewsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeViews(int index)

public ListViewsResponse.Builder removeViews(int index)

The views that match the request.

repeated .google.cloud.contactcenterinsights.v1.View views = 1;

Parameter
Name Description
index int
Returns
Type Description
ListViewsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListViewsResponse.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 String

The nextPageToken to set.

Returns
Type Description
ListViewsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListViewsResponse.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 ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListViewsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setViews(int index, View value)

public ListViewsResponse.Builder setViews(int index, View value)

The views that match the request.

repeated .google.cloud.contactcenterinsights.v1.View views = 1;

Parameters
Name Description
index int
value View
Returns
Type Description
ListViewsResponse.Builder

setViews(int index, View.Builder builderForValue)

public ListViewsResponse.Builder setViews(int index, View.Builder builderForValue)

The views that match the request.

repeated .google.cloud.contactcenterinsights.v1.View views = 1;

Parameters
Name Description
index int
builderForValue View.Builder
Returns
Type Description
ListViewsResponse.Builder