Package org.mlflow.api.proto
Class Service.DatasetSummary.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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
,java.lang.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 typemlflow.DatasetSummary
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Service.DatasetSummary.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.DatasetSummary
build()
Service.DatasetSummary
buildPartial()
Service.DatasetSummary.Builder
clear()
Service.DatasetSummary.Builder
clearContext()
Value of "context" tag if set for the given dataset.Service.DatasetSummary.Builder
clearDigest()
Dataset digest, e.g.Service.DatasetSummary.Builder
clearExperimentId()
Unique identifier for the experiment.Service.DatasetSummary.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Service.DatasetSummary.Builder
clearName()
The name of the dataset.Service.DatasetSummary.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Service.DatasetSummary.Builder
clone()
java.lang.String
getContext()
Value of "context" tag if set for the given dataset.com.google.protobuf.ByteString
getContextBytes()
Value of "context" tag if set for the given dataset.Service.DatasetSummary
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getDigest()
Dataset digest, e.g.com.google.protobuf.ByteString
getDigestBytes()
Dataset digest, e.g.java.lang.String
getExperimentId()
Unique identifier for the experiment.com.google.protobuf.ByteString
getExperimentIdBytes()
Unique identifier for the experiment.java.lang.String
getName()
The name of the dataset.com.google.protobuf.ByteString
getNameBytes()
The name of the dataset.boolean
hasContext()
Value of "context" tag if set for the given dataset.boolean
hasDigest()
Dataset digest, e.g.boolean
hasExperimentId()
Unique identifier for the experiment.boolean
hasName()
The name of the dataset.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Service.DatasetSummary.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Service.DatasetSummary.Builder
mergeFrom(com.google.protobuf.Message other)
Service.DatasetSummary.Builder
mergeFrom(Service.DatasetSummary other)
Service.DatasetSummary.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Service.DatasetSummary.Builder
setContext(java.lang.String value)
Value of "context" tag if set for the given dataset.Service.DatasetSummary.Builder
setContextBytes(com.google.protobuf.ByteString value)
Value of "context" tag if set for the given dataset.Service.DatasetSummary.Builder
setDigest(java.lang.String value)
Dataset digest, e.g.Service.DatasetSummary.Builder
setDigestBytes(com.google.protobuf.ByteString value)
Dataset digest, e.g.Service.DatasetSummary.Builder
setExperimentId(java.lang.String value)
Unique identifier for the experiment.Service.DatasetSummary.Builder
setExperimentIdBytes(com.google.protobuf.ByteString value)
Unique identifier for the experiment.Service.DatasetSummary.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.DatasetSummary.Builder
setName(java.lang.String value)
The name of the dataset.Service.DatasetSummary.Builder
setNameBytes(com.google.protobuf.ByteString value)
The name of the dataset.Service.DatasetSummary.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Service.DatasetSummary.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.DatasetSummary.Builder>
-
clear
public 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
public Service.DatasetSummary getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Service.DatasetSummary build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Service.DatasetSummary buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Service.DatasetSummary.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, java.lang.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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.DatasetSummary.Builder>
-
mergeFrom
public Service.DatasetSummary.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.DatasetSummary.Builder>
-
mergeFrom
public Service.DatasetSummary.Builder mergeFrom(Service.DatasetSummary other)
-
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 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.DatasetSummary.Builder>
- Throws:
java.io.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
public java.lang.String 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
public Service.DatasetSummary.Builder setExperimentId(java.lang.String value)
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
public Service.DatasetSummary.Builder clearExperimentId()
Unique identifier for the experiment.
optional string experiment_id = 1 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setExperimentIdBytes
public Service.DatasetSummary.Builder setExperimentIdBytes(com.google.protobuf.ByteString value)
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
public java.lang.String 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
public Service.DatasetSummary.Builder setName(java.lang.String value)
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
public Service.DatasetSummary.Builder 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
public Service.DatasetSummary.Builder setNameBytes(com.google.protobuf.ByteString value)
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
public java.lang.String 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
public Service.DatasetSummary.Builder setDigest(java.lang.String value)
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
public Service.DatasetSummary.Builder 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
public Service.DatasetSummary.Builder setDigestBytes(com.google.protobuf.ByteString value)
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
public java.lang.String 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
public Service.DatasetSummary.Builder setContext(java.lang.String value)
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
public Service.DatasetSummary.Builder clearContext()
Value of "context" tag if set for the given dataset.
optional string context = 4;
- Returns:
- This builder for chaining.
-
setContextBytes
public Service.DatasetSummary.Builder setContextBytes(com.google.protobuf.ByteString value)
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>
-
-