public static final class ImportIssueModelRequest.Builder extends GeneratedMessageV3.Builder<ImportIssueModelRequest.Builder> implements ImportIssueModelRequestOrBuilder
Request to import an issue model.
Protobuf type google.cloud.contactcenterinsights.v1.ImportIssueModelRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ImportIssueModelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ImportIssueModelRequest build()
public ImportIssueModelRequest buildPartial()
public ImportIssueModelRequest.Builder clear()
Overrides
public ImportIssueModelRequest.Builder clearCreateNewModel()
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];
public ImportIssueModelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ImportIssueModelRequest.Builder clearGcsSource()
Google Cloud Storage source message.
.google.cloud.contactcenterinsights.v1.ImportIssueModelRequest.GcsSource gcs_source = 2;
public ImportIssueModelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ImportIssueModelRequest.Builder clearParent()
Required. The parent resource of the issue model.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ImportIssueModelRequest.Builder clearSource()
public ImportIssueModelRequest.Builder clone()
Overrides
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.
|
public ImportIssueModelRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public ImportIssueModelRequest.GcsSource getGcsSource()
Google Cloud Storage source message.
.google.cloud.contactcenterinsights.v1.ImportIssueModelRequest.GcsSource gcs_source = 2;
public ImportIssueModelRequest.GcsSource.Builder getGcsSourceBuilder()
Google Cloud Storage source message.
.google.cloud.contactcenterinsights.v1.ImportIssueModelRequest.GcsSource gcs_source = 2;
public ImportIssueModelRequest.GcsSourceOrBuilder getGcsSourceOrBuilder()
Google Cloud Storage source message.
.google.cloud.contactcenterinsights.v1.ImportIssueModelRequest.GcsSource gcs_source = 2;
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.
|
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.
|
public ImportIssueModelRequest.SourceCase getSourceCase()
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ImportIssueModelRequest.Builder mergeFrom(ImportIssueModelRequest other)
public ImportIssueModelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ImportIssueModelRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public ImportIssueModelRequest.Builder mergeGcsSource(ImportIssueModelRequest.GcsSource value)
Google Cloud Storage source message.
.google.cloud.contactcenterinsights.v1.ImportIssueModelRequest.GcsSource gcs_source = 2;
public final ImportIssueModelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ImportIssueModelRequest.Builder setCreateNewModel(boolean value)
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];
Parameter |
Name |
Description |
value |
boolean
The createNewModel to set.
|
public ImportIssueModelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ImportIssueModelRequest.Builder setGcsSource(ImportIssueModelRequest.GcsSource value)
Google Cloud Storage source message.
.google.cloud.contactcenterinsights.v1.ImportIssueModelRequest.GcsSource gcs_source = 2;
public ImportIssueModelRequest.Builder setGcsSource(ImportIssueModelRequest.GcsSource.Builder builderForValue)
Google Cloud Storage source message.
.google.cloud.contactcenterinsights.v1.ImportIssueModelRequest.GcsSource gcs_source = 2;
public ImportIssueModelRequest.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.
|
public ImportIssueModelRequest.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.
|
public ImportIssueModelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ImportIssueModelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides