Package org.mlflow.api.proto
Class Service.DatasetInput.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Service.DatasetInput.Builder>
-
- org.mlflow.api.proto.Service.DatasetInput.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,Service.DatasetInputOrBuilder
- Enclosing class:
- Service.DatasetInput
public static final class Service.DatasetInput.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Service.DatasetInput.Builder> implements Service.DatasetInputOrBuilder
DatasetInput. Represents a dataset and input tags.
Protobuf typemlflow.DatasetInput
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Service.DatasetInput.Builder
addAllTags(java.lang.Iterable<? extends Service.InputTag> values)
A list of tags for the dataset input, e.g.Service.DatasetInput.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.DatasetInput.Builder
addTags(int index, Service.InputTag value)
A list of tags for the dataset input, e.g.Service.DatasetInput.Builder
addTags(int index, Service.InputTag.Builder builderForValue)
A list of tags for the dataset input, e.g.Service.DatasetInput.Builder
addTags(Service.InputTag value)
A list of tags for the dataset input, e.g.Service.DatasetInput.Builder
addTags(Service.InputTag.Builder builderForValue)
A list of tags for the dataset input, e.g.Service.InputTag.Builder
addTagsBuilder()
A list of tags for the dataset input, e.g.Service.InputTag.Builder
addTagsBuilder(int index)
A list of tags for the dataset input, e.g.Service.DatasetInput
build()
Service.DatasetInput
buildPartial()
Service.DatasetInput.Builder
clear()
Service.DatasetInput.Builder
clearDataset()
The dataset being used as a Run input.Service.DatasetInput.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Service.DatasetInput.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Service.DatasetInput.Builder
clearTags()
A list of tags for the dataset input, e.g.Service.DatasetInput.Builder
clone()
Service.Dataset
getDataset()
The dataset being used as a Run input.Service.Dataset.Builder
getDatasetBuilder()
The dataset being used as a Run input.Service.DatasetOrBuilder
getDatasetOrBuilder()
The dataset being used as a Run input.Service.DatasetInput
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Service.InputTag
getTags(int index)
A list of tags for the dataset input, e.g.Service.InputTag.Builder
getTagsBuilder(int index)
A list of tags for the dataset input, e.g.java.util.List<Service.InputTag.Builder>
getTagsBuilderList()
A list of tags for the dataset input, e.g.int
getTagsCount()
A list of tags for the dataset input, e.g.java.util.List<Service.InputTag>
getTagsList()
A list of tags for the dataset input, e.g.Service.InputTagOrBuilder
getTagsOrBuilder(int index)
A list of tags for the dataset input, e.g.java.util.List<? extends Service.InputTagOrBuilder>
getTagsOrBuilderList()
A list of tags for the dataset input, e.g.boolean
hasDataset()
The dataset being used as a Run input.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Service.DatasetInput.Builder
mergeDataset(Service.Dataset value)
The dataset being used as a Run input.Service.DatasetInput.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Service.DatasetInput.Builder
mergeFrom(com.google.protobuf.Message other)
Service.DatasetInput.Builder
mergeFrom(Service.DatasetInput other)
Service.DatasetInput.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Service.DatasetInput.Builder
removeTags(int index)
A list of tags for the dataset input, e.g.Service.DatasetInput.Builder
setDataset(Service.Dataset value)
The dataset being used as a Run input.Service.DatasetInput.Builder
setDataset(Service.Dataset.Builder builderForValue)
The dataset being used as a Run input.Service.DatasetInput.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.DatasetInput.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Service.DatasetInput.Builder
setTags(int index, Service.InputTag value)
A list of tags for the dataset input, e.g.Service.DatasetInput.Builder
setTags(int index, Service.InputTag.Builder builderForValue)
A list of tags for the dataset input, e.g.Service.DatasetInput.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.DatasetInput.Builder>
-
clear
public Service.DatasetInput.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.DatasetInput.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.DatasetInput.Builder>
-
getDefaultInstanceForType
public Service.DatasetInput getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Service.DatasetInput build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Service.DatasetInput buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Service.DatasetInput.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.DatasetInput.Builder>
-
setField
public Service.DatasetInput.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.DatasetInput.Builder>
-
clearField
public Service.DatasetInput.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.DatasetInput.Builder>
-
clearOneof
public Service.DatasetInput.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.DatasetInput.Builder>
-
setRepeatedField
public Service.DatasetInput.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.DatasetInput.Builder>
-
addRepeatedField
public Service.DatasetInput.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.DatasetInput.Builder>
-
mergeFrom
public Service.DatasetInput.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.DatasetInput.Builder>
-
mergeFrom
public Service.DatasetInput.Builder mergeFrom(Service.DatasetInput other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.DatasetInput.Builder>
-
mergeFrom
public Service.DatasetInput.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.DatasetInput.Builder>
- Throws:
java.io.IOException
-
getTagsList
public java.util.List<Service.InputTag> getTagsList()
A list of tags for the dataset input, e.g. a “context” tag with value “training”
repeated .mlflow.InputTag tags = 1;
- Specified by:
getTagsList
in interfaceService.DatasetInputOrBuilder
-
getTagsCount
public int getTagsCount()
A list of tags for the dataset input, e.g. a “context” tag with value “training”
repeated .mlflow.InputTag tags = 1;
- Specified by:
getTagsCount
in interfaceService.DatasetInputOrBuilder
-
getTags
public Service.InputTag getTags(int index)
A list of tags for the dataset input, e.g. a “context” tag with value “training”
repeated .mlflow.InputTag tags = 1;
- Specified by:
getTags
in interfaceService.DatasetInputOrBuilder
-
setTags
public Service.DatasetInput.Builder setTags(int index, Service.InputTag value)
A list of tags for the dataset input, e.g. a “context” tag with value “training”
repeated .mlflow.InputTag tags = 1;
-
setTags
public Service.DatasetInput.Builder setTags(int index, Service.InputTag.Builder builderForValue)
A list of tags for the dataset input, e.g. a “context” tag with value “training”
repeated .mlflow.InputTag tags = 1;
-
addTags
public Service.DatasetInput.Builder addTags(Service.InputTag value)
A list of tags for the dataset input, e.g. a “context” tag with value “training”
repeated .mlflow.InputTag tags = 1;
-
addTags
public Service.DatasetInput.Builder addTags(int index, Service.InputTag value)
A list of tags for the dataset input, e.g. a “context” tag with value “training”
repeated .mlflow.InputTag tags = 1;
-
addTags
public Service.DatasetInput.Builder addTags(Service.InputTag.Builder builderForValue)
A list of tags for the dataset input, e.g. a “context” tag with value “training”
repeated .mlflow.InputTag tags = 1;
-
addTags
public Service.DatasetInput.Builder addTags(int index, Service.InputTag.Builder builderForValue)
A list of tags for the dataset input, e.g. a “context” tag with value “training”
repeated .mlflow.InputTag tags = 1;
-
addAllTags
public Service.DatasetInput.Builder addAllTags(java.lang.Iterable<? extends Service.InputTag> values)
A list of tags for the dataset input, e.g. a “context” tag with value “training”
repeated .mlflow.InputTag tags = 1;
-
clearTags
public Service.DatasetInput.Builder clearTags()
A list of tags for the dataset input, e.g. a “context” tag with value “training”
repeated .mlflow.InputTag tags = 1;
-
removeTags
public Service.DatasetInput.Builder removeTags(int index)
A list of tags for the dataset input, e.g. a “context” tag with value “training”
repeated .mlflow.InputTag tags = 1;
-
getTagsBuilder
public Service.InputTag.Builder getTagsBuilder(int index)
A list of tags for the dataset input, e.g. a “context” tag with value “training”
repeated .mlflow.InputTag tags = 1;
-
getTagsOrBuilder
public Service.InputTagOrBuilder getTagsOrBuilder(int index)
A list of tags for the dataset input, e.g. a “context” tag with value “training”
repeated .mlflow.InputTag tags = 1;
- Specified by:
getTagsOrBuilder
in interfaceService.DatasetInputOrBuilder
-
getTagsOrBuilderList
public java.util.List<? extends Service.InputTagOrBuilder> getTagsOrBuilderList()
A list of tags for the dataset input, e.g. a “context” tag with value “training”
repeated .mlflow.InputTag tags = 1;
- Specified by:
getTagsOrBuilderList
in interfaceService.DatasetInputOrBuilder
-
addTagsBuilder
public Service.InputTag.Builder addTagsBuilder()
A list of tags for the dataset input, e.g. a “context” tag with value “training”
repeated .mlflow.InputTag tags = 1;
-
addTagsBuilder
public Service.InputTag.Builder addTagsBuilder(int index)
A list of tags for the dataset input, e.g. a “context” tag with value “training”
repeated .mlflow.InputTag tags = 1;
-
getTagsBuilderList
public java.util.List<Service.InputTag.Builder> getTagsBuilderList()
A list of tags for the dataset input, e.g. a “context” tag with value “training”
repeated .mlflow.InputTag tags = 1;
-
hasDataset
public boolean hasDataset()
The dataset being used as a Run input.
optional .mlflow.Dataset dataset = 2 [(.mlflow.validate_required) = true];
- Specified by:
hasDataset
in interfaceService.DatasetInputOrBuilder
- Returns:
- Whether the dataset field is set.
-
getDataset
public Service.Dataset getDataset()
The dataset being used as a Run input.
optional .mlflow.Dataset dataset = 2 [(.mlflow.validate_required) = true];
- Specified by:
getDataset
in interfaceService.DatasetInputOrBuilder
- Returns:
- The dataset.
-
setDataset
public Service.DatasetInput.Builder setDataset(Service.Dataset value)
The dataset being used as a Run input.
optional .mlflow.Dataset dataset = 2 [(.mlflow.validate_required) = true];
-
setDataset
public Service.DatasetInput.Builder setDataset(Service.Dataset.Builder builderForValue)
The dataset being used as a Run input.
optional .mlflow.Dataset dataset = 2 [(.mlflow.validate_required) = true];
-
mergeDataset
public Service.DatasetInput.Builder mergeDataset(Service.Dataset value)
The dataset being used as a Run input.
optional .mlflow.Dataset dataset = 2 [(.mlflow.validate_required) = true];
-
clearDataset
public Service.DatasetInput.Builder clearDataset()
The dataset being used as a Run input.
optional .mlflow.Dataset dataset = 2 [(.mlflow.validate_required) = true];
-
getDatasetBuilder
public Service.Dataset.Builder getDatasetBuilder()
The dataset being used as a Run input.
optional .mlflow.Dataset dataset = 2 [(.mlflow.validate_required) = true];
-
getDatasetOrBuilder
public Service.DatasetOrBuilder getDatasetOrBuilder()
The dataset being used as a Run input.
optional .mlflow.Dataset dataset = 2 [(.mlflow.validate_required) = true];
- Specified by:
getDatasetOrBuilder
in interfaceService.DatasetInputOrBuilder
-
setUnknownFields
public final Service.DatasetInput.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.DatasetInput.Builder>
-
mergeUnknownFields
public final Service.DatasetInput.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.DatasetInput.Builder>
-
-