public static final class CreateAnalysisRequest.Builder extends GeneratedMessageV3.Builder<CreateAnalysisRequest.Builder> implements CreateAnalysisRequestOrBuilder
The request to create an analysis.
Protobuf type google.cloud.contactcenterinsights.v1.CreateAnalysisRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public CreateAnalysisRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateAnalysisRequest build()
public CreateAnalysisRequest buildPartial()
public CreateAnalysisRequest.Builder clear()
Overrides
public CreateAnalysisRequest.Builder clearAnalysis()
Required. The analysis to create.
.google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateAnalysisRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CreateAnalysisRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public CreateAnalysisRequest.Builder clearParent()
Required. The parent resource of the analysis.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public CreateAnalysisRequest.Builder clone()
Overrides
public Analysis getAnalysis()
Required. The analysis to create.
.google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Analysis |
The analysis.
|
public Analysis.Builder getAnalysisBuilder()
Required. The analysis to create.
.google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED];
public AnalysisOrBuilder getAnalysisOrBuilder()
Required. The analysis to create.
.google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateAnalysisRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getParent()
Required. The parent resource of the analysis.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
public ByteString getParentBytes()
Required. The parent resource of the analysis.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
public boolean hasAnalysis()
Required. The analysis to create.
.google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the analysis field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CreateAnalysisRequest.Builder mergeAnalysis(Analysis value)
Required. The analysis to create.
.google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Analysis
|
public CreateAnalysisRequest.Builder mergeFrom(CreateAnalysisRequest other)
public CreateAnalysisRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CreateAnalysisRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final CreateAnalysisRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CreateAnalysisRequest.Builder setAnalysis(Analysis value)
Required. The analysis to create.
.google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Analysis
|
public CreateAnalysisRequest.Builder setAnalysis(Analysis.Builder builderForValue)
Required. The analysis to create.
.google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateAnalysisRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateAnalysisRequest.Builder setParent(String value)
Required. The parent resource of the analysis.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
public CreateAnalysisRequest.Builder setParentBytes(ByteString value)
Required. The parent resource of the analysis.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
public CreateAnalysisRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final CreateAnalysisRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides