Class ListAnalysisRulesResponse.Builder (2.54.0)

public static final class ListAnalysisRulesResponse.Builder extends GeneratedMessageV3.Builder<ListAnalysisRulesResponse.Builder> implements ListAnalysisRulesResponseOrBuilder

The response of listing views.

Protobuf type google.cloud.contactcenterinsights.v1.ListAnalysisRulesResponse

Static Methods

getDescriptor()

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

Methods

addAllAnalysisRules(Iterable<? extends AnalysisRule> values)

public ListAnalysisRulesResponse.Builder addAllAnalysisRules(Iterable<? extends AnalysisRule> values)

The analysis_rule that match the request.

repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;

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

addAnalysisRules(AnalysisRule value)

public ListAnalysisRulesResponse.Builder addAnalysisRules(AnalysisRule value)

The analysis_rule that match the request.

repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;

Parameter
Name Description
value AnalysisRule
Returns
Type Description
ListAnalysisRulesResponse.Builder

addAnalysisRules(AnalysisRule.Builder builderForValue)

public ListAnalysisRulesResponse.Builder addAnalysisRules(AnalysisRule.Builder builderForValue)

The analysis_rule that match the request.

repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;

Parameter
Name Description
builderForValue AnalysisRule.Builder
Returns
Type Description
ListAnalysisRulesResponse.Builder

addAnalysisRules(int index, AnalysisRule value)

public ListAnalysisRulesResponse.Builder addAnalysisRules(int index, AnalysisRule value)

The analysis_rule that match the request.

repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;

Parameters
Name Description
index int
value AnalysisRule
Returns
Type Description
ListAnalysisRulesResponse.Builder

addAnalysisRules(int index, AnalysisRule.Builder builderForValue)

public ListAnalysisRulesResponse.Builder addAnalysisRules(int index, AnalysisRule.Builder builderForValue)

The analysis_rule that match the request.

repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;

Parameters
Name Description
index int
builderForValue AnalysisRule.Builder
Returns
Type Description
ListAnalysisRulesResponse.Builder

addAnalysisRulesBuilder()

public AnalysisRule.Builder addAnalysisRulesBuilder()

The analysis_rule that match the request.

repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;

Returns
Type Description
AnalysisRule.Builder

addAnalysisRulesBuilder(int index)

public AnalysisRule.Builder addAnalysisRulesBuilder(int index)

The analysis_rule that match the request.

repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalysisRule.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAnalysisRulesResponse build()
Returns
Type Description
ListAnalysisRulesResponse

buildPartial()

public ListAnalysisRulesResponse buildPartial()
Returns
Type Description
ListAnalysisRulesResponse

clear()

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

clearAnalysisRules()

public ListAnalysisRulesResponse.Builder clearAnalysisRules()

The analysis_rule that match the request.

repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;

Returns
Type Description
ListAnalysisRulesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAnalysisRules(int index)

public AnalysisRule getAnalysisRules(int index)

The analysis_rule that match the request.

repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalysisRule

getAnalysisRulesBuilder(int index)

public AnalysisRule.Builder getAnalysisRulesBuilder(int index)

The analysis_rule that match the request.

repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalysisRule.Builder

getAnalysisRulesBuilderList()

public List<AnalysisRule.Builder> getAnalysisRulesBuilderList()

The analysis_rule that match the request.

repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;

Returns
Type Description
List<Builder>

getAnalysisRulesCount()

public int getAnalysisRulesCount()

The analysis_rule that match the request.

repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;

Returns
Type Description
int

getAnalysisRulesList()

public List<AnalysisRule> getAnalysisRulesList()

The analysis_rule that match the request.

repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;

Returns
Type Description
List<AnalysisRule>

getAnalysisRulesOrBuilder(int index)

public AnalysisRuleOrBuilder getAnalysisRulesOrBuilder(int index)

The analysis_rule that match the request.

repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalysisRuleOrBuilder

getAnalysisRulesOrBuilderList()

public List<? extends AnalysisRuleOrBuilder> getAnalysisRulesOrBuilderList()

The analysis_rule that match the request.

repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;

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

getDefaultInstanceForType()

public ListAnalysisRulesResponse getDefaultInstanceForType()
Returns
Type Description
ListAnalysisRulesResponse

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListAnalysisRulesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAnalysisRules(int index)

public ListAnalysisRulesResponse.Builder removeAnalysisRules(int index)

The analysis_rule that match the request.

repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
ListAnalysisRulesResponse.Builder

setAnalysisRules(int index, AnalysisRule value)

public ListAnalysisRulesResponse.Builder setAnalysisRules(int index, AnalysisRule value)

The analysis_rule that match the request.

repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;

Parameters
Name Description
index int
value AnalysisRule
Returns
Type Description
ListAnalysisRulesResponse.Builder

setAnalysisRules(int index, AnalysisRule.Builder builderForValue)

public ListAnalysisRulesResponse.Builder setAnalysisRules(int index, AnalysisRule.Builder builderForValue)

The analysis_rule that match the request.

repeated .google.cloud.contactcenterinsights.v1.AnalysisRule analysis_rules = 1;

Parameters
Name Description
index int
builderForValue AnalysisRule.Builder
Returns
Type Description
ListAnalysisRulesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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