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