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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
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>
|
public ListViewsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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
|
public ListViewsResponse.Builder addViews(View.Builder builderForValue)
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
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
|
public ListViewsResponse.Builder addViews(int index, View.Builder builderForValue)
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
public View.Builder addViewsBuilder()
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
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
|
public ListViewsResponse build()
public ListViewsResponse buildPartial()
public ListViewsResponse.Builder clear()
Overrides
public ListViewsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
public ListViewsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListViewsResponse.Builder clearViews()
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
public ListViewsResponse.Builder clone()
Overrides
public ListViewsResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
View | |
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
|
public List<View.Builder> getViewsBuilderList()
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
public int getViewsCount()
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
Returns |
---|
Type | Description |
int | |
public List<View> getViewsList()
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
public ViewOrBuilder getViewsOrBuilder(int index)
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;
Parameter |
---|
Name | Description |
index | int
|
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()
Overrides
public final boolean isInitialized()
Overrides
public ListViewsResponse.Builder mergeFrom(ListViewsResponse other)
public ListViewsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListViewsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ListViewsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
public ListViewsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public ListViewsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListViewsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
public ListViewsResponse.Builder setViews(int index, View.Builder builderForValue)
The views that match the request.
repeated .google.cloud.contactcenterinsights.v1.View views = 1;