Package org.mlflow.api.proto
Class Service.DatasetSummary.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Service.DatasetSummary.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Service.DatasetSummary.Builder>
org.mlflow.api.proto.Service.DatasetSummary.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Service.DatasetSummaryOrBuilder
- Enclosing class:
Service.DatasetSummary
public static final class Service.DatasetSummary.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Service.DatasetSummary.Builder>
implements Service.DatasetSummaryOrBuilder
DatasetSummary. Represents a summary of information about a dataset.Protobuf type
mlflow.DatasetSummary
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Value of "context" tag if set for the given dataset.Dataset digest, e.g.Unique identifier for the experiment.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) The name of the dataset.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
Value of "context" tag if set for the given dataset.com.google.protobuf.ByteString
Value of "context" tag if set for the given dataset.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Dataset digest, e.g.com.google.protobuf.ByteString
Dataset digest, e.g.Unique identifier for the experiment.com.google.protobuf.ByteString
Unique identifier for the experiment.getName()
The name of the dataset.com.google.protobuf.ByteString
The name of the dataset.boolean
Value of "context" tag if set for the given dataset.boolean
Dataset digest, e.g.boolean
Unique identifier for the experiment.boolean
hasName()
The name of the dataset.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Service.DatasetSummary other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setContext
(String value) Value of "context" tag if set for the given dataset.setContextBytes
(com.google.protobuf.ByteString value) Value of "context" tag if set for the given dataset.Dataset digest, e.g.setDigestBytes
(com.google.protobuf.ByteString value) Dataset digest, e.g.setExperimentId
(String value) Unique identifier for the experiment.setExperimentIdBytes
(com.google.protobuf.ByteString value) Unique identifier for the experiment.The name of the dataset.setNameBytes
(com.google.protobuf.ByteString value) The name of the dataset.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.DatasetSummary.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.DatasetSummary.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.DatasetSummary.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.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.DatasetSummary.Builder>
-
setField
public Service.DatasetSummary.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.DatasetSummary.Builder>
-
clearField
public Service.DatasetSummary.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.DatasetSummary.Builder>
-
clearOneof
public Service.DatasetSummary.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.DatasetSummary.Builder>
-
setRepeatedField
public Service.DatasetSummary.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.DatasetSummary.Builder>
-
addRepeatedField
public Service.DatasetSummary.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.DatasetSummary.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.DatasetSummary.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.DatasetSummary.Builder>
-
mergeFrom
public Service.DatasetSummary.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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.DatasetSummary.Builder>
- Throws:
IOException
-
hasExperimentId
public boolean hasExperimentId()Unique identifier for the experiment.
optional string experiment_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
hasExperimentId
in interfaceService.DatasetSummaryOrBuilder
- Returns:
- Whether the experimentId field is set.
-
getExperimentId
Unique identifier for the experiment.
optional string experiment_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
getExperimentId
in interfaceService.DatasetSummaryOrBuilder
- Returns:
- The experimentId.
-
getExperimentIdBytes
public com.google.protobuf.ByteString getExperimentIdBytes()Unique identifier for the experiment.
optional string experiment_id = 1 [(.mlflow.validate_required) = true];
- Specified by:
getExperimentIdBytes
in interfaceService.DatasetSummaryOrBuilder
- Returns:
- The bytes for experimentId.
-
setExperimentId
Unique identifier for the experiment.
optional string experiment_id = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The experimentId to set.- Returns:
- This builder for chaining.
-
clearExperimentId
Unique identifier for the experiment.
optional string experiment_id = 1 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setExperimentIdBytes
Unique identifier for the experiment.
optional string experiment_id = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The bytes for experimentId to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()The name of the dataset. E.g. “my.uc.table@2” “nyc-taxi-dataset”, “fantastic-elk-3”
optional string name = 2 [(.mlflow.validate_required) = true];
- Specified by:
hasName
in interfaceService.DatasetSummaryOrBuilder
- Returns:
- Whether the name field is set.
-
getName
The name of the dataset. E.g. “my.uc.table@2” “nyc-taxi-dataset”, “fantastic-elk-3”
optional string name = 2 [(.mlflow.validate_required) = true];
- Specified by:
getName
in interfaceService.DatasetSummaryOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the dataset. E.g. “my.uc.table@2” “nyc-taxi-dataset”, “fantastic-elk-3”
optional string name = 2 [(.mlflow.validate_required) = true];
- Specified by:
getNameBytes
in interfaceService.DatasetSummaryOrBuilder
- Returns:
- The bytes for name.
-
setName
The name of the dataset. E.g. “my.uc.table@2” “nyc-taxi-dataset”, “fantastic-elk-3”
optional string name = 2 [(.mlflow.validate_required) = true];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of the dataset. E.g. “my.uc.table@2” “nyc-taxi-dataset”, “fantastic-elk-3”
optional string name = 2 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setNameBytes
The name of the dataset. E.g. “my.uc.table@2” “nyc-taxi-dataset”, “fantastic-elk-3”
optional string name = 2 [(.mlflow.validate_required) = true];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasDigest
public boolean hasDigest()Dataset digest, e.g. an md5 hash of the dataset that uniquely identifies it within datasets of the same name.
optional string digest = 3 [(.mlflow.validate_required) = true];
- Specified by:
hasDigest
in interfaceService.DatasetSummaryOrBuilder
- Returns:
- Whether the digest field is set.
-
getDigest
Dataset digest, e.g. an md5 hash of the dataset that uniquely identifies it within datasets of the same name.
optional string digest = 3 [(.mlflow.validate_required) = true];
- Specified by:
getDigest
in interfaceService.DatasetSummaryOrBuilder
- Returns:
- The digest.
-
getDigestBytes
public com.google.protobuf.ByteString getDigestBytes()Dataset digest, e.g. an md5 hash of the dataset that uniquely identifies it within datasets of the same name.
optional string digest = 3 [(.mlflow.validate_required) = true];
- Specified by:
getDigestBytes
in interfaceService.DatasetSummaryOrBuilder
- Returns:
- The bytes for digest.
-
setDigest
Dataset digest, e.g. an md5 hash of the dataset that uniquely identifies it within datasets of the same name.
optional string digest = 3 [(.mlflow.validate_required) = true];
- Parameters:
value
- The digest to set.- Returns:
- This builder for chaining.
-
clearDigest
Dataset digest, e.g. an md5 hash of the dataset that uniquely identifies it within datasets of the same name.
optional string digest = 3 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setDigestBytes
Dataset digest, e.g. an md5 hash of the dataset that uniquely identifies it within datasets of the same name.
optional string digest = 3 [(.mlflow.validate_required) = true];
- Parameters:
value
- The bytes for digest to set.- Returns:
- This builder for chaining.
-
hasContext
public boolean hasContext()Value of "context" tag if set for the given dataset.
optional string context = 4;
- Specified by:
hasContext
in interfaceService.DatasetSummaryOrBuilder
- Returns:
- Whether the context field is set.
-
getContext
Value of "context" tag if set for the given dataset.
optional string context = 4;
- Specified by:
getContext
in interfaceService.DatasetSummaryOrBuilder
- Returns:
- The context.
-
getContextBytes
public com.google.protobuf.ByteString getContextBytes()Value of "context" tag if set for the given dataset.
optional string context = 4;
- Specified by:
getContextBytes
in interfaceService.DatasetSummaryOrBuilder
- Returns:
- The bytes for context.
-
setContext
Value of "context" tag if set for the given dataset.
optional string context = 4;
- Parameters:
value
- The context to set.- Returns:
- This builder for chaining.
-
clearContext
Value of "context" tag if set for the given dataset.
optional string context = 4;
- Returns:
- This builder for chaining.
-
setContextBytes
Value of "context" tag if set for the given dataset.
optional string context = 4;
- Parameters:
value
- The bytes for context to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Service.DatasetSummary.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.DatasetSummary.Builder>
-
mergeUnknownFields
public final Service.DatasetSummary.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.DatasetSummary.Builder>
-