Class Service.UpdateGatewayEndpoint

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.mlflow.api.proto.Service.UpdateGatewayEndpoint
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Service.UpdateGatewayEndpointOrBuilder
Enclosing class:
Service

public static final class Service.UpdateGatewayEndpoint extends com.google.protobuf.GeneratedMessageV3 implements Service.UpdateGatewayEndpointOrBuilder
Protobuf type mlflow.UpdateGatewayEndpoint
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasEndpointId

      public boolean hasEndpointId()
       ID of the endpoint to update
       
      optional string endpoint_id = 1;
      Specified by:
      hasEndpointId in interface Service.UpdateGatewayEndpointOrBuilder
      Returns:
      Whether the endpointId field is set.
    • getEndpointId

      public String getEndpointId()
       ID of the endpoint to update
       
      optional string endpoint_id = 1;
      Specified by:
      getEndpointId in interface Service.UpdateGatewayEndpointOrBuilder
      Returns:
      The endpointId.
    • getEndpointIdBytes

      public com.google.protobuf.ByteString getEndpointIdBytes()
       ID of the endpoint to update
       
      optional string endpoint_id = 1;
      Specified by:
      getEndpointIdBytes in interface Service.UpdateGatewayEndpointOrBuilder
      Returns:
      The bytes for endpointId.
    • hasName

      public boolean hasName()
       Optional new name for the endpoint
       
      optional string name = 2;
      Specified by:
      hasName in interface Service.UpdateGatewayEndpointOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Optional new name for the endpoint
       
      optional string name = 2;
      Specified by:
      getName in interface Service.UpdateGatewayEndpointOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Optional new name for the endpoint
       
      optional string name = 2;
      Specified by:
      getNameBytes in interface Service.UpdateGatewayEndpointOrBuilder
      Returns:
      The bytes for name.
    • hasUpdatedBy

      public boolean hasUpdatedBy()
       Username of the updater
       
      optional string updated_by = 3;
      Specified by:
      hasUpdatedBy in interface Service.UpdateGatewayEndpointOrBuilder
      Returns:
      Whether the updatedBy field is set.
    • getUpdatedBy

      public String getUpdatedBy()
       Username of the updater
       
      optional string updated_by = 3;
      Specified by:
      getUpdatedBy in interface Service.UpdateGatewayEndpointOrBuilder
      Returns:
      The updatedBy.
    • getUpdatedByBytes

      public com.google.protobuf.ByteString getUpdatedByBytes()
       Username of the updater
       
      optional string updated_by = 3;
      Specified by:
      getUpdatedByBytes in interface Service.UpdateGatewayEndpointOrBuilder
      Returns:
      The bytes for updatedBy.
    • getModelConfigsList

      public List<Service.GatewayEndpointModelConfig> getModelConfigsList()
       Optional new list of model configurations (replaces all existing model linkages)
       
      repeated .mlflow.GatewayEndpointModelConfig model_configs = 4;
      Specified by:
      getModelConfigsList in interface Service.UpdateGatewayEndpointOrBuilder
    • getModelConfigsOrBuilderList

      public List<? extends Service.GatewayEndpointModelConfigOrBuilder> getModelConfigsOrBuilderList()
       Optional new list of model configurations (replaces all existing model linkages)
       
      repeated .mlflow.GatewayEndpointModelConfig model_configs = 4;
      Specified by:
      getModelConfigsOrBuilderList in interface Service.UpdateGatewayEndpointOrBuilder
    • getModelConfigsCount

      public int getModelConfigsCount()
       Optional new list of model configurations (replaces all existing model linkages)
       
      repeated .mlflow.GatewayEndpointModelConfig model_configs = 4;
      Specified by:
      getModelConfigsCount in interface Service.UpdateGatewayEndpointOrBuilder
    • getModelConfigs

      public Service.GatewayEndpointModelConfig getModelConfigs(int index)
       Optional new list of model configurations (replaces all existing model linkages)
       
      repeated .mlflow.GatewayEndpointModelConfig model_configs = 4;
      Specified by:
      getModelConfigs in interface Service.UpdateGatewayEndpointOrBuilder
    • getModelConfigsOrBuilder

      public Service.GatewayEndpointModelConfigOrBuilder getModelConfigsOrBuilder(int index)
       Optional new list of model configurations (replaces all existing model linkages)
       
      repeated .mlflow.GatewayEndpointModelConfig model_configs = 4;
      Specified by:
      getModelConfigsOrBuilder in interface Service.UpdateGatewayEndpointOrBuilder
    • hasRoutingStrategy

      public boolean hasRoutingStrategy()
       Optional new routing strategy for the endpoint
       
      optional .mlflow.RoutingStrategy routing_strategy = 5;
      Specified by:
      hasRoutingStrategy in interface Service.UpdateGatewayEndpointOrBuilder
      Returns:
      Whether the routingStrategy field is set.
    • getRoutingStrategy

      public Service.RoutingStrategy getRoutingStrategy()
       Optional new routing strategy for the endpoint
       
      optional .mlflow.RoutingStrategy routing_strategy = 5;
      Specified by:
      getRoutingStrategy in interface Service.UpdateGatewayEndpointOrBuilder
      Returns:
      The routingStrategy.
    • hasFallbackConfig

      public boolean hasFallbackConfig()
       Optional fallback configuration (includes strategy, max_attempts)
       
      optional .mlflow.FallbackConfig fallback_config = 6;
      Specified by:
      hasFallbackConfig in interface Service.UpdateGatewayEndpointOrBuilder
      Returns:
      Whether the fallbackConfig field is set.
    • getFallbackConfig

      public Service.FallbackConfig getFallbackConfig()
       Optional fallback configuration (includes strategy, max_attempts)
       
      optional .mlflow.FallbackConfig fallback_config = 6;
      Specified by:
      getFallbackConfig in interface Service.UpdateGatewayEndpointOrBuilder
      Returns:
      The fallbackConfig.
    • getFallbackConfigOrBuilder

      public Service.FallbackConfigOrBuilder getFallbackConfigOrBuilder()
       Optional fallback configuration (includes strategy, max_attempts)
       
      optional .mlflow.FallbackConfig fallback_config = 6;
      Specified by:
      getFallbackConfigOrBuilder in interface Service.UpdateGatewayEndpointOrBuilder
    • hasExperimentId

      public boolean hasExperimentId()
       Optional experiment ID for tracing. Only used when usage_tracking is true.
       
      optional string experiment_id = 7;
      Specified by:
      hasExperimentId in interface Service.UpdateGatewayEndpointOrBuilder
      Returns:
      Whether the experimentId field is set.
    • getExperimentId

      public String getExperimentId()
       Optional experiment ID for tracing. Only used when usage_tracking is true.
       
      optional string experiment_id = 7;
      Specified by:
      getExperimentId in interface Service.UpdateGatewayEndpointOrBuilder
      Returns:
      The experimentId.
    • getExperimentIdBytes

      public com.google.protobuf.ByteString getExperimentIdBytes()
       Optional experiment ID for tracing. Only used when usage_tracking is true.
       
      optional string experiment_id = 7;
      Specified by:
      getExperimentIdBytes in interface Service.UpdateGatewayEndpointOrBuilder
      Returns:
      The bytes for experimentId.
    • hasUsageTracking

      public boolean hasUsageTracking()
       Whether to enable usage tracking for this endpoint.
       When set to true, traces will be logged for endpoint invocations.
       When set to false, usage tracking is disabled and experiment_id is cleared.
       
      optional bool usage_tracking = 8;
      Specified by:
      hasUsageTracking in interface Service.UpdateGatewayEndpointOrBuilder
      Returns:
      Whether the usageTracking field is set.
    • getUsageTracking

      public boolean getUsageTracking()
       Whether to enable usage tracking for this endpoint.
       When set to true, traces will be logged for endpoint invocations.
       When set to false, usage tracking is disabled and experiment_id is cleared.
       
      optional bool usage_tracking = 8;
      Specified by:
      getUsageTracking in interface Service.UpdateGatewayEndpointOrBuilder
      Returns:
      The usageTracking.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Service.UpdateGatewayEndpoint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Service.UpdateGatewayEndpoint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Service.UpdateGatewayEndpoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Service.UpdateGatewayEndpoint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Service.UpdateGatewayEndpoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Service.UpdateGatewayEndpoint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Service.UpdateGatewayEndpoint parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Service.UpdateGatewayEndpoint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Service.UpdateGatewayEndpoint parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Service.UpdateGatewayEndpoint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Service.UpdateGatewayEndpoint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Service.UpdateGatewayEndpoint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Service.UpdateGatewayEndpoint.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Service.UpdateGatewayEndpoint.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Service.UpdateGatewayEndpoint.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Service.UpdateGatewayEndpoint getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Service.UpdateGatewayEndpoint> parser()
    • getParserForType

      public com.google.protobuf.Parser<Service.UpdateGatewayEndpoint> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Service.UpdateGatewayEndpoint getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder