Class CalculateIssueModelStatsRequest.Builder (2.19.0)

public static final class CalculateIssueModelStatsRequest.Builder extends GeneratedMessageV3.Builder<CalculateIssueModelStatsRequest.Builder> implements CalculateIssueModelStatsRequestOrBuilder

Request to get statistics of an issue model.

Protobuf type google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CalculateIssueModelStatsRequest build()
Returns
TypeDescription
CalculateIssueModelStatsRequest

buildPartial()

public CalculateIssueModelStatsRequest buildPartial()
Returns
TypeDescription
CalculateIssueModelStatsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIssueModel()

public CalculateIssueModelStatsRequest.Builder clearIssueModel()

Required. The resource name of the issue model to query against.

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

Returns
TypeDescription
CalculateIssueModelStatsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CalculateIssueModelStatsRequest getDefaultInstanceForType()
Returns
TypeDescription
CalculateIssueModelStatsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIssueModel()

public String getIssueModel()

Required. The resource name of the issue model to query against.

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

Returns
TypeDescription
String

The issueModel.

getIssueModelBytes()

public ByteString getIssueModelBytes()

Required. The resource name of the issue model to query against.

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

Returns
TypeDescription
ByteString

The bytes for issueModel.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CalculateIssueModelStatsRequest other)

public CalculateIssueModelStatsRequest.Builder mergeFrom(CalculateIssueModelStatsRequest other)
Parameter
NameDescription
otherCalculateIssueModelStatsRequest
Returns
TypeDescription
CalculateIssueModelStatsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setIssueModel(String value)

public CalculateIssueModelStatsRequest.Builder setIssueModel(String value)

Required. The resource name of the issue model to query against.

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

Parameter
NameDescription
valueString

The issueModel to set.

Returns
TypeDescription
CalculateIssueModelStatsRequest.Builder

This builder for chaining.

setIssueModelBytes(ByteString value)

public CalculateIssueModelStatsRequest.Builder setIssueModelBytes(ByteString value)

Required. The resource name of the issue model to query against.

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

Parameter
NameDescription
valueByteString

The bytes for issueModel to set.

Returns
TypeDescription
CalculateIssueModelStatsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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