Class ListViewsResponse.Builder (2.18.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.contactcenterinsights.v1.View>
Returns
TypeDescription
ListViewsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListViewsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueView
Returns
TypeDescription
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
NameDescription
builderForValueView.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueView
Returns
TypeDescription
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
NameDescription
indexint
builderForValueView.Builder
Returns
TypeDescription
ListViewsResponse.Builder

addViewsBuilder()

public View.Builder addViewsBuilder()

The views that match the request.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
View.Builder

build()

public ListViewsResponse build()
Returns
TypeDescription
ListViewsResponse

buildPartial()

public ListViewsResponse buildPartial()
Returns
TypeDescription
ListViewsResponse

clear()

public ListViewsResponse.Builder clear()
Returns
TypeDescription
ListViewsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListViewsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListViewsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListViewsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListViewsResponse.Builder
Overrides

clearViews()

public ListViewsResponse.Builder clearViews()

The views that match the request.

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

Returns
TypeDescription
ListViewsResponse.Builder

clone()

public ListViewsResponse.Builder clone()
Returns
TypeDescription
ListViewsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListViewsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListViewsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
View.Builder

getViewsBuilderList()

public List<View.Builder> getViewsBuilderList()

The views that match the request.

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

Returns
TypeDescription
List<Builder>

getViewsCount()

public int getViewsCount()

The views that match the request.

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

Returns
TypeDescription
int

getViewsList()

public List<View> getViewsList()

The views that match the request.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ViewOrBuilder

getViewsOrBuilderList()

public List<? extends ViewOrBuilder> getViewsOrBuilderList()

The views that match the request.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListViewsResponse other)

public ListViewsResponse.Builder mergeFrom(ListViewsResponse other)
Parameter
NameDescription
otherListViewsResponse
Returns
TypeDescription
ListViewsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListViewsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListViewsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListViewsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListViewsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListViewsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListViewsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListViewsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListViewsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListViewsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
valueView
Returns
TypeDescription
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
NameDescription
indexint
builderForValueView.Builder
Returns
TypeDescription
ListViewsResponse.Builder