Package com.github.xds.core.v3
Interface ResourceLocatorOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourceLocator,ResourceLocator.Builder
public interface ResourceLocatorOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAuthority()Logical authority for resource (not necessarily transport network address).com.google.protobuf.ByteStringgetAuthorityBytes()Logical authority for resource (not necessarily transport network address).ResourceLocator.ContextParamSpecifierCasegetContextParamSpecifierCase()ResourceLocator.DirectivegetDirectives(int index)A list of directives that appear in the xDS resource locator #fragment.intgetDirectivesCount()A list of directives that appear in the xDS resource locator #fragment.List<ResourceLocator.Directive>getDirectivesList()A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.DirectiveOrBuildergetDirectivesOrBuilder(int index)A list of directives that appear in the xDS resource locator #fragment.List<? extends ResourceLocator.DirectiveOrBuilder>getDirectivesOrBuilderList()A list of directives that appear in the xDS resource locator #fragment.ContextParamsgetExactContext()Additional parameters that can be used to select resource variants.ContextParamsOrBuildergetExactContextOrBuilder()Additional parameters that can be used to select resource variants.StringgetId()Opaque identifier for the resource.com.google.protobuf.ByteStringgetIdBytes()Opaque identifier for the resource.StringgetResourceType()Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).com.google.protobuf.ByteStringgetResourceTypeBytes()Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).ResourceLocator.SchemegetScheme()URI scheme.intgetSchemeValue()URI scheme.booleanhasExactContext()Additional parameters that can be used to select resource variants.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSchemeValue
int getSchemeValue()
URI scheme.
.xds.core.v3.ResourceLocator.Scheme scheme = 1 [(.validate.rules) = { ... }- Returns:
- The enum numeric value on the wire for scheme.
-
getScheme
ResourceLocator.Scheme getScheme()
URI scheme.
.xds.core.v3.ResourceLocator.Scheme scheme = 1 [(.validate.rules) = { ... }- Returns:
- The scheme.
-
getId
String getId()
Opaque identifier for the resource. Any '/' will not be escaped during URI encoding and will form part of the URI path. This may end with ‘*’ for glob collection references.
string id = 2;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
Opaque identifier for the resource. Any '/' will not be escaped during URI encoding and will form part of the URI path. This may end with ‘*’ for glob collection references.
string id = 2;- Returns:
- The bytes for id.
-
getAuthority
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, e.g. via envoy.config.core.v3.ConfigSource.
string authority = 3;- Returns:
- The authority.
-
getAuthorityBytes
com.google.protobuf.ByteString getAuthorityBytes()
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, e.g. via envoy.config.core.v3.ConfigSource.
string authority = 3;- Returns:
- The bytes for authority.
-
getResourceType
String getResourceType()
Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).
string resource_type = 4 [(.validate.rules) = { ... }- Returns:
- The resourceType.
-
getResourceTypeBytes
com.google.protobuf.ByteString getResourceTypeBytes()
Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).
string resource_type = 4 [(.validate.rules) = { ... }- Returns:
- The bytes for resourceType.
-
hasExactContext
boolean hasExactContext()
Additional parameters that can be used to select resource variants. Matches must be exact, i.e. all context parameters must match exactly and there must be no additional context parameters set on the matched resource.
.xds.core.v3.ContextParams exact_context = 5;- Returns:
- Whether the exactContext field is set.
-
getExactContext
ContextParams getExactContext()
Additional parameters that can be used to select resource variants. Matches must be exact, i.e. all context parameters must match exactly and there must be no additional context parameters set on the matched resource.
.xds.core.v3.ContextParams exact_context = 5;- Returns:
- The exactContext.
-
getExactContextOrBuilder
ContextParamsOrBuilder getExactContextOrBuilder()
Additional parameters that can be used to select resource variants. Matches must be exact, i.e. all context parameters must match exactly and there must be no additional context parameters set on the matched resource.
.xds.core.v3.ContextParams exact_context = 5;
-
getDirectivesList
List<ResourceLocator.Directive> getDirectivesList()
A list of directives that appear in the xDS resource locator #fragment. When encoding to URI form, directives are percent encoded with comma separation.
repeated .xds.core.v3.ResourceLocator.Directive directives = 6;
-
getDirectives
ResourceLocator.Directive getDirectives(int index)
A list of directives that appear in the xDS resource locator #fragment. When encoding to URI form, directives are percent encoded with comma separation.
repeated .xds.core.v3.ResourceLocator.Directive directives = 6;
-
getDirectivesCount
int getDirectivesCount()
A list of directives that appear in the xDS resource locator #fragment. When encoding to URI form, directives are percent encoded with comma separation.
repeated .xds.core.v3.ResourceLocator.Directive directives = 6;
-
getDirectivesOrBuilderList
List<? extends ResourceLocator.DirectiveOrBuilder> getDirectivesOrBuilderList()
A list of directives that appear in the xDS resource locator #fragment. When encoding to URI form, directives are percent encoded with comma separation.
repeated .xds.core.v3.ResourceLocator.Directive directives = 6;
-
getDirectivesOrBuilder
ResourceLocator.DirectiveOrBuilder getDirectivesOrBuilder(int index)
A list of directives that appear in the xDS resource locator #fragment. When encoding to URI form, directives are percent encoded with comma separation.
repeated .xds.core.v3.ResourceLocator.Directive directives = 6;
-
getContextParamSpecifierCase
ResourceLocator.ContextParamSpecifierCase getContextParamSpecifierCase()
-
-