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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
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
public ListViewsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListViewsResponse.Builder addViews(View value)
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
Parameter
Returns
public ListViewsResponse.Builder addViews(View.Builder builderForValue)
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
Parameter
Returns
public ListViewsResponse.Builder addViews(int index, View value)
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
Parameters
Returns
public ListViewsResponse.Builder addViews(int index, View.Builder builderForValue)
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
Parameters
Returns
public View.Builder addViewsBuilder()
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
Returns
public View.Builder addViewsBuilder(int index)
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
Parameter
Returns
public ListViewsResponse build()
Returns
public ListViewsResponse buildPartial()
Returns
public ListViewsResponse.Builder clear()
Returns
Overrides
public ListViewsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
public ListViewsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListViewsResponse.Builder clearViews()
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
Returns
public ListViewsResponse.Builder clone()
Returns
Overrides
public ListViewsResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
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.
|
public View getViews(int index)
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
Parameter
Returns
public View.Builder getViewsBuilder(int index)
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
Parameter
Returns
public List<View.Builder> getViewsBuilderList()
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
Returns
public int getViewsCount()
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
Returns
public List<View> getViewsList()
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
Returns
public ViewOrBuilder getViewsOrBuilder(int index)
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
Parameter
Returns
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> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListViewsResponse.Builder mergeFrom(ListViewsResponse other)
Parameter
Returns
public ListViewsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListViewsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ListViewsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListViewsResponse.Builder removeViews(int index)
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
Parameter
Returns
public ListViewsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
public ListViewsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ListViewsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListViewsResponse.Builder setViews(int index, View value)
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
Parameters
Returns
public ListViewsResponse.Builder setViews(int index, View.Builder builderForValue)
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
Parameters
Returns