Class Analysis.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Analysis.Builder> implements AnalysisOrBuilder
The analysis resource.
Protobuf typegoogle.cloud.contactcenterinsights.v1.Analysis
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Analysis.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Analysis
build()
Analysis
buildPartial()
Analysis.Builder
clear()
Analysis.Builder
clearAnalysisResult()
Output only.Analysis.Builder
clearAnnotatorSelector()
To select the annotators to run and the phrase matchers to use (if any).Analysis.Builder
clearCreateTime()
Output only.Analysis.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Analysis.Builder
clearName()
Immutable.Analysis.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Analysis.Builder
clearRequestTime()
Output only.Analysis.Builder
clone()
AnalysisResult
getAnalysisResult()
Output only.AnalysisResult.Builder
getAnalysisResultBuilder()
Output only.AnalysisResultOrBuilder
getAnalysisResultOrBuilder()
Output only.AnnotatorSelector
getAnnotatorSelector()
To select the annotators to run and the phrase matchers to use (if any).AnnotatorSelector.Builder
getAnnotatorSelectorBuilder()
To select the annotators to run and the phrase matchers to use (if any).AnnotatorSelectorOrBuilder
getAnnotatorSelectorOrBuilder()
To select the annotators to run and the phrase matchers to use (if any).com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Analysis
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getName()
Immutable.com.google.protobuf.ByteString
getNameBytes()
Immutable.com.google.protobuf.Timestamp
getRequestTime()
Output only.com.google.protobuf.Timestamp.Builder
getRequestTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getRequestTimeOrBuilder()
Output only.boolean
hasAnalysisResult()
Output only.boolean
hasAnnotatorSelector()
To select the annotators to run and the phrase matchers to use (if any).boolean
hasCreateTime()
Output only.boolean
hasRequestTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Analysis.Builder
mergeAnalysisResult(AnalysisResult value)
Output only.Analysis.Builder
mergeAnnotatorSelector(AnnotatorSelector value)
To select the annotators to run and the phrase matchers to use (if any).Analysis.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Analysis.Builder
mergeFrom(Analysis other)
Analysis.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Analysis.Builder
mergeFrom(com.google.protobuf.Message other)
Analysis.Builder
mergeRequestTime(com.google.protobuf.Timestamp value)
Output only.Analysis.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Analysis.Builder
setAnalysisResult(AnalysisResult value)
Output only.Analysis.Builder
setAnalysisResult(AnalysisResult.Builder builderForValue)
Output only.Analysis.Builder
setAnnotatorSelector(AnnotatorSelector value)
To select the annotators to run and the phrase matchers to use (if any).Analysis.Builder
setAnnotatorSelector(AnnotatorSelector.Builder builderForValue)
To select the annotators to run and the phrase matchers to use (if any).Analysis.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Analysis.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Analysis.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Analysis.Builder
setName(String value)
Immutable.Analysis.Builder
setNameBytes(com.google.protobuf.ByteString value)
Immutable.Analysis.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Analysis.Builder
setRequestTime(com.google.protobuf.Timestamp value)
Output only.Analysis.Builder
setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Analysis.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Analysis.Builder>
-
clear
public Analysis.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Analysis.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Analysis.Builder>
-
getDefaultInstanceForType
public Analysis getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Analysis build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Analysis buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Analysis.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Analysis.Builder>
-
setField
public Analysis.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Analysis.Builder>
-
clearField
public Analysis.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Analysis.Builder>
-
clearOneof
public Analysis.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Analysis.Builder>
-
setRepeatedField
public Analysis.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Analysis.Builder>
-
addRepeatedField
public Analysis.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Analysis.Builder>
-
mergeFrom
public Analysis.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Analysis.Builder>
-
mergeFrom
public Analysis.Builder mergeFrom(Analysis other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Analysis.Builder>
-
mergeFrom
public Analysis.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Analysis.Builder>
- Throws:
IOException
-
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];
- Specified by:
getName
in 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:
getNameBytes
in interfaceAnalysisOrBuilder
- Returns:
- The bytes for name.
-
setName
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];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
public Analysis.Builder setNameBytes(com.google.protobuf.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];
- 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:
hasRequestTime
in 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:
getRequestTime
in interfaceAnalysisOrBuilder
- Returns:
- The requestTime.
-
setRequestTime
public Analysis.Builder setRequestTime(com.google.protobuf.Timestamp value)
Output only. The time at which the analysis was requested.
.google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setRequestTime
public Analysis.Builder setRequestTime(com.google.protobuf.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];
-
mergeRequestTime
public Analysis.Builder mergeRequestTime(com.google.protobuf.Timestamp value)
Output only. The time at which the analysis was requested.
.google.protobuf.Timestamp request_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
-
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:
getRequestTimeOrBuilder
in 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:
hasCreateTime
in 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:
getCreateTime
in interfaceAnalysisOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public Analysis.Builder setCreateTime(com.google.protobuf.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];
-
setCreateTime
public Analysis.Builder setCreateTime(com.google.protobuf.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];
-
mergeCreateTime
public Analysis.Builder mergeCreateTime(com.google.protobuf.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];
-
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];
-
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:
getCreateTimeOrBuilder
in 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:
hasAnalysisResult
in interfaceAnalysisOrBuilder
- Returns:
- Whether the analysisResult field is set.
-
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];
- Specified by:
getAnalysisResult
in interfaceAnalysisOrBuilder
- Returns:
- The analysisResult.
-
setAnalysisResult
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];
-
setAnalysisResult
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];
-
mergeAnalysisResult
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];
-
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];
-
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];
-
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];
- Specified by:
getAnalysisResultOrBuilder
in 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:
hasAnnotatorSelector
in interfaceAnalysisOrBuilder
- Returns:
- Whether the annotatorSelector field is set.
-
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;
- Specified by:
getAnnotatorSelector
in interfaceAnalysisOrBuilder
- Returns:
- The annotatorSelector.
-
setAnnotatorSelector
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;
-
setAnnotatorSelector
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;
-
mergeAnnotatorSelector
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;
-
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;
-
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;
-
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;
- Specified by:
getAnnotatorSelectorOrBuilder
in interfaceAnalysisOrBuilder
-
setUnknownFields
public final Analysis.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Analysis.Builder>
-
mergeUnknownFields
public final Analysis.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Analysis.Builder>
-
-