io.envoyproxy.envoy.service.discovery.v3.ResourceLocatorOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/service/discovery/v3/discovery.proto
package io.envoyproxy.envoy.service.discovery.v3;
public interface ResourceLocatorOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.service.discovery.v3.ResourceLocator)
com.google.protobuf.MessageOrBuilder {
/**
*
* The resource name to subscribe to.
*
*
* string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
*
* The resource name to subscribe to.
*
*
* string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* A set of dynamic parameters used to match against the dynamic parameter
* constraints on the resource. This allows clients to select between
* multiple variants of the same resource.
*
*
* map<string, string> dynamic_parameters = 2;
*/
int getDynamicParametersCount();
/**
*
* A set of dynamic parameters used to match against the dynamic parameter
* constraints on the resource. This allows clients to select between
* multiple variants of the same resource.
*
*
* map<string, string> dynamic_parameters = 2;
*/
boolean containsDynamicParameters(
java.lang.String key);
/**
* Use {@link #getDynamicParametersMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getDynamicParameters();
/**
*
* A set of dynamic parameters used to match against the dynamic parameter
* constraints on the resource. This allows clients to select between
* multiple variants of the same resource.
*
*
* map<string, string> dynamic_parameters = 2;
*/
java.util.Map
getDynamicParametersMap();
/**
*
* A set of dynamic parameters used to match against the dynamic parameter
* constraints on the resource. This allows clients to select between
* multiple variants of the same resource.
*
*
* map<string, string> dynamic_parameters = 2;
*/
/* nullable */
java.lang.String getDynamicParametersOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
* A set of dynamic parameters used to match against the dynamic parameter
* constraints on the resource. This allows clients to select between
* multiple variants of the same resource.
*
*
* map<string, string> dynamic_parameters = 2;
*/
java.lang.String getDynamicParametersOrThrow(
java.lang.String key);
}