Class ImportIssueModelRequest (2.55.0)

public final class ImportIssueModelRequest extends GeneratedMessageV3 implements ImportIssueModelRequestOrBuilder

Request to import an issue model.

Protobuf type google.cloud.contactcenterinsights.v1.ImportIssueModelRequest

Static Fields

CREATE_NEW_MODEL_FIELD_NUMBER

public static final int CREATE_NEW_MODEL_FIELD_NUMBER
Field Value
Type Description
int

GCS_SOURCE_FIELD_NUMBER

public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportIssueModelRequest getDefaultInstance()
Returns
Type Description
ImportIssueModelRequest

getDescriptor()

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

newBuilder()

public static ImportIssueModelRequest.Builder newBuilder()
Returns
Type Description
ImportIssueModelRequest.Builder

newBuilder(ImportIssueModelRequest prototype)

public static ImportIssueModelRequest.Builder newBuilder(ImportIssueModelRequest prototype)
Parameter
Name Description
prototype ImportIssueModelRequest
Returns
Type Description
ImportIssueModelRequest.Builder

parseDelimitedFrom(InputStream input)

public static ImportIssueModelRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportIssueModelRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportIssueModelRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportIssueModelRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ImportIssueModelRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ImportIssueModelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportIssueModelRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportIssueModelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportIssueModelRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ImportIssueModelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportIssueModelRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportIssueModelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportIssueModelRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ImportIssueModelRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportIssueModelRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportIssueModelRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ImportIssueModelRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportIssueModelRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportIssueModelRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportIssueModelRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ImportIssueModelRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ImportIssueModelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportIssueModelRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportIssueModelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ImportIssueModelRequest> parser()
Returns
Type Description
Parser<ImportIssueModelRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCreateNewModel()

public boolean getCreateNewModel()

Optional. If set to true, will create an issue model from the imported file with randomly generated IDs for the issue model and corresponding issues. Otherwise, replaces an existing model with the same ID as the file.

bool create_new_model = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The createNewModel.

getDefaultInstanceForType()

public ImportIssueModelRequest getDefaultInstanceForType()
Returns
Type Description
ImportIssueModelRequest

getGcsSource()

public ImportIssueModelRequest.GcsSource getGcsSource()

Google Cloud Storage source message.

.google.cloud.contactcenterinsights.v1.ImportIssueModelRequest.GcsSource gcs_source = 2;

Returns
Type Description
ImportIssueModelRequest.GcsSource

The gcsSource.

getGcsSourceOrBuilder()

public ImportIssueModelRequest.GcsSourceOrBuilder getGcsSourceOrBuilder()

Google Cloud Storage source message.

.google.cloud.contactcenterinsights.v1.ImportIssueModelRequest.GcsSource gcs_source = 2;

Returns
Type Description
ImportIssueModelRequest.GcsSourceOrBuilder

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.

getParserForType()

public Parser<ImportIssueModelRequest> getParserForType()
Returns
Type Description
Parser<ImportIssueModelRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceCase()

public ImportIssueModelRequest.SourceCase getSourceCase()
Returns
Type Description
ImportIssueModelRequest.SourceCase

hasGcsSource()

public boolean hasGcsSource()

Google Cloud Storage source message.

.google.cloud.contactcenterinsights.v1.ImportIssueModelRequest.GcsSource gcs_source = 2;

Returns
Type Description
boolean

Whether the gcsSource field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ImportIssueModelRequest.Builder newBuilderForType()
Returns
Type Description
ImportIssueModelRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportIssueModelRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ImportIssueModelRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ImportIssueModelRequest.Builder toBuilder()
Returns
Type Description
ImportIssueModelRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException