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 Summary
Modifier and TypeMethodDescriptionbooleanmap<string, string> additional_properties = 4 [(.google.api.field_behavior) = OPTIONAL];Deprecated.intmap<string, string> additional_properties = 4 [(.google.api.field_behavior) = OPTIONAL];map<string, string> additional_properties = 4 [(.google.api.field_behavior) = OPTIONAL];getAdditionalPropertiesOrDefault(String key, String defaultValue) map<string, string> additional_properties = 4 [(.google.api.field_behavior) = OPTIONAL];map<string, string> additional_properties = 4 [(.google.api.field_behavior) = OPTIONAL];booleanWhen true, endpoints that share the same host and port are collapsed into a single LbEndpoint..centraldogma.xds.k8s.v1.Kubeconfig kubeconfig = 3 [(.google.api.field_behavior) = REQUIRED];.centraldogma.xds.k8s.v1.Kubeconfig kubeconfig = 3 [(.google.api.field_behavior) = REQUIRED];getMetadataMapping(int index) Rules that copy Kubernetes Pod or Node label/annotation values into the metadata of the generated LbEndpoint.intRules that copy Kubernetes Pod or Node label/annotation values into the metadata of the generated LbEndpoint.Rules that copy Kubernetes Pod or Node label/annotation values into the metadata of the generated LbEndpoint.getMetadataMappingOrBuilder(int index) Rules that copy Kubernetes Pod or Node label/annotation values into the metadata of the generated LbEndpoint.List<? extends MetadataMappingOrBuilder> Rules that copy Kubernetes Pod or Node label/annotation values into the metadata of the generated LbEndpoint.string port_name = 2 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteStringstring port_name = 2 [(.google.api.field_behavior) = OPTIONAL];string service_name = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteStringstring service_name = 1 [(.google.api.field_behavior) = REQUIRED];boolean.centraldogma.xds.k8s.v1.Kubeconfig kubeconfig = 3 [(.google.api.field_behavior) = REQUIRED];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
map<string, string> additional_properties = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getAdditionalProperties
Deprecated.UsegetAdditionalPropertiesMap()instead. -
getAdditionalPropertiesMap
-
getAdditionalPropertiesOrDefault
-
getAdditionalPropertiesOrThrow
-
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
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
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];
-