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