Interface ServiceEndpointWatcherOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ServiceEndpointWatcher, ServiceEndpointWatcher.Builder

public interface ServiceEndpointWatcherOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getServiceName

      String getServiceName()
      string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The serviceName.
    • getServiceNameBytes

      com.google.protobuf.ByteString getServiceNameBytes()
      string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for serviceName.
    • getPortName

      String getPortName()
      string port_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The portName.
    • getPortNameBytes

      com.google.protobuf.ByteString getPortNameBytes()
      string port_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for portName.
    • hasKubeconfig

      boolean hasKubeconfig()
      .centraldogma.xds.k8s.v1.Kubeconfig kubeconfig = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the kubeconfig field is set.
    • getKubeconfig

      Kubeconfig getKubeconfig()
      .centraldogma.xds.k8s.v1.Kubeconfig kubeconfig = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The kubeconfig.
    • getKubeconfigOrBuilder

      KubeconfigOrBuilder getKubeconfigOrBuilder()
      .centraldogma.xds.k8s.v1.Kubeconfig kubeconfig = 3 [(.google.api.field_behavior) = REQUIRED];
    • getAdditionalPropertiesCount

      int getAdditionalPropertiesCount()
      map<string, string> additional_properties = 4 [(.google.api.field_behavior) = OPTIONAL];
    • containsAdditionalProperties

      boolean containsAdditionalProperties(String key)
      map<string, string> additional_properties = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getAdditionalProperties

      @Deprecated Map<String,String> getAdditionalProperties()
      Deprecated.
    • getAdditionalPropertiesMap

      Map<String,String> getAdditionalPropertiesMap()
      map<string, string> additional_properties = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getAdditionalPropertiesOrDefault

      String getAdditionalPropertiesOrDefault(String key, String defaultValue)
      map<string, string> additional_properties = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getAdditionalPropertiesOrThrow

      String getAdditionalPropertiesOrThrow(String key)
      map<string, string> additional_properties = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getDistinctEndpoint

      boolean getDistinctEndpoint()
      When true, endpoints that share the same host and port are collapsed into a
      single LbEndpoint. This is useful in NODE_PORT mode where multiple Pods on
      the same node resolve to the same nodeIP:nodePort. The first occurrence
      supplies the endpoint metadata.
      
      bool distinct_endpoint = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The distinctEndpoint.
    • getMetadataMappingList

      List<MetadataMapping> getMetadataMappingList()
      Rules that copy Kubernetes Pod or Node label/annotation values into the
      metadata of the generated LbEndpoint.
      
      repeated .centraldogma.xds.k8s.v1.MetadataMapping metadata_mapping = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getMetadataMapping

      MetadataMapping getMetadataMapping(int index)
      Rules that copy Kubernetes Pod or Node label/annotation values into the
      metadata of the generated LbEndpoint.
      
      repeated .centraldogma.xds.k8s.v1.MetadataMapping metadata_mapping = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getMetadataMappingCount

      int getMetadataMappingCount()
      Rules that copy Kubernetes Pod or Node label/annotation values into the
      metadata of the generated LbEndpoint.
      
      repeated .centraldogma.xds.k8s.v1.MetadataMapping metadata_mapping = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getMetadataMappingOrBuilderList

      List<? extends MetadataMappingOrBuilder> getMetadataMappingOrBuilderList()
      Rules that copy Kubernetes Pod or Node label/annotation values into the
      metadata of the generated LbEndpoint.
      
      repeated .centraldogma.xds.k8s.v1.MetadataMapping metadata_mapping = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getMetadataMappingOrBuilder

      MetadataMappingOrBuilder getMetadataMappingOrBuilder(int index)
      Rules that copy Kubernetes Pod or Node label/annotation values into the
      metadata of the generated LbEndpoint.
      
      repeated .centraldogma.xds.k8s.v1.MetadataMapping metadata_mapping = 6 [(.google.api.field_behavior) = OPTIONAL];