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 typemlflow.LogModel
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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 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.LogModel.Builder>
-
clear
public 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
public Service.LogModel getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Service.LogModel build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Service.LogModel buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Service.LogModel.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
public Service.LogModel.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.LogModel.Builder>
-
clearOneof
public Service.LogModel.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.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
public Service.LogModel.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.LogModel.Builder>
-
mergeFrom
public Service.LogModel.Builder mergeFrom(Service.LogModel other)
-
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
- Returns:
- Whether the runId field is set.
-
getRunId
public java.lang.String 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
public Service.LogModel.Builder setRunId(java.lang.String value)
ID of the run to log under
optional string run_id = 1;
- Parameters:
value
- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
public Service.LogModel.Builder clearRunId()
ID of the run to log under
optional string run_id = 1;
- Returns:
- This builder for chaining.
-
setRunIdBytes
public Service.LogModel.Builder setRunIdBytes(com.google.protobuf.ByteString value)
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
public java.lang.String 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
public Service.LogModel.Builder setModelJson(java.lang.String value)
MLmodel file in json format.
optional string model_json = 2;
- Parameters:
value
- The modelJson to set.- Returns:
- This builder for chaining.
-
clearModelJson
public Service.LogModel.Builder clearModelJson()
MLmodel file in json format.
optional string model_json = 2;
- Returns:
- This builder for chaining.
-
setModelJsonBytes
public Service.LogModel.Builder setModelJsonBytes(com.google.protobuf.ByteString value)
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>
-
-