com.alibaba.nacos.istio.model.GatewayOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: gateway.proto
package com.alibaba.nacos.istio.model;
public interface GatewayOrBuilder extends
// @@protoc_insertion_point(interface_extends:istio.networking.v1alpha3.Gateway)
com.google.protobuf.MessageOrBuilder {
/**
*
* REQUIRED: A list of server specifications.
*
*
* repeated .istio.networking.v1alpha3.Server servers = 1;
*/
java.util.List
getServersList();
/**
*
* REQUIRED: A list of server specifications.
*
*
* repeated .istio.networking.v1alpha3.Server servers = 1;
*/
com.alibaba.nacos.istio.model.Server getServers(int index);
/**
*
* REQUIRED: A list of server specifications.
*
*
* repeated .istio.networking.v1alpha3.Server servers = 1;
*/
int getServersCount();
/**
*
* REQUIRED: A list of server specifications.
*
*
* repeated .istio.networking.v1alpha3.Server servers = 1;
*/
java.util.List extends com.alibaba.nacos.istio.model.ServerOrBuilder>
getServersOrBuilderList();
/**
*
* REQUIRED: A list of server specifications.
*
*
* repeated .istio.networking.v1alpha3.Server servers = 1;
*/
com.alibaba.nacos.istio.model.ServerOrBuilder getServersOrBuilder(
int index);
/**
*
* REQUIRED: One or more labels that indicate a specific set of pods/VMs
* on which this gateway configuration should be applied. The scope of
* label search is restricted to the configuration namespace in which the
* the resource is present. In other words, the Gateway resource must
* reside in the same namespace as the gateway workload instance.
*
*
* map<string, string> selector = 2;
*/
int getSelectorCount();
/**
*
* REQUIRED: One or more labels that indicate a specific set of pods/VMs
* on which this gateway configuration should be applied. The scope of
* label search is restricted to the configuration namespace in which the
* the resource is present. In other words, the Gateway resource must
* reside in the same namespace as the gateway workload instance.
*
*
* map<string, string> selector = 2;
*/
boolean containsSelector(
java.lang.String key);
/**
* Use {@link #getSelectorMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getSelector();
/**
*
* REQUIRED: One or more labels that indicate a specific set of pods/VMs
* on which this gateway configuration should be applied. The scope of
* label search is restricted to the configuration namespace in which the
* the resource is present. In other words, the Gateway resource must
* reside in the same namespace as the gateway workload instance.
*
*
* map<string, string> selector = 2;
*/
java.util.Map
getSelectorMap();
/**
*
* REQUIRED: One or more labels that indicate a specific set of pods/VMs
* on which this gateway configuration should be applied. The scope of
* label search is restricted to the configuration namespace in which the
* the resource is present. In other words, the Gateway resource must
* reside in the same namespace as the gateway workload instance.
*
*
* map<string, string> selector = 2;
*/
java.lang.String getSelectorOrDefault(
java.lang.String key,
java.lang.String defaultValue);
/**
*
* REQUIRED: One or more labels that indicate a specific set of pods/VMs
* on which this gateway configuration should be applied. The scope of
* label search is restricted to the configuration namespace in which the
* the resource is present. In other words, the Gateway resource must
* reside in the same namespace as the gateway workload instance.
*
*
* map<string, string> selector = 2;
*/
java.lang.String getSelectorOrThrow(
java.lang.String key);
}