Package org.mlflow.api.proto
Class Service.LogModel.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
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
,java.lang.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 Type Method Description Service.LogModel.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.LogModel
build()
Service.LogModel
buildPartial()
Service.LogModel.Builder
clear()
Service.LogModel.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Service.LogModel.Builder
clearModelJson()
MLmodel file in json format.Service.LogModel.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Service.LogModel.Builder
clearRunId()
ID of the run to log underService.LogModel.Builder
clone()
Service.LogModel
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getModelJson()
MLmodel file in json format.com.google.protobuf.ByteString
getModelJsonBytes()
MLmodel file in json format.java.lang.String
getRunId()
ID of the run to log undercom.google.protobuf.ByteString
getRunIdBytes()
ID of the run to log underboolean
hasModelJson()
MLmodel file in json format.boolean
hasRunId()
ID of the run to log underprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Service.LogModel.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Service.LogModel.Builder
mergeFrom(com.google.protobuf.Message other)
Service.LogModel.Builder
mergeFrom(Service.LogModel other)
Service.LogModel.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Service.LogModel.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.LogModel.Builder
setModelJson(java.lang.String value)
MLmodel file in json format.Service.LogModel.Builder
setModelJsonBytes(com.google.protobuf.ByteString value)
MLmodel file in json format.Service.LogModel.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Service.LogModel.Builder
setRunId(java.lang.String value)
ID of the run to log underService.LogModel.Builder
setRunIdBytes(com.google.protobuf.ByteString value)
ID of the run to log underService.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
-
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, java.lang.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, java.lang.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, java.lang.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 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.LogModel.Builder>
- Throws:
java.io.IOException
-
hasRunId
public boolean hasRunId()ID of the run to log under
optional string run_id = 1;
- Specified by:
hasRunId
in interfaceService.LogModelOrBuilder
-
getRunId
public java.lang.String getRunId()ID of the run to log under
optional string run_id = 1;
- Specified by:
getRunId
in interfaceService.LogModelOrBuilder
-
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
-
setRunId
ID of the run to log under
optional string run_id = 1;
-
clearRunId
ID of the run to log under
optional string run_id = 1;
-
setRunIdBytes
ID of the run to log under
optional string run_id = 1;
-
hasModelJson
public boolean hasModelJson()MLmodel file in json format.
optional string model_json = 2;
- Specified by:
hasModelJson
in interfaceService.LogModelOrBuilder
-
getModelJson
public java.lang.String getModelJson()MLmodel file in json format.
optional string model_json = 2;
- Specified by:
getModelJson
in interfaceService.LogModelOrBuilder
-
getModelJsonBytes
public com.google.protobuf.ByteString getModelJsonBytes()MLmodel file in json format.
optional string model_json = 2;
- Specified by:
getModelJsonBytes
in interfaceService.LogModelOrBuilder
-
setModelJson
MLmodel file in json format.
optional string model_json = 2;
-
clearModelJson
MLmodel file in json format.
optional string model_json = 2;
-
setModelJsonBytes
MLmodel file in json format.
optional string model_json = 2;
-
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>
-