Package com.github.xds.core.v3
Class ResourceLocator.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<ResourceLocator.Builder>
-
- com.github.xds.core.v3.ResourceLocator.Builder
-
- All Implemented Interfaces:
ResourceLocatorOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ResourceLocator
public static final class ResourceLocator.Builder extends com.google.protobuf.GeneratedMessage.Builder<ResourceLocator.Builder> implements ResourceLocatorOrBuilder
xDS resource locators identify a xDS resource name and instruct the data-plane load balancer on how the resource may be located. Resource locators have a canonical xdstp:// URI representation: xdstp://{authority}/{type_url}/{id}?{context_params}{#directive,*} where context_params take the form of URI query parameters. Resource locators have a similar canonical http:// URI representation: http://{authority}/{type_url}/{id}?{context_params}{#directive,*} Resource locators also have a simplified file:// URI representation: file:///{id}{#directive,*}
Protobuf typexds.core.v3.ResourceLocator
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object
authority_
private int
bitField0_
private java.lang.Object
contextParamSpecifier_
private int
contextParamSpecifierCase_
private java.util.List<ResourceLocator.Directive>
directives_
private com.google.protobuf.RepeatedFieldBuilder<ResourceLocator.Directive,ResourceLocator.Directive.Builder,ResourceLocator.DirectiveOrBuilder>
directivesBuilder_
private com.google.protobuf.SingleFieldBuilder<ContextParams,ContextParams.Builder,ContextParamsOrBuilder>
exactContextBuilder_
private java.lang.Object
id_
private java.lang.Object
resourceType_
private int
scheme_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocator.Builder
addAllDirectives(java.lang.Iterable<? extends ResourceLocator.Directive> values)
A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.Builder
addDirectives(int index, ResourceLocator.Directive value)
A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.Builder
addDirectives(int index, ResourceLocator.Directive.Builder builderForValue)
A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.Builder
addDirectives(ResourceLocator.Directive value)
A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.Builder
addDirectives(ResourceLocator.Directive.Builder builderForValue)
A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.Directive.Builder
addDirectivesBuilder()
A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.Directive.Builder
addDirectivesBuilder(int index)
A list of directives that appear in the xDS resource locator #fragment.ResourceLocator
build()
ResourceLocator
buildPartial()
private void
buildPartial0(ResourceLocator result)
private void
buildPartialOneofs(ResourceLocator result)
private void
buildPartialRepeatedFields(ResourceLocator result)
ResourceLocator.Builder
clear()
ResourceLocator.Builder
clearAuthority()
Logical authority for resource (not necessarily transport network address).ResourceLocator.Builder
clearContextParamSpecifier()
ResourceLocator.Builder
clearDirectives()
A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.Builder
clearExactContext()
Additional parameters that can be used to select resource variants.ResourceLocator.Builder
clearId()
Opaque identifier for the resource.ResourceLocator.Builder
clearResourceType()
Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).ResourceLocator.Builder
clearScheme()
URI scheme.private void
ensureDirectivesIsMutable()
java.lang.String
getAuthority()
Logical authority for resource (not necessarily transport network address).com.google.protobuf.ByteString
getAuthorityBytes()
Logical authority for resource (not necessarily transport network address).ResourceLocator.ContextParamSpecifierCase
getContextParamSpecifierCase()
ResourceLocator
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
ResourceLocator.Directive
getDirectives(int index)
A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.Directive.Builder
getDirectivesBuilder(int index)
A list of directives that appear in the xDS resource locator #fragment.java.util.List<ResourceLocator.Directive.Builder>
getDirectivesBuilderList()
A list of directives that appear in the xDS resource locator #fragment.int
getDirectivesCount()
A list of directives that appear in the xDS resource locator #fragment.private com.google.protobuf.RepeatedFieldBuilder<ResourceLocator.Directive,ResourceLocator.Directive.Builder,ResourceLocator.DirectiveOrBuilder>
getDirectivesFieldBuilder()
java.util.List<ResourceLocator.Directive>
getDirectivesList()
A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.DirectiveOrBuilder
getDirectivesOrBuilder(int index)
A list of directives that appear in the xDS resource locator #fragment.java.util.List<? extends ResourceLocator.DirectiveOrBuilder>
getDirectivesOrBuilderList()
A list of directives that appear in the xDS resource locator #fragment.ContextParams
getExactContext()
Additional parameters that can be used to select resource variants.ContextParams.Builder
getExactContextBuilder()
Additional parameters that can be used to select resource variants.private com.google.protobuf.SingleFieldBuilder<ContextParams,ContextParams.Builder,ContextParamsOrBuilder>
getExactContextFieldBuilder()
Additional parameters that can be used to select resource variants.ContextParamsOrBuilder
getExactContextOrBuilder()
Additional parameters that can be used to select resource variants.java.lang.String
getId()
Opaque identifier for the resource.com.google.protobuf.ByteString
getIdBytes()
Opaque identifier for the resource.java.lang.String
getResourceType()
Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).com.google.protobuf.ByteString
getResourceTypeBytes()
Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).ResourceLocator.Scheme
getScheme()
URI scheme.int
getSchemeValue()
URI scheme.boolean
hasExactContext()
Additional parameters that can be used to select resource variants.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ResourceLocator.Builder
mergeExactContext(ContextParams value)
Additional parameters that can be used to select resource variants.ResourceLocator.Builder
mergeFrom(ResourceLocator other)
ResourceLocator.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ResourceLocator.Builder
mergeFrom(com.google.protobuf.Message other)
ResourceLocator.Builder
removeDirectives(int index)
A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.Builder
setAuthority(java.lang.String value)
Logical authority for resource (not necessarily transport network address).ResourceLocator.Builder
setAuthorityBytes(com.google.protobuf.ByteString value)
Logical authority for resource (not necessarily transport network address).ResourceLocator.Builder
setDirectives(int index, ResourceLocator.Directive value)
A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.Builder
setDirectives(int index, ResourceLocator.Directive.Builder builderForValue)
A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.Builder
setExactContext(ContextParams value)
Additional parameters that can be used to select resource variants.ResourceLocator.Builder
setExactContext(ContextParams.Builder builderForValue)
Additional parameters that can be used to select resource variants.ResourceLocator.Builder
setId(java.lang.String value)
Opaque identifier for the resource.ResourceLocator.Builder
setIdBytes(com.google.protobuf.ByteString value)
Opaque identifier for the resource.ResourceLocator.Builder
setResourceType(java.lang.String value)
Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).ResourceLocator.Builder
setResourceTypeBytes(com.google.protobuf.ByteString value)
Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).ResourceLocator.Builder
setScheme(ResourceLocator.Scheme value)
URI scheme.ResourceLocator.Builder
setSchemeValue(int value)
URI scheme.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
contextParamSpecifierCase_
private int contextParamSpecifierCase_
-
contextParamSpecifier_
private java.lang.Object contextParamSpecifier_
-
bitField0_
private int bitField0_
-
scheme_
private int scheme_
-
id_
private java.lang.Object id_
-
authority_
private java.lang.Object authority_
-
resourceType_
private java.lang.Object resourceType_
-
exactContextBuilder_
private com.google.protobuf.SingleFieldBuilder<ContextParams,ContextParams.Builder,ContextParamsOrBuilder> exactContextBuilder_
-
directives_
private java.util.List<ResourceLocator.Directive> directives_
-
directivesBuilder_
private com.google.protobuf.RepeatedFieldBuilder<ResourceLocator.Directive,ResourceLocator.Directive.Builder,ResourceLocator.DirectiveOrBuilder> directivesBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<ResourceLocator.Builder>
-
clear
public ResourceLocator.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<ResourceLocator.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<ResourceLocator.Builder>
-
getDefaultInstanceForType
public ResourceLocator getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ResourceLocator build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ResourceLocator buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(ResourceLocator result)
-
buildPartial0
private void buildPartial0(ResourceLocator result)
-
buildPartialOneofs
private void buildPartialOneofs(ResourceLocator result)
-
mergeFrom
public ResourceLocator.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ResourceLocator.Builder>
-
mergeFrom
public ResourceLocator.Builder mergeFrom(ResourceLocator other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<ResourceLocator.Builder>
-
mergeFrom
public ResourceLocator.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ResourceLocator.Builder>
- Throws:
java.io.IOException
-
getContextParamSpecifierCase
public ResourceLocator.ContextParamSpecifierCase getContextParamSpecifierCase()
- Specified by:
getContextParamSpecifierCase
in interfaceResourceLocatorOrBuilder
-
clearContextParamSpecifier
public ResourceLocator.Builder clearContextParamSpecifier()
-
getSchemeValue
public int getSchemeValue()
URI scheme.
.xds.core.v3.ResourceLocator.Scheme scheme = 1 [(.validate.rules) = { ... }
- Specified by:
getSchemeValue
in interfaceResourceLocatorOrBuilder
- Returns:
- The enum numeric value on the wire for scheme.
-
setSchemeValue
public ResourceLocator.Builder setSchemeValue(int value)
URI scheme.
.xds.core.v3.ResourceLocator.Scheme scheme = 1 [(.validate.rules) = { ... }
- Parameters:
value
- The enum numeric value on the wire for scheme to set.- Returns:
- This builder for chaining.
-
getScheme
public ResourceLocator.Scheme getScheme()
URI scheme.
.xds.core.v3.ResourceLocator.Scheme scheme = 1 [(.validate.rules) = { ... }
- Specified by:
getScheme
in interfaceResourceLocatorOrBuilder
- Returns:
- The scheme.
-
setScheme
public ResourceLocator.Builder setScheme(ResourceLocator.Scheme value)
URI scheme.
.xds.core.v3.ResourceLocator.Scheme scheme = 1 [(.validate.rules) = { ... }
- Parameters:
value
- The scheme to set.- Returns:
- This builder for chaining.
-
clearScheme
public ResourceLocator.Builder clearScheme()
URI scheme.
.xds.core.v3.ResourceLocator.Scheme scheme = 1 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
getId
public 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. This may end with ‘*’ for glob collection references.
string id = 2;
- Specified by:
getId
in interfaceResourceLocatorOrBuilder
- Returns:
- The id.
-
getIdBytes
public 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;
- Specified by:
getIdBytes
in interfaceResourceLocatorOrBuilder
- Returns:
- The bytes for id.
-
setId
public ResourceLocator.Builder setId(java.lang.String value)
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;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
public ResourceLocator.Builder clearId()
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:
- This builder for chaining.
-
setIdBytes
public ResourceLocator.Builder setIdBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
getAuthority
public 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, e.g. via envoy.config.core.v3.ConfigSource.
string authority = 3;
- Specified by:
getAuthority
in interfaceResourceLocatorOrBuilder
- Returns:
- The authority.
-
getAuthorityBytes
public 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;
- Specified by:
getAuthorityBytes
in interfaceResourceLocatorOrBuilder
- Returns:
- The bytes for authority.
-
setAuthority
public ResourceLocator.Builder setAuthority(java.lang.String value)
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;
- Parameters:
value
- The authority to set.- Returns:
- This builder for chaining.
-
clearAuthority
public ResourceLocator.Builder clearAuthority()
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:
- This builder for chaining.
-
setAuthorityBytes
public ResourceLocator.Builder setAuthorityBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for authority to set.- Returns:
- This builder for chaining.
-
getResourceType
public java.lang.String getResourceType()
Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).
string resource_type = 4 [(.validate.rules) = { ... }
- Specified by:
getResourceType
in interfaceResourceLocatorOrBuilder
- Returns:
- The resourceType.
-
getResourceTypeBytes
public com.google.protobuf.ByteString getResourceTypeBytes()
Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).
string resource_type = 4 [(.validate.rules) = { ... }
- Specified by:
getResourceTypeBytes
in interfaceResourceLocatorOrBuilder
- Returns:
- The bytes for resourceType.
-
setResourceType
public ResourceLocator.Builder setResourceType(java.lang.String value)
Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).
string resource_type = 4 [(.validate.rules) = { ... }
- Parameters:
value
- The resourceType to set.- Returns:
- This builder for chaining.
-
clearResourceType
public ResourceLocator.Builder clearResourceType()
Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).
string resource_type = 4 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
setResourceTypeBytes
public ResourceLocator.Builder setResourceTypeBytes(com.google.protobuf.ByteString value)
Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).
string resource_type = 4 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes for resourceType to set.- Returns:
- This builder for chaining.
-
hasExactContext
public 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;
- Specified by:
hasExactContext
in interfaceResourceLocatorOrBuilder
- Returns:
- Whether the exactContext field is set.
-
getExactContext
public 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;
- Specified by:
getExactContext
in interfaceResourceLocatorOrBuilder
- Returns:
- The exactContext.
-
setExactContext
public ResourceLocator.Builder setExactContext(ContextParams value)
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;
-
setExactContext
public ResourceLocator.Builder setExactContext(ContextParams.Builder builderForValue)
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;
-
mergeExactContext
public ResourceLocator.Builder mergeExactContext(ContextParams value)
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;
-
clearExactContext
public ResourceLocator.Builder clearExactContext()
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;
-
getExactContextBuilder
public ContextParams.Builder getExactContextBuilder()
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;
-
getExactContextOrBuilder
public 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;
- Specified by:
getExactContextOrBuilder
in interfaceResourceLocatorOrBuilder
-
getExactContextFieldBuilder
private com.google.protobuf.SingleFieldBuilder<ContextParams,ContextParams.Builder,ContextParamsOrBuilder> getExactContextFieldBuilder()
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;
-
ensureDirectivesIsMutable
private void ensureDirectivesIsMutable()
-
getDirectivesList
public java.util.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;
- Specified by:
getDirectivesList
in interfaceResourceLocatorOrBuilder
-
getDirectivesCount
public 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;
- Specified by:
getDirectivesCount
in interfaceResourceLocatorOrBuilder
-
getDirectives
public 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;
- Specified by:
getDirectives
in interfaceResourceLocatorOrBuilder
-
setDirectives
public ResourceLocator.Builder setDirectives(int index, ResourceLocator.Directive value)
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;
-
setDirectives
public ResourceLocator.Builder setDirectives(int index, ResourceLocator.Directive.Builder builderForValue)
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;
-
addDirectives
public ResourceLocator.Builder addDirectives(ResourceLocator.Directive value)
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;
-
addDirectives
public ResourceLocator.Builder addDirectives(int index, ResourceLocator.Directive value)
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;
-
addDirectives
public ResourceLocator.Builder addDirectives(ResourceLocator.Directive.Builder builderForValue)
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;
-
addDirectives
public ResourceLocator.Builder addDirectives(int index, ResourceLocator.Directive.Builder builderForValue)
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;
-
addAllDirectives
public ResourceLocator.Builder addAllDirectives(java.lang.Iterable<? extends ResourceLocator.Directive> values)
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;
-
clearDirectives
public ResourceLocator.Builder clearDirectives()
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;
-
removeDirectives
public ResourceLocator.Builder removeDirectives(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;
-
getDirectivesBuilder
public ResourceLocator.Directive.Builder getDirectivesBuilder(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;
-
getDirectivesOrBuilder
public 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;
- Specified by:
getDirectivesOrBuilder
in interfaceResourceLocatorOrBuilder
-
getDirectivesOrBuilderList
public java.util.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;
- Specified by:
getDirectivesOrBuilderList
in interfaceResourceLocatorOrBuilder
-
addDirectivesBuilder
public ResourceLocator.Directive.Builder addDirectivesBuilder()
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;
-
addDirectivesBuilder
public ResourceLocator.Directive.Builder addDirectivesBuilder(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;
-
getDirectivesBuilderList
public java.util.List<ResourceLocator.Directive.Builder> getDirectivesBuilderList()
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;
-
getDirectivesFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<ResourceLocator.Directive,ResourceLocator.Directive.Builder,ResourceLocator.DirectiveOrBuilder> getDirectivesFieldBuilder()
-
-