com.github.xds.core.v3.ResourceNameOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: xds/core/v3/resource_name.proto
package com.github.xds.core.v3;
public interface ResourceNameOrBuilder extends
// @@protoc_insertion_point(interface_extends:xds.core.v3.ResourceName)
com.google.protobuf.MessageOrBuilder {
/**
*
* Opaque identifier for the resource. Any '/' will not be escaped during URI
* encoding and will form part of the URI path.
*
*
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
*
* Opaque identifier for the resource. Any '/' will not be escaped during URI
* encoding and will form part of the URI path.
*
*
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* Logical authority for resource (not necessarily transport network address).
* Authorities are opaque in the xDS API, data-plane load balancers will map
* them to concrete network transports such as an xDS management server.
*
*
* string authority = 2;
* @return The authority.
*/
java.lang.String getAuthority();
/**
*
* Logical authority for resource (not necessarily transport network address).
* Authorities are opaque in the xDS API, data-plane load balancers will map
* them to concrete network transports such as an xDS management server.
*
*
* string authority = 2;
* @return The bytes for authority.
*/
com.google.protobuf.ByteString
getAuthorityBytes();
/**
*
* Fully qualified resource type (as in type URL without types.googleapis.com/
* prefix).
*
*
* string resource_type = 3 [(.validate.rules) = { ... }
* @return The resourceType.
*/
java.lang.String getResourceType();
/**
*
* Fully qualified resource type (as in type URL without types.googleapis.com/
* prefix).
*
*
* string resource_type = 3 [(.validate.rules) = { ... }
* @return The bytes for resourceType.
*/
com.google.protobuf.ByteString
getResourceTypeBytes();
/**
*
* Additional parameters that can be used to select resource variants.
*
*
* .xds.core.v3.ContextParams context = 4;
* @return Whether the context field is set.
*/
boolean hasContext();
/**
*
* Additional parameters that can be used to select resource variants.
*
*
* .xds.core.v3.ContextParams context = 4;
* @return The context.
*/
com.github.xds.core.v3.ContextParams getContext();
/**
*
* Additional parameters that can be used to select resource variants.
*
*
* .xds.core.v3.ContextParams context = 4;
*/
com.github.xds.core.v3.ContextParamsOrBuilder getContextOrBuilder();
}