Package org.mlflow.api.proto
Class Service.LogModel.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Service.LogModel.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Service.LogModel.Builder>
org.mlflow.api.proto.Service.LogModel.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Service.LogModelOrBuilder
- Enclosing class:
Service.LogModel
public static final class Service.LogModel.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Service.LogModel.Builder>
implements Service.LogModelOrBuilder
Protobuf type
mlflow.LogModel
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) MLmodel file in json format.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) ID of the run to log underclone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
MLmodel file in json format.com.google.protobuf.ByteString
MLmodel file in json format.getRunId()
ID of the run to log undercom.google.protobuf.ByteString
ID of the run to log underboolean
MLmodel file in json format.boolean
hasRunId()
ID of the run to log underprotected 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.LogModel other) final Service.LogModel.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setModelJson
(String value) MLmodel file in json format.setModelJsonBytes
(com.google.protobuf.ByteString value) MLmodel file in json format.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) ID of the run to log undersetRunIdBytes
(com.google.protobuf.ByteString value) ID of the run to log underfinal Service.LogModel.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
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.LogModel.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.LogModel.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.LogModel.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.LogModel.Builder>
-
setField
public Service.LogModel.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.LogModel.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.LogModel.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.LogModel.Builder>
-
setRepeatedField
public Service.LogModel.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.LogModel.Builder>
-
addRepeatedField
public Service.LogModel.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.LogModel.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.LogModel.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.LogModel.Builder>
-
mergeFrom
public Service.LogModel.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.LogModel.Builder>
- Throws:
IOException
-
hasRunId
public boolean hasRunId()ID of the run to log under
optional string run_id = 1;
- Specified by:
hasRunId
in interfaceService.LogModelOrBuilder
- Returns:
- Whether the runId field is set.
-
getRunId
ID of the run to log under
optional string run_id = 1;
- Specified by:
getRunId
in interfaceService.LogModelOrBuilder
- Returns:
- The runId.
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()ID of the run to log under
optional string run_id = 1;
- Specified by:
getRunIdBytes
in interfaceService.LogModelOrBuilder
- Returns:
- The bytes for runId.
-
setRunId
ID of the run to log under
optional string run_id = 1;
- Parameters:
value
- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
ID of the run to log under
optional string run_id = 1;
- Returns:
- This builder for chaining.
-
setRunIdBytes
ID of the run to log under
optional string run_id = 1;
- Parameters:
value
- The bytes for runId to set.- Returns:
- This builder for chaining.
-
hasModelJson
public boolean hasModelJson()MLmodel file in json format.
optional string model_json = 2;
- Specified by:
hasModelJson
in interfaceService.LogModelOrBuilder
- Returns:
- Whether the modelJson field is set.
-
getModelJson
MLmodel file in json format.
optional string model_json = 2;
- Specified by:
getModelJson
in interfaceService.LogModelOrBuilder
- Returns:
- The modelJson.
-
getModelJsonBytes
public com.google.protobuf.ByteString getModelJsonBytes()MLmodel file in json format.
optional string model_json = 2;
- Specified by:
getModelJsonBytes
in interfaceService.LogModelOrBuilder
- Returns:
- The bytes for modelJson.
-
setModelJson
MLmodel file in json format.
optional string model_json = 2;
- Parameters:
value
- The modelJson to set.- Returns:
- This builder for chaining.
-
clearModelJson
MLmodel file in json format.
optional string model_json = 2;
- Returns:
- This builder for chaining.
-
setModelJsonBytes
MLmodel file in json format.
optional string model_json = 2;
- Parameters:
value
- The bytes for modelJson to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Service.LogModel.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.LogModel.Builder>
-
mergeUnknownFields
public final Service.LogModel.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.LogModel.Builder>
-