public final class Analysis extends GeneratedMessageV3 implements AnalysisOrBuilder
The analysis resource.
Protobuf type google.cloud.contactcenterinsights.v1.Analysis
Static Fields
public static final int ANALYSIS_RESULT_FIELD_NUMBER
Field Value
public static final int ANNOTATOR_SELECTOR_FIELD_NUMBER
Field Value
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
public static final int NAME_FIELD_NUMBER
Field Value
public static final int REQUEST_TIME_FIELD_NUMBER
Field Value
Static Methods
public static Analysis getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static Analysis.Builder newBuilder()
Returns
public static Analysis.Builder newBuilder(Analysis prototype)
Parameter
Returns
public static Analysis parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Analysis parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Analysis parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static Analysis parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Analysis parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static Analysis parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Analysis parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Analysis parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Analysis parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Analysis parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Analysis parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static Analysis parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<Analysis> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
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
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
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
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
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
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
public Analysis getDefaultInstanceForType()
Returns
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.
|
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
public Parser<Analysis> getParserForType()
Returns
Overrides
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
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
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
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.
|
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.
|
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Analysis.Builder newBuilderForType()
Returns
protected Analysis.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public Analysis.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions