Class Issue.Builder (2.54.0)

public static final class Issue.Builder extends GeneratedMessageV3.Builder<Issue.Builder> implements IssueOrBuilder

The issue resource.

Protobuf type google.cloud.contactcenterinsights.v1.Issue

Implements

IssueOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllSampleUtterances(Iterable<String> values)

public Issue.Builder addAllSampleUtterances(Iterable<String> values)

Output only. Resource names of the sample representative utterances that match to this issue.

repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<String>

The sampleUtterances to add.

Returns
Type Description
Issue.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSampleUtterances(String value)

public Issue.Builder addSampleUtterances(String value)

Output only. Resource names of the sample representative utterances that match to this issue.

repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The sampleUtterances to add.

Returns
Type Description
Issue.Builder

This builder for chaining.

addSampleUtterancesBytes(ByteString value)

public Issue.Builder addSampleUtterancesBytes(ByteString value)

Output only. Resource names of the sample representative utterances that match to this issue.

repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes of the sampleUtterances to add.

Returns
Type Description
Issue.Builder

This builder for chaining.

build()

public Issue build()
Returns
Type Description
Issue

buildPartial()

public Issue buildPartial()
Returns
Type Description
Issue

clear()

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

clearCreateTime()

public Issue.Builder clearCreateTime()

Output only. The time at which this issue was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Issue.Builder

clearDisplayDescription()

public Issue.Builder clearDisplayDescription()

Representative description of the issue.

string display_description = 14;

Returns
Type Description
Issue.Builder

This builder for chaining.

clearDisplayName()

public Issue.Builder clearDisplayName()

The representative name for the issue.

string display_name = 2;

Returns
Type Description
Issue.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public Issue.Builder clearName()

Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
Issue.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSampleUtterances()

public Issue.Builder clearSampleUtterances()

Output only. Resource names of the sample representative utterances that match to this issue.

repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Issue.Builder

This builder for chaining.

clearUpdateTime()

public Issue.Builder clearUpdateTime()

Output only. The most recent time that this issue was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Issue.Builder

clone()

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

getCreateTime()

public Timestamp getCreateTime()

Output only. The time at which this issue was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time at which this issue was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time at which this issue was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Issue getDefaultInstanceForType()
Returns
Type Description
Issue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayDescription()

public String getDisplayDescription()

Representative description of the issue.

string display_description = 14;

Returns
Type Description
String

The displayDescription.

getDisplayDescriptionBytes()

public ByteString getDisplayDescriptionBytes()

Representative description of the issue.

string display_description = 14;

Returns
Type Description
ByteString

The bytes for displayDescription.

getDisplayName()

public String getDisplayName()

The representative name for the issue.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The representative name for the issue.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public String getName()

Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for name.

getSampleUtterances(int index)

public String getSampleUtterances(int index)

Output only. Resource names of the sample representative utterances that match to this issue.

repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The sampleUtterances at the given index.

getSampleUtterancesBytes(int index)

public ByteString getSampleUtterancesBytes(int index)

Output only. Resource names of the sample representative utterances that match to this issue.

repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the sampleUtterances at the given index.

getSampleUtterancesCount()

public int getSampleUtterancesCount()

Output only. Resource names of the sample representative utterances that match to this issue.

repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of sampleUtterances.

getSampleUtterancesList()

public ProtocolStringList getSampleUtterancesList()

Output only. Resource names of the sample representative utterances that match to this issue.

repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the sampleUtterances.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The most recent time that this issue was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The most recent time that this issue was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The most recent time that this issue was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The time at which this issue was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The most recent time that this issue was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public Issue.Builder mergeCreateTime(Timestamp value)

Output only. The time at which this issue was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Issue.Builder

mergeFrom(Issue other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public Issue.Builder mergeUpdateTime(Timestamp value)

Output only. The most recent time that this issue was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Issue.Builder

setCreateTime(Timestamp value)

public Issue.Builder setCreateTime(Timestamp value)

Output only. The time at which this issue was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Issue.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Issue.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time at which this issue was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Issue.Builder

setDisplayDescription(String value)

public Issue.Builder setDisplayDescription(String value)

Representative description of the issue.

string display_description = 14;

Parameter
Name Description
value String

The displayDescription to set.

Returns
Type Description
Issue.Builder

This builder for chaining.

setDisplayDescriptionBytes(ByteString value)

public Issue.Builder setDisplayDescriptionBytes(ByteString value)

Representative description of the issue.

string display_description = 14;

Parameter
Name Description
value ByteString

The bytes for displayDescription to set.

Returns
Type Description
Issue.Builder

This builder for chaining.

setDisplayName(String value)

public Issue.Builder setDisplayName(String value)

The representative name for the issue.

string display_name = 2;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Issue.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Issue.Builder setDisplayNameBytes(ByteString value)

The representative name for the issue.

string display_name = 2;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Issue.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public Issue.Builder setName(String value)

Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Issue.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Issue.Builder setNameBytes(ByteString value)

Immutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Issue.Builder

This builder for chaining.

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

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

setSampleUtterances(int index, String value)

public Issue.Builder setSampleUtterances(int index, String value)

Output only. Resource names of the sample representative utterances that match to this issue.

repeated string sample_utterances = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value String

The sampleUtterances to set.

Returns
Type Description
Issue.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public Issue.Builder setUpdateTime(Timestamp value)

Output only. The most recent time that this issue was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Issue.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Issue.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The most recent time that this issue was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Issue.Builder