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
Modifier and TypeMethodDescriptionLogical authority for resource (not necessarily transport network address).com.google.protobuf.ByteString
Logical authority for resource (not necessarily transport network address).getDirectives
(int index) A list of directives that appear in the xDS resource locator #fragment.int
A list of directives that appear in the xDS resource locator #fragment.A list of directives that appear in the xDS resource locator #fragment.getDirectivesOrBuilder
(int index) A list of directives that appear in the xDS resource locator #fragment.List
<? extends ResourceLocator.DirectiveOrBuilder> A list of directives that appear in the xDS resource locator #fragment.Additional parameters that can be used to select resource variants.Additional parameters that can be used to select resource variants.getId()
Opaque identifier for the resource.com.google.protobuf.ByteString
Opaque identifier for the resource.Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).com.google.protobuf.ByteString
Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).URI scheme.int
URI scheme.boolean
Additional parameters that can be used to select resource variants.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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()
-