public static final class Analysis.Builder extends GeneratedMessage.Builder<Analysis.Builder> implements AnalysisOrBuilderThe analysis resource.
Protobuf type google.cloud.contactcenterinsights.v1.Analysis
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Analysis.BuilderImplements
AnalysisOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Analysis build()| Returns | |
|---|---|
| Type | Description |
Analysis |
|
buildPartial()
public Analysis buildPartial()| Returns | |
|---|---|
| Type | Description |
Analysis |
|
clear()
public Analysis.Builder clear()| Returns | |
|---|---|
| Type | Description |
Analysis.Builder |
|
clearAnalysisResult()
public Analysis.Builder clearAnalysisResult()Output only. The result of the analysis, which is populated when the analysis finishes.
.google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Analysis.Builder |
|
clearAnnotatorSelector()
public Analysis.Builder clearAnnotatorSelector()To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
| Returns | |
|---|---|
| Type | Description |
Analysis.Builder |
|
clearCreateTime()
public Analysis.Builder clearCreateTime()Output only. The time at which the analysis was created, which occurs when the long-running operation completes.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Analysis.Builder |
|
clearName()
public Analysis.Builder clearName()Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
Analysis.Builder |
This builder for chaining. |
clearRequestTime()
public Analysis.Builder clearRequestTime()Output only. The time at which the analysis was requested.
.google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Analysis.Builder |
|
getAnalysisResult()
public AnalysisResult getAnalysisResult()Output only. The result of the analysis, which is populated when the analysis finishes.
.google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AnalysisResult |
The analysisResult. |
getAnalysisResultBuilder()
public AnalysisResult.Builder getAnalysisResultBuilder()Output only. The result of the analysis, which is populated when the analysis finishes.
.google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AnalysisResult.Builder |
|
getAnalysisResultOrBuilder()
public AnalysisResultOrBuilder getAnalysisResultOrBuilder()Output only. The result of the analysis, which is populated when the analysis finishes.
.google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AnalysisResultOrBuilder |
|
getAnnotatorSelector()
public AnnotatorSelector getAnnotatorSelector()To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
| Returns | |
|---|---|
| Type | Description |
AnnotatorSelector |
The annotatorSelector. |
getAnnotatorSelectorBuilder()
public AnnotatorSelector.Builder getAnnotatorSelectorBuilder()To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
| Returns | |
|---|---|
| Type | Description |
AnnotatorSelector.Builder |
|
getAnnotatorSelectorOrBuilder()
public AnnotatorSelectorOrBuilder getAnnotatorSelectorOrBuilder()To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
| Returns | |
|---|---|
| Type | Description |
AnnotatorSelectorOrBuilder |
|
getCreateTime()
public Timestamp getCreateTime()Output only. The time at which the analysis was created, which occurs when the long-running operation completes.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The time at which the analysis was created, which occurs when the long-running operation completes.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time at which the analysis was created, which occurs when the long-running operation completes.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public Analysis getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Analysis |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getRequestTime()
public Timestamp getRequestTime()Output only. The time at which the analysis was requested.
.google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The requestTime. |
getRequestTimeBuilder()
public Timestamp.Builder getRequestTimeBuilder()Output only. The time at which the analysis was requested.
.google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getRequestTimeOrBuilder()
public TimestampOrBuilder getRequestTimeOrBuilder()Output only. The time at which the analysis was requested.
.google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasAnalysisResult()
public boolean hasAnalysisResult()Output only. The result of the analysis, which is populated when the analysis finishes.
.google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the analysisResult field is set. |
hasAnnotatorSelector()
public boolean hasAnnotatorSelector()To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the annotatorSelector field is set. |
hasCreateTime()
public boolean hasCreateTime()Output only. The time at which the analysis was created, which occurs when the long-running operation completes.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasRequestTime()
public boolean hasRequestTime()Output only. The time at which the analysis was requested.
.google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the requestTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAnalysisResult(AnalysisResult value)
public Analysis.Builder mergeAnalysisResult(AnalysisResult value)Output only. The result of the analysis, which is populated when the analysis finishes.
.google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
AnalysisResult |
| Returns | |
|---|---|
| Type | Description |
Analysis.Builder |
|
mergeAnnotatorSelector(AnnotatorSelector value)
public Analysis.Builder mergeAnnotatorSelector(AnnotatorSelector value)To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
AnnotatorSelector |
| Returns | |
|---|---|
| Type | Description |
Analysis.Builder |
|
mergeCreateTime(Timestamp value)
public Analysis.Builder mergeCreateTime(Timestamp value)Output only. The time at which the analysis was created, which occurs when the long-running operation completes.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Analysis.Builder |
|
mergeFrom(Analysis other)
public Analysis.Builder mergeFrom(Analysis other)| Parameter | |
|---|---|
| Name | Description |
other |
Analysis |
| Returns | |
|---|---|
| Type | Description |
Analysis.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Analysis.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Analysis.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Analysis.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Analysis.Builder |
|
mergeRequestTime(Timestamp value)
public Analysis.Builder mergeRequestTime(Timestamp value)Output only. The time at which the analysis was requested.
.google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Analysis.Builder |
|
setAnalysisResult(AnalysisResult value)
public Analysis.Builder setAnalysisResult(AnalysisResult value)Output only. The result of the analysis, which is populated when the analysis finishes.
.google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
AnalysisResult |
| Returns | |
|---|---|
| Type | Description |
Analysis.Builder |
|
setAnalysisResult(AnalysisResult.Builder builderForValue)
public Analysis.Builder setAnalysisResult(AnalysisResult.Builder builderForValue)Output only. The result of the analysis, which is populated when the analysis finishes.
.google.cloud.contactcenterinsights.v1.AnalysisResult analysis_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AnalysisResult.Builder |
| Returns | |
|---|---|
| Type | Description |
Analysis.Builder |
|
setAnnotatorSelector(AnnotatorSelector value)
public Analysis.Builder setAnnotatorSelector(AnnotatorSelector value)To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
AnnotatorSelector |
| Returns | |
|---|---|
| Type | Description |
Analysis.Builder |
|
setAnnotatorSelector(AnnotatorSelector.Builder builderForValue)
public Analysis.Builder setAnnotatorSelector(AnnotatorSelector.Builder builderForValue)To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run.
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AnnotatorSelector.Builder |
| Returns | |
|---|---|
| Type | Description |
Analysis.Builder |
|
setCreateTime(Timestamp value)
public Analysis.Builder setCreateTime(Timestamp value)Output only. The time at which the analysis was created, which occurs when the long-running operation completes.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Analysis.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public Analysis.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The time at which the analysis was created, which occurs when the long-running operation completes.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Analysis.Builder |
|
setName(String value)
public Analysis.Builder setName(String value)Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Analysis.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Analysis.Builder setNameBytes(ByteString value)Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Analysis.Builder |
This builder for chaining. |
setRequestTime(Timestamp value)
public Analysis.Builder setRequestTime(Timestamp value)Output only. The time at which the analysis was requested.
.google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Analysis.Builder |
|
setRequestTime(Timestamp.Builder builderForValue)
public Analysis.Builder setRequestTime(Timestamp.Builder builderForValue)Output only. The time at which the analysis was requested.
.google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Analysis.Builder |
|