Class Service.CreateGatewayEndpoint

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

public static final class Service.CreateGatewayEndpoint extends com.google.protobuf.GeneratedMessageV3 implements Service.CreateGatewayEndpointOrBuilder
Protobuf type mlflow.CreateGatewayEndpoint
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
    • hasName

      public boolean hasName()
       Optional user-friendly name for the endpoint
       
      optional string name = 1;
      Specified by:
      hasName in interface Service.CreateGatewayEndpointOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Optional user-friendly name for the endpoint
       
      optional string name = 1;
      Specified by:
      getName in interface Service.CreateGatewayEndpointOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Optional user-friendly name for the endpoint
       
      optional string name = 1;
      Specified by:
      getNameBytes in interface Service.CreateGatewayEndpointOrBuilder
      Returns:
      The bytes for name.
    • getModelConfigsList

      public List<Service.GatewayEndpointModelConfig> getModelConfigsList()
       List of model configurations
       
      repeated .mlflow.GatewayEndpointModelConfig model_configs = 2;
      Specified by:
      getModelConfigsList in interface Service.CreateGatewayEndpointOrBuilder
    • getModelConfigsOrBuilderList

      public List<? extends Service.GatewayEndpointModelConfigOrBuilder> getModelConfigsOrBuilderList()
       List of model configurations
       
      repeated .mlflow.GatewayEndpointModelConfig model_configs = 2;
      Specified by:
      getModelConfigsOrBuilderList in interface Service.CreateGatewayEndpointOrBuilder
    • getModelConfigsCount

      public int getModelConfigsCount()
       List of model configurations
       
      repeated .mlflow.GatewayEndpointModelConfig model_configs = 2;
      Specified by:
      getModelConfigsCount in interface Service.CreateGatewayEndpointOrBuilder
    • getModelConfigs

      public Service.GatewayEndpointModelConfig getModelConfigs(int index)
       List of model configurations
       
      repeated .mlflow.GatewayEndpointModelConfig model_configs = 2;
      Specified by:
      getModelConfigs in interface Service.CreateGatewayEndpointOrBuilder
    • getModelConfigsOrBuilder

      public Service.GatewayEndpointModelConfigOrBuilder getModelConfigsOrBuilder(int index)
       List of model configurations
       
      repeated .mlflow.GatewayEndpointModelConfig model_configs = 2;
      Specified by:
      getModelConfigsOrBuilder in interface Service.CreateGatewayEndpointOrBuilder
    • hasCreatedBy

      public boolean hasCreatedBy()
       Username of the creator
       
      optional string created_by = 3;
      Specified by:
      hasCreatedBy in interface Service.CreateGatewayEndpointOrBuilder
      Returns:
      Whether the createdBy field is set.
    • getCreatedBy

      public String getCreatedBy()
       Username of the creator
       
      optional string created_by = 3;
      Specified by:
      getCreatedBy in interface Service.CreateGatewayEndpointOrBuilder
      Returns:
      The createdBy.
    • getCreatedByBytes

      public com.google.protobuf.ByteString getCreatedByBytes()
       Username of the creator
       
      optional string created_by = 3;
      Specified by:
      getCreatedByBytes in interface Service.CreateGatewayEndpointOrBuilder
      Returns:
      The bytes for createdBy.
    • hasRoutingStrategy

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

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

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

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

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

      public boolean hasExperimentId()
       Optional experiment ID for tracing. Only used when usage_tracking is true.
       If not provided and usage_tracking is true, an experiment will be auto-created.
       
      optional string experiment_id = 6;
      Specified by:
      hasExperimentId in interface Service.CreateGatewayEndpointOrBuilder
      Returns:
      Whether the experimentId field is set.
    • getExperimentId

      public String getExperimentId()
       Optional experiment ID for tracing. Only used when usage_tracking is true.
       If not provided and usage_tracking is true, an experiment will be auto-created.
       
      optional string experiment_id = 6;
      Specified by:
      getExperimentId in interface Service.CreateGatewayEndpointOrBuilder
      Returns:
      The experimentId.
    • getExperimentIdBytes

      public com.google.protobuf.ByteString getExperimentIdBytes()
       Optional experiment ID for tracing. Only used when usage_tracking is true.
       If not provided and usage_tracking is true, an experiment will be auto-created.
       
      optional string experiment_id = 6;
      Specified by:
      getExperimentIdBytes in interface Service.CreateGatewayEndpointOrBuilder
      Returns:
      The bytes for experimentId.
    • hasUsageTracking

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

      public boolean getUsageTracking()
       Whether to enable usage tracking for this endpoint. Defaults to false.
       When true, traces will be logged for endpoint invocations.
       
      optional bool usage_tracking = 7;
      Specified by:
      getUsageTracking in interface Service.CreateGatewayEndpointOrBuilder
      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.CreateGatewayEndpoint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static Service.CreateGatewayEndpoint 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.CreateGatewayEndpoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

      public static Service.CreateGatewayEndpoint.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.CreateGatewayEndpoint.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Service.CreateGatewayEndpoint getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Service.CreateGatewayEndpoint> 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.CreateGatewayEndpoint getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder