Class CreateIssueModelRequest.Builder (2.55.0)

public static final class CreateIssueModelRequest.Builder extends GeneratedMessageV3.Builder<CreateIssueModelRequest.Builder> implements CreateIssueModelRequestOrBuilder

The request to create an issue model.

Protobuf type google.cloud.contactcenterinsights.v1.CreateIssueModelRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateIssueModelRequest build()
Returns
Type Description
CreateIssueModelRequest

buildPartial()

public CreateIssueModelRequest buildPartial()
Returns
Type Description
CreateIssueModelRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIssueModel()

public CreateIssueModelRequest.Builder clearIssueModel()

Required. The issue model to create.

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

Returns
Type Description
CreateIssueModelRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateIssueModelRequest.Builder clearParent()

Required. The parent resource of the issue model.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateIssueModelRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateIssueModelRequest getDefaultInstanceForType()
Returns
Type Description
CreateIssueModelRequest

getDescriptorForType()

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

getIssueModel()

public IssueModel getIssueModel()

Required. The issue model to create.

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

Returns
Type Description
IssueModel

The issueModel.

getIssueModelBuilder()

public IssueModel.Builder getIssueModelBuilder()

Required. The issue model to create.

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

Returns
Type Description
IssueModel.Builder

getIssueModelOrBuilder()

public IssueModelOrBuilder getIssueModelOrBuilder()

Required. The issue model to create.

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

Returns
Type Description
IssueModelOrBuilder

getParent()

public String getParent()

Required. The parent resource of the issue model.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource of the issue model.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasIssueModel()

public boolean hasIssueModel()

Required. The issue model to create.

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

Returns
Type Description
boolean

Whether the issueModel field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateIssueModelRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIssueModel(IssueModel value)

public CreateIssueModelRequest.Builder mergeIssueModel(IssueModel value)

Required. The issue model to create.

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

Parameter
Name Description
value IssueModel
Returns
Type Description
CreateIssueModelRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setIssueModel(IssueModel value)

public CreateIssueModelRequest.Builder setIssueModel(IssueModel value)

Required. The issue model to create.

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

Parameter
Name Description
value IssueModel
Returns
Type Description
CreateIssueModelRequest.Builder

setIssueModel(IssueModel.Builder builderForValue)

public CreateIssueModelRequest.Builder setIssueModel(IssueModel.Builder builderForValue)

Required. The issue model to create.

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

Parameter
Name Description
builderForValue IssueModel.Builder
Returns
Type Description
CreateIssueModelRequest.Builder

setParent(String value)

public CreateIssueModelRequest.Builder setParent(String value)

Required. The parent resource of the issue model.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateIssueModelRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateIssueModelRequest.Builder setParentBytes(ByteString value)

Required. The parent resource of the issue model.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateIssueModelRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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