Class Issue.Builder (2.2.7)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Issue build()
Returns
TypeDescription
Issue

buildPartial()

public Issue buildPartial()
Returns
TypeDescription
Issue

clear()

public Issue.Builder clear()
Returns
TypeDescription
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
TypeDescription
Issue.Builder

clearDisplayName()

public Issue.Builder clearDisplayName()

The representative name for the issue.

string display_name = 2;

Returns
TypeDescription
Issue.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Issue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Issue.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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
TypeDescription
Issue.Builder

clone()

public Issue.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Issue getDefaultInstanceForType()
Returns
TypeDescription
Issue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The representative name for the issue.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The representative name for the issue.

string display_name = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
Issue.Builder

mergeFrom(Issue other)

public Issue.Builder mergeFrom(Issue other)
Parameter
NameDescription
otherIssue
Returns
TypeDescription
Issue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Issue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Issue.Builder

setDisplayName(String value)

public Issue.Builder setDisplayName(String value)

The representative name for the issue.

string display_name = 2;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Issue.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Issue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Issue.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Issue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Issue.Builder