Class ListAnalysesResponse.Builder (2.40.0)

public static final class ListAnalysesResponse.Builder extends GeneratedMessageV3.Builder<ListAnalysesResponse.Builder> implements ListAnalysesResponseOrBuilder

The response to list analyses.

Protobuf type google.cloud.contactcenterinsights.v1.ListAnalysesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllAnalyses(Iterable<? extends Analysis> values)

public ListAnalysesResponse.Builder addAllAnalyses(Iterable<? extends Analysis> values)

The analyses that match the request.

repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.contactcenterinsights.v1.Analysis>
Returns
TypeDescription
ListAnalysesResponse.Builder

addAnalyses(Analysis value)

public ListAnalysesResponse.Builder addAnalyses(Analysis value)

The analyses that match the request.

repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;

Parameter
NameDescription
valueAnalysis
Returns
TypeDescription
ListAnalysesResponse.Builder

addAnalyses(Analysis.Builder builderForValue)

public ListAnalysesResponse.Builder addAnalyses(Analysis.Builder builderForValue)

The analyses that match the request.

repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;

Parameter
NameDescription
builderForValueAnalysis.Builder
Returns
TypeDescription
ListAnalysesResponse.Builder

addAnalyses(int index, Analysis value)

public ListAnalysesResponse.Builder addAnalyses(int index, Analysis value)

The analyses that match the request.

repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;

Parameters
NameDescription
indexint
valueAnalysis
Returns
TypeDescription
ListAnalysesResponse.Builder

addAnalyses(int index, Analysis.Builder builderForValue)

public ListAnalysesResponse.Builder addAnalyses(int index, Analysis.Builder builderForValue)

The analyses that match the request.

repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;

Parameters
NameDescription
indexint
builderForValueAnalysis.Builder
Returns
TypeDescription
ListAnalysesResponse.Builder

addAnalysesBuilder()

public Analysis.Builder addAnalysesBuilder()

The analyses that match the request.

repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;

Returns
TypeDescription
Analysis.Builder

addAnalysesBuilder(int index)

public Analysis.Builder addAnalysesBuilder(int index)

The analyses that match the request.

repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Analysis.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListAnalysesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListAnalysesResponse.Builder
Overrides

build()

public ListAnalysesResponse build()
Returns
TypeDescription
ListAnalysesResponse

buildPartial()

public ListAnalysesResponse buildPartial()
Returns
TypeDescription
ListAnalysesResponse

clear()

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

clearAnalyses()

public ListAnalysesResponse.Builder clearAnalyses()

The analyses that match the request.

repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;

Returns
TypeDescription
ListAnalysesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListAnalysesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListAnalysesResponse.Builder
Overrides

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAnalyses(int index)

public Analysis getAnalyses(int index)

The analyses that match the request.

repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Analysis

getAnalysesBuilder(int index)

public Analysis.Builder getAnalysesBuilder(int index)

The analyses that match the request.

repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Analysis.Builder

getAnalysesBuilderList()

public List<Analysis.Builder> getAnalysesBuilderList()

The analyses that match the request.

repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;

Returns
TypeDescription
List<Builder>

getAnalysesCount()

public int getAnalysesCount()

The analyses that match the request.

repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;

Returns
TypeDescription
int

getAnalysesList()

public List<Analysis> getAnalysesList()

The analyses that match the request.

repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;

Returns
TypeDescription
List<Analysis>

getAnalysesOrBuilder(int index)

public AnalysisOrBuilder getAnalysesOrBuilder(int index)

The analyses that match the request.

repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnalysisOrBuilder

getAnalysesOrBuilderList()

public List<? extends AnalysisOrBuilder> getAnalysesOrBuilderList()

The analyses that match the request.

repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;

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

getDefaultInstanceForType()

public ListAnalysesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAnalysesResponse

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListAnalysesResponse other)

public ListAnalysesResponse.Builder mergeFrom(ListAnalysesResponse other)
Parameter
NameDescription
otherListAnalysesResponse
Returns
TypeDescription
ListAnalysesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAnalysesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListAnalysesResponse.Builder
Overrides

removeAnalyses(int index)

public ListAnalysesResponse.Builder removeAnalyses(int index)

The analyses that match the request.

repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListAnalysesResponse.Builder

setAnalyses(int index, Analysis value)

public ListAnalysesResponse.Builder setAnalyses(int index, Analysis value)

The analyses that match the request.

repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;

Parameters
NameDescription
indexint
valueAnalysis
Returns
TypeDescription
ListAnalysesResponse.Builder

setAnalyses(int index, Analysis.Builder builderForValue)

public ListAnalysesResponse.Builder setAnalyses(int index, Analysis.Builder builderForValue)

The analyses that match the request.

repeated .google.cloud.contactcenterinsights.v1.Analysis analyses = 1;

Parameters
NameDescription
indexint
builderForValueAnalysis.Builder
Returns
TypeDescription
ListAnalysesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListAnalysesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListAnalysesResponse.Builder
Overrides

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

public ListAnalysesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListAnalysesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListAnalysesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListAnalysesResponse.Builder
Overrides