Class UpdateIssueModelRequest.Builder (2.22.0)

public static final class UpdateIssueModelRequest.Builder extends GeneratedMessageV3.Builder<UpdateIssueModelRequest.Builder> implements UpdateIssueModelRequestOrBuilder

The request to update an issue model.

Protobuf type google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateIssueModelRequest build()
Returns
TypeDescription
UpdateIssueModelRequest

buildPartial()

public UpdateIssueModelRequest buildPartial()
Returns
TypeDescription
UpdateIssueModelRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIssueModel()

public UpdateIssueModelRequest.Builder clearIssueModel()

Required. The new values for the issue model.

.google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateIssueModelRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateIssueModelRequest.Builder clearUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
UpdateIssueModelRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateIssueModelRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateIssueModelRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIssueModel()

public IssueModel getIssueModel()

Required. The new values for the issue model.

.google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
IssueModel

The issueModel.

getIssueModelBuilder()

public IssueModel.Builder getIssueModelBuilder()

Required. The new values for the issue model.

.google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
IssueModel.Builder

getIssueModelOrBuilder()

public IssueModelOrBuilder getIssueModelOrBuilder()

Required. The new values for the issue model.

.google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
IssueModelOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasIssueModel()

public boolean hasIssueModel()

Required. The new values for the issue model.

.google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the issueModel field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateIssueModelRequest other)

public UpdateIssueModelRequest.Builder mergeFrom(UpdateIssueModelRequest other)
Parameter
NameDescription
otherUpdateIssueModelRequest
Returns
TypeDescription
UpdateIssueModelRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIssueModel(IssueModel value)

public UpdateIssueModelRequest.Builder mergeIssueModel(IssueModel value)

Required. The new values for the issue model.

.google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueIssueModel
Returns
TypeDescription
UpdateIssueModelRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateIssueModelRequest.Builder mergeUpdateMask(FieldMask value)

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateIssueModelRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setIssueModel(IssueModel value)

public UpdateIssueModelRequest.Builder setIssueModel(IssueModel value)

Required. The new values for the issue model.

.google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueIssueModel
Returns
TypeDescription
UpdateIssueModelRequest.Builder

setIssueModel(IssueModel.Builder builderForValue)

public UpdateIssueModelRequest.Builder setIssueModel(IssueModel.Builder builderForValue)

Required. The new values for the issue model.

.google.cloud.contactcenterinsights.v1.IssueModel issue_model = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueIssueModel.Builder
Returns
TypeDescription
UpdateIssueModelRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateIssueModelRequest.Builder setUpdateMask(FieldMask value)

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateIssueModelRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateIssueModelRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateIssueModelRequest.Builder