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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public CreateIssueModelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateIssueModelRequest build()
Returns
public CreateIssueModelRequest buildPartial()
Returns
public CreateIssueModelRequest.Builder clear()
Returns
Overrides
public CreateIssueModelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CreateIssueModelRequest.Builder clearIssueModel()
Required. The issue model to create.
.google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public CreateIssueModelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public CreateIssueModelRequest.Builder clone()
Returns
Overrides
public CreateIssueModelRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public IssueModel getIssueModel()
Required. The issue model to create.
.google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public IssueModel.Builder getIssueModelBuilder()
Required. The issue model to create.
.google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public IssueModelOrBuilder getIssueModelOrBuilder()
Required. The issue model to create.
.google.cloud.contactcenterinsights.v1.IssueModel issue_model = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateIssueModelRequest.Builder mergeFrom(CreateIssueModelRequest other)
Parameter
Returns
public CreateIssueModelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CreateIssueModelRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
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
Returns
public final CreateIssueModelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CreateIssueModelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
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
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
public CreateIssueModelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final CreateIssueModelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides