Package com.github.xds.core.v3
Class ResourceLocator.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.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,Cloneable
- Enclosing class:
- ResourceLocator
public static final class ResourceLocator.Builder extends com.google.protobuf.GeneratedMessageV3.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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocator.BuilderaddAllDirectives(Iterable<? extends ResourceLocator.Directive> values)A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.BuilderaddDirectives(int index, ResourceLocator.Directive value)A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.BuilderaddDirectives(int index, ResourceLocator.Directive.Builder builderForValue)A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.BuilderaddDirectives(ResourceLocator.Directive value)A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.BuilderaddDirectives(ResourceLocator.Directive.Builder builderForValue)A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.Directive.BuilderaddDirectivesBuilder()A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.Directive.BuilderaddDirectivesBuilder(int index)A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ResourceLocatorbuild()ResourceLocatorbuildPartial()ResourceLocator.Builderclear()ResourceLocator.BuilderclearAuthority()Logical authority for resource (not necessarily transport network address).ResourceLocator.BuilderclearContextParamSpecifier()ResourceLocator.BuilderclearDirectives()A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.BuilderclearExactContext()Additional parameters that can be used to select resource variants.ResourceLocator.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ResourceLocator.BuilderclearId()Opaque identifier for the resource.ResourceLocator.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ResourceLocator.BuilderclearResourceType()Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).ResourceLocator.BuilderclearScheme()URI scheme.ResourceLocator.Builderclone()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()ResourceLocatorgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()ResourceLocator.DirectivegetDirectives(int index)A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.Directive.BuildergetDirectivesBuilder(int index)A list of directives that appear in the xDS resource locator #fragment.List<ResourceLocator.Directive.Builder>getDirectivesBuilderList()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.ContextParams.BuildergetExactContextBuilder()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ResourceLocator.BuildermergeExactContext(ContextParams value)Additional parameters that can be used to select resource variants.ResourceLocator.BuildermergeFrom(ResourceLocator other)ResourceLocator.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ResourceLocator.BuildermergeFrom(com.google.protobuf.Message other)ResourceLocator.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ResourceLocator.BuilderremoveDirectives(int index)A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.BuildersetAuthority(String value)Logical authority for resource (not necessarily transport network address).ResourceLocator.BuildersetAuthorityBytes(com.google.protobuf.ByteString value)Logical authority for resource (not necessarily transport network address).ResourceLocator.BuildersetDirectives(int index, ResourceLocator.Directive value)A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.BuildersetDirectives(int index, ResourceLocator.Directive.Builder builderForValue)A list of directives that appear in the xDS resource locator #fragment.ResourceLocator.BuildersetExactContext(ContextParams value)Additional parameters that can be used to select resource variants.ResourceLocator.BuildersetExactContext(ContextParams.Builder builderForValue)Additional parameters that can be used to select resource variants.ResourceLocator.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ResourceLocator.BuildersetId(String value)Opaque identifier for the resource.ResourceLocator.BuildersetIdBytes(com.google.protobuf.ByteString value)Opaque identifier for the resource.ResourceLocator.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ResourceLocator.BuildersetResourceType(String value)Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).ResourceLocator.BuildersetResourceTypeBytes(com.google.protobuf.ByteString value)Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).ResourceLocator.BuildersetScheme(ResourceLocator.Scheme value)URI scheme.ResourceLocator.BuildersetSchemeValue(int value)URI scheme.ResourceLocator.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ResourceLocator.Builder>
-
clear
public ResourceLocator.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ResourceLocator.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ResourceLocator.Builder>
-
getDefaultInstanceForType
public ResourceLocator getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ResourceLocator build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ResourceLocator buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ResourceLocator.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ResourceLocator.Builder>
-
setField
public ResourceLocator.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ResourceLocator.Builder>
-
clearField
public ResourceLocator.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ResourceLocator.Builder>
-
clearOneof
public ResourceLocator.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ResourceLocator.Builder>
-
setRepeatedField
public ResourceLocator.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ResourceLocator.Builder>
-
addRepeatedField
public ResourceLocator.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ResourceLocator.Builder>
-
mergeFrom
public ResourceLocator.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourceLocator.Builder>
-
mergeFrom
public ResourceLocator.Builder mergeFrom(ResourceLocator other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ResourceLocator.Builder>
-
mergeFrom
public ResourceLocator.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourceLocator.Builder>- Throws:
IOException
-
getContextParamSpecifierCase
public ResourceLocator.ContextParamSpecifierCase getContextParamSpecifierCase()
- Specified by:
getContextParamSpecifierCasein interfaceResourceLocatorOrBuilder
-
clearContextParamSpecifier
public ResourceLocator.Builder clearContextParamSpecifier()
-
getSchemeValue
public int getSchemeValue()
URI scheme.
.xds.core.v3.ResourceLocator.Scheme scheme = 1 [(.validate.rules) = { ... }- Specified by:
getSchemeValuein 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:
getSchemein 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 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:
getIdin 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:
getIdBytesin interfaceResourceLocatorOrBuilder- Returns:
- The bytes for id.
-
setId
public ResourceLocator.Builder setId(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 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:
getAuthorityin 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:
getAuthorityBytesin interfaceResourceLocatorOrBuilder- Returns:
- The bytes for authority.
-
setAuthority
public ResourceLocator.Builder setAuthority(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 String getResourceType()
Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).
string resource_type = 4 [(.validate.rules) = { ... }- Specified by:
getResourceTypein 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:
getResourceTypeBytesin interfaceResourceLocatorOrBuilder- Returns:
- The bytes for resourceType.
-
setResourceType
public ResourceLocator.Builder setResourceType(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:
hasExactContextin 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:
getExactContextin 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:
getExactContextOrBuilderin interfaceResourceLocatorOrBuilder
-
getDirectivesList
public 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:
getDirectivesListin 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:
getDirectivesCountin 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:
getDirectivesin 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(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:
getDirectivesOrBuilderin interfaceResourceLocatorOrBuilder
-
getDirectivesOrBuilderList
public 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:
getDirectivesOrBuilderListin 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 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;
-
setUnknownFields
public final ResourceLocator.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ResourceLocator.Builder>
-
mergeUnknownFields
public final ResourceLocator.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ResourceLocator.Builder>
-
-