Class Analysis.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Analysis.Builder>
com.google.cloud.contactcenterinsights.v1.Analysis.Builder
- All Implemented Interfaces:
AnalysisOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Analysis
public static final class Analysis.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Analysis.Builder>
implements AnalysisOrBuilder
The analysis resource.Protobuf type
google.cloud.contactcenterinsights.v1.Analysis-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.To select the annotators to run and the phrase matchers to use (if any).Output only.Immutable.Output only.Output only.Output only.Output only.To select the annotators to run and the phrase matchers to use (if any).To select the annotators to run and the phrase matchers to use (if any).To select the annotators to run and the phrase matchers to use (if any).com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Immutable.com.google.protobuf.ByteStringImmutable.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanTo select the annotators to run and the phrase matchers to use (if any).booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOutput only.To select the annotators to run and the phrase matchers to use (if any).mergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeRequestTime(com.google.protobuf.Timestamp value) Output only.setAnalysisResult(AnalysisResult value) Output only.setAnalysisResult(AnalysisResult.Builder builderForValue) Output only.To select the annotators to run and the phrase matchers to use (if any).setAnnotatorSelector(AnnotatorSelector.Builder builderForValue) To select the annotators to run and the phrase matchers to use (if any).setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Immutable.setNameBytes(com.google.protobuf.ByteString value) Immutable.setRequestTime(com.google.protobuf.Timestamp value) Output only.setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Analysis.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Analysis.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Analysis.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Analysis.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Analysis.Builder>
-
mergeFrom
public Analysis.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Analysis.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceAnalysisOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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];- Specified by:
getNameBytesin interfaceAnalysisOrBuilder- Returns:
- The bytes for name.
-
setName
Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasRequestTimein interfaceAnalysisOrBuilder- Returns:
- Whether the requestTime field is set.
-
getRequestTime
public com.google.protobuf.Timestamp getRequestTime()Output only. The time at which the analysis was requested.
.google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRequestTimein interfaceAnalysisOrBuilder- Returns:
- The requestTime.
-
setRequestTime
Output only. The time at which the analysis was requested.
.google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setRequestTime
Output only. The time at which the analysis was requested.
.google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeRequestTime
Output only. The time at which the analysis was requested.
.google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearRequestTime
Output only. The time at which the analysis was requested.
.google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRequestTimeBuilder
public com.google.protobuf.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]; -
getRequestTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder()Output only. The time at which the analysis was requested.
.google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRequestTimeOrBuilderin interfaceAnalysisOrBuilder
-
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];- Specified by:
hasCreateTimein interfaceAnalysisOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.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];- Specified by:
getCreateTimein interfaceAnalysisOrBuilder- Returns:
- The createTime.
-
setCreateTime
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]; -
setCreateTime
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]; -
mergeCreateTime
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]; -
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]; -
getCreateTimeBuilder
public com.google.protobuf.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]; -
getCreateTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getCreateTimeOrBuilderin interfaceAnalysisOrBuilder
-
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];- Specified by:
hasAnalysisResultin interfaceAnalysisOrBuilder- Returns:
- Whether the analysisResult field is set.
-
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];- Specified by:
getAnalysisResultin interfaceAnalysisOrBuilder- Returns:
- The analysisResult.
-
setAnalysisResult
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]; -
setAnalysisResult
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]; -
mergeAnalysisResult
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]; -
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]; -
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]; -
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];- Specified by:
getAnalysisResultOrBuilderin interfaceAnalysisOrBuilder
-
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;- Specified by:
hasAnnotatorSelectorin interfaceAnalysisOrBuilder- Returns:
- Whether the annotatorSelector field is set.
-
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;- Specified by:
getAnnotatorSelectorin interfaceAnalysisOrBuilder- Returns:
- The annotatorSelector.
-
setAnnotatorSelector
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; -
setAnnotatorSelector
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; -
mergeAnnotatorSelector
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; -
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; -
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; -
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;- Specified by:
getAnnotatorSelectorOrBuilderin interfaceAnalysisOrBuilder
-