Class CometInput.Builder (3.55.0)

public static final class CometInput.Builder extends GeneratedMessageV3.Builder<CometInput.Builder> implements CometInputOrBuilder

Input for Comet metric.

Protobuf type google.cloud.aiplatform.v1.CometInput

Implements

CometInputOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CometInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CometInput.Builder
Overrides

build()

public CometInput build()
Returns
Type Description
CometInput

buildPartial()

public CometInput buildPartial()
Returns
Type Description
CometInput

clear()

public CometInput.Builder clear()
Returns
Type Description
CometInput.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CometInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CometInput.Builder
Overrides

clearInstance()

public CometInput.Builder clearInstance()

Required. Comet instance.

.google.cloud.aiplatform.v1.CometInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CometInput.Builder

clearMetricSpec()

public CometInput.Builder clearMetricSpec()

Required. Spec for comet metric.

.google.cloud.aiplatform.v1.CometSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CometInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CometInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CometInput.Builder
Overrides

clone()

public CometInput.Builder clone()
Returns
Type Description
CometInput.Builder
Overrides

getDefaultInstanceForType()

public CometInput getDefaultInstanceForType()
Returns
Type Description
CometInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInstance()

public CometInstance getInstance()

Required. Comet instance.

.google.cloud.aiplatform.v1.CometInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CometInstance

The instance.

getInstanceBuilder()

public CometInstance.Builder getInstanceBuilder()

Required. Comet instance.

.google.cloud.aiplatform.v1.CometInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CometInstance.Builder

getInstanceOrBuilder()

public CometInstanceOrBuilder getInstanceOrBuilder()

Required. Comet instance.

.google.cloud.aiplatform.v1.CometInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CometInstanceOrBuilder

getMetricSpec()

public CometSpec getMetricSpec()

Required. Spec for comet metric.

.google.cloud.aiplatform.v1.CometSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CometSpec

The metricSpec.

getMetricSpecBuilder()

public CometSpec.Builder getMetricSpecBuilder()

Required. Spec for comet metric.

.google.cloud.aiplatform.v1.CometSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CometSpec.Builder

getMetricSpecOrBuilder()

public CometSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for comet metric.

.google.cloud.aiplatform.v1.CometSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CometSpecOrBuilder

hasInstance()

public boolean hasInstance()

Required. Comet instance.

.google.cloud.aiplatform.v1.CometInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the instance field is set.

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for comet metric.

.google.cloud.aiplatform.v1.CometSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the metricSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CometInput other)

public CometInput.Builder mergeFrom(CometInput other)
Parameter
Name Description
other CometInput
Returns
Type Description
CometInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CometInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CometInput.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CometInput.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CometInput.Builder
Overrides

mergeInstance(CometInstance value)

public CometInput.Builder mergeInstance(CometInstance value)

Required. Comet instance.

.google.cloud.aiplatform.v1.CometInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CometInstance
Returns
Type Description
CometInput.Builder

mergeMetricSpec(CometSpec value)

public CometInput.Builder mergeMetricSpec(CometSpec value)

Required. Spec for comet metric.

.google.cloud.aiplatform.v1.CometSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CometSpec
Returns
Type Description
CometInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CometInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CometInput.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CometInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CometInput.Builder
Overrides

setInstance(CometInstance value)

public CometInput.Builder setInstance(CometInstance value)

Required. Comet instance.

.google.cloud.aiplatform.v1.CometInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CometInstance
Returns
Type Description
CometInput.Builder

setInstance(CometInstance.Builder builderForValue)

public CometInput.Builder setInstance(CometInstance.Builder builderForValue)

Required. Comet instance.

.google.cloud.aiplatform.v1.CometInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue CometInstance.Builder
Returns
Type Description
CometInput.Builder

setMetricSpec(CometSpec value)

public CometInput.Builder setMetricSpec(CometSpec value)

Required. Spec for comet metric.

.google.cloud.aiplatform.v1.CometSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CometSpec
Returns
Type Description
CometInput.Builder

setMetricSpec(CometSpec.Builder builderForValue)

public CometInput.Builder setMetricSpec(CometSpec.Builder builderForValue)

Required. Spec for comet metric.

.google.cloud.aiplatform.v1.CometSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue CometSpec.Builder
Returns
Type Description
CometInput.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CometInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CometInput.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CometInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CometInput.Builder
Overrides