Class Service.GatewayEndpointBinding.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Service.GatewayEndpointBinding.Builder>
org.mlflow.api.proto.Service.GatewayEndpointBinding.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Service.GatewayEndpointBindingOrBuilder
Enclosing class:
Service.GatewayEndpointBinding

public static final class Service.GatewayEndpointBinding.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Service.GatewayEndpointBinding.Builder> implements Service.GatewayEndpointBindingOrBuilder
 Binding between an endpoint and an MLflow resource.
 Uses composite key (endpoint_id, resource_type, resource_id) for identification.
 
Protobuf type mlflow.GatewayEndpointBinding
  • Method Details

    • 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.Builder<Service.GatewayEndpointBinding.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Service.GatewayEndpointBinding.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Service.GatewayEndpointBinding.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Service.GatewayEndpointBinding buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Service.GatewayEndpointBinding.Builder>
    • setField

      public Service.GatewayEndpointBinding.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.GatewayEndpointBinding.Builder>
    • clearField

      public Service.GatewayEndpointBinding.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.GatewayEndpointBinding.Builder>
    • clearOneof

      public Service.GatewayEndpointBinding.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Service.GatewayEndpointBinding.Builder>
    • setRepeatedField

      public Service.GatewayEndpointBinding.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.GatewayEndpointBinding.Builder>
    • addRepeatedField

      public Service.GatewayEndpointBinding.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.GatewayEndpointBinding.Builder>
    • mergeFrom

      public Service.GatewayEndpointBinding.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Service.GatewayEndpointBinding.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Service.GatewayEndpointBinding.Builder>
    • mergeFrom

      public Service.GatewayEndpointBinding.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Service.GatewayEndpointBinding.Builder>
      Throws:
      IOException
    • hasEndpointId

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

      public String getEndpointId()
       ID of the endpoint this binding references
       
      optional string endpoint_id = 1;
      Specified by:
      getEndpointId in interface Service.GatewayEndpointBindingOrBuilder
      Returns:
      The endpointId.
    • getEndpointIdBytes

      public com.google.protobuf.ByteString getEndpointIdBytes()
       ID of the endpoint this binding references
       
      optional string endpoint_id = 1;
      Specified by:
      getEndpointIdBytes in interface Service.GatewayEndpointBindingOrBuilder
      Returns:
      The bytes for endpointId.
    • setEndpointId

      public Service.GatewayEndpointBinding.Builder setEndpointId(String value)
       ID of the endpoint this binding references
       
      optional string endpoint_id = 1;
      Parameters:
      value - The endpointId to set.
      Returns:
      This builder for chaining.
    • clearEndpointId

      public Service.GatewayEndpointBinding.Builder clearEndpointId()
       ID of the endpoint this binding references
       
      optional string endpoint_id = 1;
      Returns:
      This builder for chaining.
    • setEndpointIdBytes

      public Service.GatewayEndpointBinding.Builder setEndpointIdBytes(com.google.protobuf.ByteString value)
       ID of the endpoint this binding references
       
      optional string endpoint_id = 1;
      Parameters:
      value - The bytes for endpointId to set.
      Returns:
      This builder for chaining.
    • hasResourceType

      public boolean hasResourceType()
       Type of MLflow resource (e.g., "scorer")
       
      optional string resource_type = 2;
      Specified by:
      hasResourceType in interface Service.GatewayEndpointBindingOrBuilder
      Returns:
      Whether the resourceType field is set.
    • getResourceType

      public String getResourceType()
       Type of MLflow resource (e.g., "scorer")
       
      optional string resource_type = 2;
      Specified by:
      getResourceType in interface Service.GatewayEndpointBindingOrBuilder
      Returns:
      The resourceType.
    • getResourceTypeBytes

      public com.google.protobuf.ByteString getResourceTypeBytes()
       Type of MLflow resource (e.g., "scorer")
       
      optional string resource_type = 2;
      Specified by:
      getResourceTypeBytes in interface Service.GatewayEndpointBindingOrBuilder
      Returns:
      The bytes for resourceType.
    • setResourceType

      public Service.GatewayEndpointBinding.Builder setResourceType(String value)
       Type of MLflow resource (e.g., "scorer")
       
      optional string resource_type = 2;
      Parameters:
      value - The resourceType to set.
      Returns:
      This builder for chaining.
    • clearResourceType

      public Service.GatewayEndpointBinding.Builder clearResourceType()
       Type of MLflow resource (e.g., "scorer")
       
      optional string resource_type = 2;
      Returns:
      This builder for chaining.
    • setResourceTypeBytes

      public Service.GatewayEndpointBinding.Builder setResourceTypeBytes(com.google.protobuf.ByteString value)
       Type of MLflow resource (e.g., "scorer")
       
      optional string resource_type = 2;
      Parameters:
      value - The bytes for resourceType to set.
      Returns:
      This builder for chaining.
    • hasResourceId

      public boolean hasResourceId()
       ID of the specific resource instance
       
      optional string resource_id = 3;
      Specified by:
      hasResourceId in interface Service.GatewayEndpointBindingOrBuilder
      Returns:
      Whether the resourceId field is set.
    • getResourceId

      public String getResourceId()
       ID of the specific resource instance
       
      optional string resource_id = 3;
      Specified by:
      getResourceId in interface Service.GatewayEndpointBindingOrBuilder
      Returns:
      The resourceId.
    • getResourceIdBytes

      public com.google.protobuf.ByteString getResourceIdBytes()
       ID of the specific resource instance
       
      optional string resource_id = 3;
      Specified by:
      getResourceIdBytes in interface Service.GatewayEndpointBindingOrBuilder
      Returns:
      The bytes for resourceId.
    • setResourceId

      public Service.GatewayEndpointBinding.Builder setResourceId(String value)
       ID of the specific resource instance
       
      optional string resource_id = 3;
      Parameters:
      value - The resourceId to set.
      Returns:
      This builder for chaining.
    • clearResourceId

      public Service.GatewayEndpointBinding.Builder clearResourceId()
       ID of the specific resource instance
       
      optional string resource_id = 3;
      Returns:
      This builder for chaining.
    • setResourceIdBytes

      public Service.GatewayEndpointBinding.Builder setResourceIdBytes(com.google.protobuf.ByteString value)
       ID of the specific resource instance
       
      optional string resource_id = 3;
      Parameters:
      value - The bytes for resourceId to set.
      Returns:
      This builder for chaining.
    • hasCreatedAt

      public boolean hasCreatedAt()
       Timestamp (milliseconds since epoch) when the binding was created
       
      optional int64 created_at = 4;
      Specified by:
      hasCreatedAt in interface Service.GatewayEndpointBindingOrBuilder
      Returns:
      Whether the createdAt field is set.
    • getCreatedAt

      public long getCreatedAt()
       Timestamp (milliseconds since epoch) when the binding was created
       
      optional int64 created_at = 4;
      Specified by:
      getCreatedAt in interface Service.GatewayEndpointBindingOrBuilder
      Returns:
      The createdAt.
    • setCreatedAt

      public Service.GatewayEndpointBinding.Builder setCreatedAt(long value)
       Timestamp (milliseconds since epoch) when the binding was created
       
      optional int64 created_at = 4;
      Parameters:
      value - The createdAt to set.
      Returns:
      This builder for chaining.
    • clearCreatedAt

      public Service.GatewayEndpointBinding.Builder clearCreatedAt()
       Timestamp (milliseconds since epoch) when the binding was created
       
      optional int64 created_at = 4;
      Returns:
      This builder for chaining.
    • hasLastUpdatedAt

      public boolean hasLastUpdatedAt()
       Timestamp (milliseconds since epoch) when the binding was last updated
       
      optional int64 last_updated_at = 5;
      Specified by:
      hasLastUpdatedAt in interface Service.GatewayEndpointBindingOrBuilder
      Returns:
      Whether the lastUpdatedAt field is set.
    • getLastUpdatedAt

      public long getLastUpdatedAt()
       Timestamp (milliseconds since epoch) when the binding was last updated
       
      optional int64 last_updated_at = 5;
      Specified by:
      getLastUpdatedAt in interface Service.GatewayEndpointBindingOrBuilder
      Returns:
      The lastUpdatedAt.
    • setLastUpdatedAt

      public Service.GatewayEndpointBinding.Builder setLastUpdatedAt(long value)
       Timestamp (milliseconds since epoch) when the binding was last updated
       
      optional int64 last_updated_at = 5;
      Parameters:
      value - The lastUpdatedAt to set.
      Returns:
      This builder for chaining.
    • clearLastUpdatedAt

      public Service.GatewayEndpointBinding.Builder clearLastUpdatedAt()
       Timestamp (milliseconds since epoch) when the binding was last updated
       
      optional int64 last_updated_at = 5;
      Returns:
      This builder for chaining.
    • hasCreatedBy

      public boolean hasCreatedBy()
       User ID who created the binding
       
      optional string created_by = 6;
      Specified by:
      hasCreatedBy in interface Service.GatewayEndpointBindingOrBuilder
      Returns:
      Whether the createdBy field is set.
    • getCreatedBy

      public String getCreatedBy()
       User ID who created the binding
       
      optional string created_by = 6;
      Specified by:
      getCreatedBy in interface Service.GatewayEndpointBindingOrBuilder
      Returns:
      The createdBy.
    • getCreatedByBytes

      public com.google.protobuf.ByteString getCreatedByBytes()
       User ID who created the binding
       
      optional string created_by = 6;
      Specified by:
      getCreatedByBytes in interface Service.GatewayEndpointBindingOrBuilder
      Returns:
      The bytes for createdBy.
    • setCreatedBy

      public Service.GatewayEndpointBinding.Builder setCreatedBy(String value)
       User ID who created the binding
       
      optional string created_by = 6;
      Parameters:
      value - The createdBy to set.
      Returns:
      This builder for chaining.
    • clearCreatedBy

      public Service.GatewayEndpointBinding.Builder clearCreatedBy()
       User ID who created the binding
       
      optional string created_by = 6;
      Returns:
      This builder for chaining.
    • setCreatedByBytes

      public Service.GatewayEndpointBinding.Builder setCreatedByBytes(com.google.protobuf.ByteString value)
       User ID who created the binding
       
      optional string created_by = 6;
      Parameters:
      value - The bytes for createdBy to set.
      Returns:
      This builder for chaining.
    • hasLastUpdatedBy

      public boolean hasLastUpdatedBy()
       User ID who last updated the binding
       
      optional string last_updated_by = 7;
      Specified by:
      hasLastUpdatedBy in interface Service.GatewayEndpointBindingOrBuilder
      Returns:
      Whether the lastUpdatedBy field is set.
    • getLastUpdatedBy

      public String getLastUpdatedBy()
       User ID who last updated the binding
       
      optional string last_updated_by = 7;
      Specified by:
      getLastUpdatedBy in interface Service.GatewayEndpointBindingOrBuilder
      Returns:
      The lastUpdatedBy.
    • getLastUpdatedByBytes

      public com.google.protobuf.ByteString getLastUpdatedByBytes()
       User ID who last updated the binding
       
      optional string last_updated_by = 7;
      Specified by:
      getLastUpdatedByBytes in interface Service.GatewayEndpointBindingOrBuilder
      Returns:
      The bytes for lastUpdatedBy.
    • setLastUpdatedBy

      public Service.GatewayEndpointBinding.Builder setLastUpdatedBy(String value)
       User ID who last updated the binding
       
      optional string last_updated_by = 7;
      Parameters:
      value - The lastUpdatedBy to set.
      Returns:
      This builder for chaining.
    • clearLastUpdatedBy

      public Service.GatewayEndpointBinding.Builder clearLastUpdatedBy()
       User ID who last updated the binding
       
      optional string last_updated_by = 7;
      Returns:
      This builder for chaining.
    • setLastUpdatedByBytes

      public Service.GatewayEndpointBinding.Builder setLastUpdatedByBytes(com.google.protobuf.ByteString value)
       User ID who last updated the binding
       
      optional string last_updated_by = 7;
      Parameters:
      value - The bytes for lastUpdatedBy to set.
      Returns:
      This builder for chaining.
    • hasDisplayName

      public boolean hasDisplayName()
       Fields 8-9 reserved - endpoint_name and model_mappings removed (join client-side)
       Human-readable display name for the resource (e.g., scorer name)
       
      optional string display_name = 10;
      Specified by:
      hasDisplayName in interface Service.GatewayEndpointBindingOrBuilder
      Returns:
      Whether the displayName field is set.
    • getDisplayName

      public String getDisplayName()
       Fields 8-9 reserved - endpoint_name and model_mappings removed (join client-side)
       Human-readable display name for the resource (e.g., scorer name)
       
      optional string display_name = 10;
      Specified by:
      getDisplayName in interface Service.GatewayEndpointBindingOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Fields 8-9 reserved - endpoint_name and model_mappings removed (join client-side)
       Human-readable display name for the resource (e.g., scorer name)
       
      optional string display_name = 10;
      Specified by:
      getDisplayNameBytes in interface Service.GatewayEndpointBindingOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Service.GatewayEndpointBinding.Builder setDisplayName(String value)
       Fields 8-9 reserved - endpoint_name and model_mappings removed (join client-side)
       Human-readable display name for the resource (e.g., scorer name)
       
      optional string display_name = 10;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public Service.GatewayEndpointBinding.Builder clearDisplayName()
       Fields 8-9 reserved - endpoint_name and model_mappings removed (join client-side)
       Human-readable display name for the resource (e.g., scorer name)
       
      optional string display_name = 10;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public Service.GatewayEndpointBinding.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Fields 8-9 reserved - endpoint_name and model_mappings removed (join client-side)
       Human-readable display name for the resource (e.g., scorer name)
       
      optional string display_name = 10;
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Service.GatewayEndpointBinding.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Service.GatewayEndpointBinding.Builder>
    • mergeUnknownFields

      public final Service.GatewayEndpointBinding.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Service.GatewayEndpointBinding.Builder>