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.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()
Returns
Methods
public CreateAnalysisRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateAnalysisRequest build()
Returns
public CreateAnalysisRequest buildPartial()
Returns
public CreateAnalysisRequest.Builder clear()
Returns
Overrides
public CreateAnalysisRequest.Builder clearAnalysis()
Required. The analysis to create.
.google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public CreateAnalysisRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CreateAnalysisRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public CreateAnalysisRequest.Builder clearParent()
Required. The parent resource of the analysis.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public CreateAnalysisRequest.Builder clone()
Returns
Overrides
public Analysis getAnalysis()
Required. The analysis to create.
.google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public Analysis.Builder getAnalysisBuilder()
Required. The analysis to create.
.google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public AnalysisOrBuilder getAnalysisOrBuilder()
Required. The analysis to create.
.google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public CreateAnalysisRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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()
Returns
Overrides
public final boolean isInitialized()
Returns
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
Returns
public CreateAnalysisRequest.Builder mergeFrom(CreateAnalysisRequest other)
Parameter
Returns
public CreateAnalysisRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CreateAnalysisRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final CreateAnalysisRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
public CreateAnalysisRequest.Builder setAnalysis(Analysis.Builder builderForValue)
Required. The analysis to create.
.google.cloud.contactcenterinsights.v1.Analysis analysis = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CreateAnalysisRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
public CreateAnalysisRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final CreateAnalysisRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides