public static final class FluencyInput.Builder extends GeneratedMessageV3.Builder<FluencyInput.Builder> implements FluencyInputOrBuilder
Input for fluency metric.
Protobuf type google.cloud.aiplatform.v1beta1.FluencyInput
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 FluencyInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public FluencyInput build()
public FluencyInput buildPartial()
public FluencyInput.Builder clear()
Overrides
public FluencyInput.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public FluencyInput.Builder clearInstance()
Required. Fluency instance.
.google.cloud.aiplatform.v1beta1.FluencyInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public FluencyInput.Builder clearMetricSpec()
Required. Spec for fluency score metric.
.google.cloud.aiplatform.v1beta1.FluencySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public FluencyInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public FluencyInput.Builder clone()
Overrides
public FluencyInput getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public FluencyInstance getInstance()
Required. Fluency instance.
.google.cloud.aiplatform.v1beta1.FluencyInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public FluencyInstance.Builder getInstanceBuilder()
Required. Fluency instance.
.google.cloud.aiplatform.v1beta1.FluencyInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public FluencyInstanceOrBuilder getInstanceOrBuilder()
Required. Fluency instance.
.google.cloud.aiplatform.v1beta1.FluencyInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public FluencySpec getMetricSpec()
Required. Spec for fluency score metric.
.google.cloud.aiplatform.v1beta1.FluencySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public FluencySpec.Builder getMetricSpecBuilder()
Required. Spec for fluency score metric.
.google.cloud.aiplatform.v1beta1.FluencySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public FluencySpecOrBuilder getMetricSpecOrBuilder()
Required. Spec for fluency score metric.
.google.cloud.aiplatform.v1beta1.FluencySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public boolean hasInstance()
Required. Fluency instance.
.google.cloud.aiplatform.v1beta1.FluencyInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the instance field is set.
|
public boolean hasMetricSpec()
Required. Spec for fluency score metric.
.google.cloud.aiplatform.v1beta1.FluencySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the metricSpec field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public FluencyInput.Builder mergeFrom(FluencyInput other)
public FluencyInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public FluencyInput.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public FluencyInput.Builder mergeInstance(FluencyInstance value)
Required. Fluency instance.
.google.cloud.aiplatform.v1beta1.FluencyInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public FluencyInput.Builder mergeMetricSpec(FluencySpec value)
Required. Spec for fluency score metric.
.google.cloud.aiplatform.v1beta1.FluencySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public final FluencyInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public FluencyInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public FluencyInput.Builder setInstance(FluencyInstance value)
Required. Fluency instance.
.google.cloud.aiplatform.v1beta1.FluencyInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public FluencyInput.Builder setInstance(FluencyInstance.Builder builderForValue)
Required. Fluency instance.
.google.cloud.aiplatform.v1beta1.FluencyInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public FluencyInput.Builder setMetricSpec(FluencySpec value)
Required. Spec for fluency score metric.
.google.cloud.aiplatform.v1beta1.FluencySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public FluencyInput.Builder setMetricSpec(FluencySpec.Builder builderForValue)
Required. Spec for fluency score metric.
.google.cloud.aiplatform.v1beta1.FluencySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public FluencyInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final FluencyInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides