Package org.mlflow.api.proto
Class Service.AttachModelToGatewayEndpoint.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Service.AttachModelToGatewayEndpoint.Builder>
-
- org.mlflow.api.proto.Service.AttachModelToGatewayEndpoint.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.AttachModelToGatewayEndpointOrBuilder
- Enclosing class:
- Service.AttachModelToGatewayEndpoint
public static final class Service.AttachModelToGatewayEndpoint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Service.AttachModelToGatewayEndpoint.Builder> implements Service.AttachModelToGatewayEndpointOrBuilder
Protobuf typemlflow.AttachModelToGatewayEndpoint
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Service.AttachModelToGatewayEndpoint.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Service.AttachModelToGatewayEndpointbuild()Service.AttachModelToGatewayEndpointbuildPartial()Service.AttachModelToGatewayEndpoint.Builderclear()Service.AttachModelToGatewayEndpoint.BuilderclearCreatedBy()Username of the creatorService.AttachModelToGatewayEndpoint.BuilderclearEndpointId()ID of the endpoint to attach the model toService.AttachModelToGatewayEndpoint.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Service.AttachModelToGatewayEndpoint.BuilderclearModelDefinitionId()ID of the model definition to attachService.AttachModelToGatewayEndpoint.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Service.AttachModelToGatewayEndpoint.BuilderclearWeight()Optional routing weight (default 1)Service.AttachModelToGatewayEndpoint.Builderclone()java.lang.StringgetCreatedBy()Username of the creatorcom.google.protobuf.ByteStringgetCreatedByBytes()Username of the creatorService.AttachModelToGatewayEndpointgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetEndpointId()ID of the endpoint to attach the model tocom.google.protobuf.ByteStringgetEndpointIdBytes()ID of the endpoint to attach the model tojava.lang.StringgetModelDefinitionId()ID of the model definition to attachcom.google.protobuf.ByteStringgetModelDefinitionIdBytes()ID of the model definition to attachfloatgetWeight()Optional routing weight (default 1)booleanhasCreatedBy()Username of the creatorbooleanhasEndpointId()ID of the endpoint to attach the model tobooleanhasModelDefinitionId()ID of the model definition to attachbooleanhasWeight()Optional routing weight (default 1)protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Service.AttachModelToGatewayEndpoint.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Service.AttachModelToGatewayEndpoint.BuildermergeFrom(com.google.protobuf.Message other)Service.AttachModelToGatewayEndpoint.BuildermergeFrom(Service.AttachModelToGatewayEndpoint other)Service.AttachModelToGatewayEndpoint.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Service.AttachModelToGatewayEndpoint.BuildersetCreatedBy(java.lang.String value)Username of the creatorService.AttachModelToGatewayEndpoint.BuildersetCreatedByBytes(com.google.protobuf.ByteString value)Username of the creatorService.AttachModelToGatewayEndpoint.BuildersetEndpointId(java.lang.String value)ID of the endpoint to attach the model toService.AttachModelToGatewayEndpoint.BuildersetEndpointIdBytes(com.google.protobuf.ByteString value)ID of the endpoint to attach the model toService.AttachModelToGatewayEndpoint.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Service.AttachModelToGatewayEndpoint.BuildersetModelDefinitionId(java.lang.String value)ID of the model definition to attachService.AttachModelToGatewayEndpoint.BuildersetModelDefinitionIdBytes(com.google.protobuf.ByteString value)ID of the model definition to attachService.AttachModelToGatewayEndpoint.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Service.AttachModelToGatewayEndpoint.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Service.AttachModelToGatewayEndpoint.BuildersetWeight(float value)Optional routing weight (default 1)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Service.AttachModelToGatewayEndpoint.Builder>
-
clear
public Service.AttachModelToGatewayEndpoint.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.AttachModelToGatewayEndpoint.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Service.AttachModelToGatewayEndpoint.Builder>
-
getDefaultInstanceForType
public Service.AttachModelToGatewayEndpoint getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Service.AttachModelToGatewayEndpoint build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Service.AttachModelToGatewayEndpoint buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Service.AttachModelToGatewayEndpoint.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Service.AttachModelToGatewayEndpoint.Builder>
-
setField
public Service.AttachModelToGatewayEndpoint.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.AttachModelToGatewayEndpoint.Builder>
-
clearField
public Service.AttachModelToGatewayEndpoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.AttachModelToGatewayEndpoint.Builder>
-
clearOneof
public Service.AttachModelToGatewayEndpoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.AttachModelToGatewayEndpoint.Builder>
-
setRepeatedField
public Service.AttachModelToGatewayEndpoint.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.AttachModelToGatewayEndpoint.Builder>
-
addRepeatedField
public Service.AttachModelToGatewayEndpoint.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.AttachModelToGatewayEndpoint.Builder>
-
mergeFrom
public Service.AttachModelToGatewayEndpoint.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Service.AttachModelToGatewayEndpoint.Builder>
-
mergeFrom
public Service.AttachModelToGatewayEndpoint.Builder mergeFrom(Service.AttachModelToGatewayEndpoint other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.AttachModelToGatewayEndpoint.Builder>
-
mergeFrom
public Service.AttachModelToGatewayEndpoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Service.AttachModelToGatewayEndpoint.Builder>- Throws:
java.io.IOException
-
hasEndpointId
public boolean hasEndpointId()
ID of the endpoint to attach the model to
optional string endpoint_id = 1;- Specified by:
hasEndpointIdin interfaceService.AttachModelToGatewayEndpointOrBuilder- Returns:
- Whether the endpointId field is set.
-
getEndpointId
public java.lang.String getEndpointId()
ID of the endpoint to attach the model to
optional string endpoint_id = 1;- Specified by:
getEndpointIdin interfaceService.AttachModelToGatewayEndpointOrBuilder- Returns:
- The endpointId.
-
getEndpointIdBytes
public com.google.protobuf.ByteString getEndpointIdBytes()
ID of the endpoint to attach the model to
optional string endpoint_id = 1;- Specified by:
getEndpointIdBytesin interfaceService.AttachModelToGatewayEndpointOrBuilder- Returns:
- The bytes for endpointId.
-
setEndpointId
public Service.AttachModelToGatewayEndpoint.Builder setEndpointId(java.lang.String value)
ID of the endpoint to attach the model to
optional string endpoint_id = 1;- Parameters:
value- The endpointId to set.- Returns:
- This builder for chaining.
-
clearEndpointId
public Service.AttachModelToGatewayEndpoint.Builder clearEndpointId()
ID of the endpoint to attach the model to
optional string endpoint_id = 1;- Returns:
- This builder for chaining.
-
setEndpointIdBytes
public Service.AttachModelToGatewayEndpoint.Builder setEndpointIdBytes(com.google.protobuf.ByteString value)
ID of the endpoint to attach the model to
optional string endpoint_id = 1;- Parameters:
value- The bytes for endpointId to set.- Returns:
- This builder for chaining.
-
hasModelDefinitionId
public boolean hasModelDefinitionId()
ID of the model definition to attach
optional string model_definition_id = 2;- Specified by:
hasModelDefinitionIdin interfaceService.AttachModelToGatewayEndpointOrBuilder- Returns:
- Whether the modelDefinitionId field is set.
-
getModelDefinitionId
public java.lang.String getModelDefinitionId()
ID of the model definition to attach
optional string model_definition_id = 2;- Specified by:
getModelDefinitionIdin interfaceService.AttachModelToGatewayEndpointOrBuilder- Returns:
- The modelDefinitionId.
-
getModelDefinitionIdBytes
public com.google.protobuf.ByteString getModelDefinitionIdBytes()
ID of the model definition to attach
optional string model_definition_id = 2;- Specified by:
getModelDefinitionIdBytesin interfaceService.AttachModelToGatewayEndpointOrBuilder- Returns:
- The bytes for modelDefinitionId.
-
setModelDefinitionId
public Service.AttachModelToGatewayEndpoint.Builder setModelDefinitionId(java.lang.String value)
ID of the model definition to attach
optional string model_definition_id = 2;- Parameters:
value- The modelDefinitionId to set.- Returns:
- This builder for chaining.
-
clearModelDefinitionId
public Service.AttachModelToGatewayEndpoint.Builder clearModelDefinitionId()
ID of the model definition to attach
optional string model_definition_id = 2;- Returns:
- This builder for chaining.
-
setModelDefinitionIdBytes
public Service.AttachModelToGatewayEndpoint.Builder setModelDefinitionIdBytes(com.google.protobuf.ByteString value)
ID of the model definition to attach
optional string model_definition_id = 2;- Parameters:
value- The bytes for modelDefinitionId to set.- Returns:
- This builder for chaining.
-
hasWeight
public boolean hasWeight()
Optional routing weight (default 1)
optional float weight = 3;- Specified by:
hasWeightin interfaceService.AttachModelToGatewayEndpointOrBuilder- Returns:
- Whether the weight field is set.
-
getWeight
public float getWeight()
Optional routing weight (default 1)
optional float weight = 3;- Specified by:
getWeightin interfaceService.AttachModelToGatewayEndpointOrBuilder- Returns:
- The weight.
-
setWeight
public Service.AttachModelToGatewayEndpoint.Builder setWeight(float value)
Optional routing weight (default 1)
optional float weight = 3;- Parameters:
value- The weight to set.- Returns:
- This builder for chaining.
-
clearWeight
public Service.AttachModelToGatewayEndpoint.Builder clearWeight()
Optional routing weight (default 1)
optional float weight = 3;- Returns:
- This builder for chaining.
-
hasCreatedBy
public boolean hasCreatedBy()
Username of the creator
optional string created_by = 4;- Specified by:
hasCreatedByin interfaceService.AttachModelToGatewayEndpointOrBuilder- Returns:
- Whether the createdBy field is set.
-
getCreatedBy
public java.lang.String getCreatedBy()
Username of the creator
optional string created_by = 4;- Specified by:
getCreatedByin interfaceService.AttachModelToGatewayEndpointOrBuilder- Returns:
- The createdBy.
-
getCreatedByBytes
public com.google.protobuf.ByteString getCreatedByBytes()
Username of the creator
optional string created_by = 4;- Specified by:
getCreatedByBytesin interfaceService.AttachModelToGatewayEndpointOrBuilder- Returns:
- The bytes for createdBy.
-
setCreatedBy
public Service.AttachModelToGatewayEndpoint.Builder setCreatedBy(java.lang.String value)
Username of the creator
optional string created_by = 4;- Parameters:
value- The createdBy to set.- Returns:
- This builder for chaining.
-
clearCreatedBy
public Service.AttachModelToGatewayEndpoint.Builder clearCreatedBy()
Username of the creator
optional string created_by = 4;- Returns:
- This builder for chaining.
-
setCreatedByBytes
public Service.AttachModelToGatewayEndpoint.Builder setCreatedByBytes(com.google.protobuf.ByteString value)
Username of the creator
optional string created_by = 4;- Parameters:
value- The bytes for createdBy to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Service.AttachModelToGatewayEndpoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.AttachModelToGatewayEndpoint.Builder>
-
mergeUnknownFields
public final Service.AttachModelToGatewayEndpoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.AttachModelToGatewayEndpoint.Builder>
-
-