Class CreateIssueModelRequest.Builder (2.3.10)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateIssueModelRequest build()
Returns
TypeDescription
CreateIssueModelRequest

buildPartial()

public CreateIssueModelRequest buildPartial()
Returns
TypeDescription
CreateIssueModelRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateIssueModelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateIssueModelRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateIssueModelRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateIssueModelRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the issueModel field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateIssueModelRequest other)

public CreateIssueModelRequest.Builder mergeFrom(CreateIssueModelRequest other)
Parameter
NameDescription
otherCreateIssueModelRequest
Returns
TypeDescription
CreateIssueModelRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateIssueModelRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueIssueModel
Returns
TypeDescription
CreateIssueModelRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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