Package io.grpc.lookup.v1
Class GrpcKeyBuilder.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<GrpcKeyBuilder.Builder>
-
- io.grpc.lookup.v1.GrpcKeyBuilder.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GrpcKeyBuilderOrBuilder,java.lang.Cloneable
- Enclosing class:
- GrpcKeyBuilder
public static final class GrpcKeyBuilder.Builder extends com.google.protobuf.GeneratedMessage.Builder<GrpcKeyBuilder.Builder> implements GrpcKeyBuilderOrBuilder
A GrpcKeyBuilder applies to a given gRPC service, name, and headers.
Protobuf typegrpc.lookup.v1.GrpcKeyBuilder
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private com.google.protobuf.MapField<java.lang.String,java.lang.String>constantKeys_private GrpcKeyBuilder.ExtraKeysextraKeys_private com.google.protobuf.SingleFieldBuilder<GrpcKeyBuilder.ExtraKeys,GrpcKeyBuilder.ExtraKeys.Builder,GrpcKeyBuilder.ExtraKeysOrBuilder>extraKeysBuilder_private java.util.List<NameMatcher>headers_private com.google.protobuf.RepeatedFieldBuilder<NameMatcher,NameMatcher.Builder,NameMatcherOrBuilder>headersBuilder_private java.util.List<GrpcKeyBuilder.Name>names_private com.google.protobuf.RepeatedFieldBuilder<GrpcKeyBuilder.Name,GrpcKeyBuilder.Name.Builder,GrpcKeyBuilder.NameOrBuilder>namesBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description GrpcKeyBuilder.BuilderaddAllHeaders(java.lang.Iterable<? extends NameMatcher> values)Extract keys from all listed headers.GrpcKeyBuilder.BuilderaddAllNames(java.lang.Iterable<? extends GrpcKeyBuilder.Name> values)repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;GrpcKeyBuilder.BuilderaddHeaders(int index, NameMatcher value)Extract keys from all listed headers.GrpcKeyBuilder.BuilderaddHeaders(int index, NameMatcher.Builder builderForValue)Extract keys from all listed headers.GrpcKeyBuilder.BuilderaddHeaders(NameMatcher value)Extract keys from all listed headers.GrpcKeyBuilder.BuilderaddHeaders(NameMatcher.Builder builderForValue)Extract keys from all listed headers.NameMatcher.BuilderaddHeadersBuilder()Extract keys from all listed headers.NameMatcher.BuilderaddHeadersBuilder(int index)Extract keys from all listed headers.GrpcKeyBuilder.BuilderaddNames(int index, GrpcKeyBuilder.Name value)repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;GrpcKeyBuilder.BuilderaddNames(int index, GrpcKeyBuilder.Name.Builder builderForValue)repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;GrpcKeyBuilder.BuilderaddNames(GrpcKeyBuilder.Name value)repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;GrpcKeyBuilder.BuilderaddNames(GrpcKeyBuilder.Name.Builder builderForValue)repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;GrpcKeyBuilder.Name.BuilderaddNamesBuilder()repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;GrpcKeyBuilder.Name.BuilderaddNamesBuilder(int index)repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;GrpcKeyBuilderbuild()GrpcKeyBuilderbuildPartial()private voidbuildPartial0(GrpcKeyBuilder result)private voidbuildPartialRepeatedFields(GrpcKeyBuilder result)GrpcKeyBuilder.Builderclear()GrpcKeyBuilder.BuilderclearConstantKeys()GrpcKeyBuilder.BuilderclearExtraKeys().grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;GrpcKeyBuilder.BuilderclearHeaders()Extract keys from all listed headers.GrpcKeyBuilder.BuilderclearNames()repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;booleancontainsConstantKeys(java.lang.String key)You can optionally set one or more specific key/value pairs to be added to the key_map.private voidensureHeadersIsMutable()private voidensureNamesIsMutable()java.util.Map<java.lang.String,java.lang.String>getConstantKeys()Deprecated.intgetConstantKeysCount()You can optionally set one or more specific key/value pairs to be added to the key_map.java.util.Map<java.lang.String,java.lang.String>getConstantKeysMap()You can optionally set one or more specific key/value pairs to be added to the key_map.java.lang.StringgetConstantKeysOrDefault(java.lang.String key, java.lang.String defaultValue)You can optionally set one or more specific key/value pairs to be added to the key_map.java.lang.StringgetConstantKeysOrThrow(java.lang.String key)You can optionally set one or more specific key/value pairs to be added to the key_map.GrpcKeyBuildergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()GrpcKeyBuilder.ExtraKeysgetExtraKeys().grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;GrpcKeyBuilder.ExtraKeys.BuildergetExtraKeysBuilder().grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;private com.google.protobuf.SingleFieldBuilder<GrpcKeyBuilder.ExtraKeys,GrpcKeyBuilder.ExtraKeys.Builder,GrpcKeyBuilder.ExtraKeysOrBuilder>getExtraKeysFieldBuilder().grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;GrpcKeyBuilder.ExtraKeysOrBuildergetExtraKeysOrBuilder().grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;NameMatchergetHeaders(int index)Extract keys from all listed headers.NameMatcher.BuildergetHeadersBuilder(int index)Extract keys from all listed headers.java.util.List<NameMatcher.Builder>getHeadersBuilderList()Extract keys from all listed headers.intgetHeadersCount()Extract keys from all listed headers.private com.google.protobuf.RepeatedFieldBuilder<NameMatcher,NameMatcher.Builder,NameMatcherOrBuilder>getHeadersFieldBuilder()java.util.List<NameMatcher>getHeadersList()Extract keys from all listed headers.NameMatcherOrBuildergetHeadersOrBuilder(int index)Extract keys from all listed headers.java.util.List<? extends NameMatcherOrBuilder>getHeadersOrBuilderList()Extract keys from all listed headers.java.util.Map<java.lang.String,java.lang.String>getMutableConstantKeys()Deprecated.GrpcKeyBuilder.NamegetNames(int index)repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;GrpcKeyBuilder.Name.BuildergetNamesBuilder(int index)repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;java.util.List<GrpcKeyBuilder.Name.Builder>getNamesBuilderList()repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;intgetNamesCount()repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;private com.google.protobuf.RepeatedFieldBuilder<GrpcKeyBuilder.Name,GrpcKeyBuilder.Name.Builder,GrpcKeyBuilder.NameOrBuilder>getNamesFieldBuilder()java.util.List<GrpcKeyBuilder.Name>getNamesList()repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;GrpcKeyBuilder.NameOrBuildergetNamesOrBuilder(int index)repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;java.util.List<? extends GrpcKeyBuilder.NameOrBuilder>getNamesOrBuilderList()repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;booleanhasExtraKeys().grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;private com.google.protobuf.MapField<java.lang.String,java.lang.String>internalGetConstantKeys()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)private com.google.protobuf.MapField<java.lang.String,java.lang.String>internalGetMutableConstantKeys()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number)booleanisInitialized()private voidmaybeForceBuilderInitialization()GrpcKeyBuilder.BuildermergeExtraKeys(GrpcKeyBuilder.ExtraKeys value).grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;GrpcKeyBuilder.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)GrpcKeyBuilder.BuildermergeFrom(com.google.protobuf.Message other)GrpcKeyBuilder.BuildermergeFrom(GrpcKeyBuilder other)GrpcKeyBuilder.BuilderputAllConstantKeys(java.util.Map<java.lang.String,java.lang.String> values)You can optionally set one or more specific key/value pairs to be added to the key_map.GrpcKeyBuilder.BuilderputConstantKeys(java.lang.String key, java.lang.String value)You can optionally set one or more specific key/value pairs to be added to the key_map.GrpcKeyBuilder.BuilderremoveConstantKeys(java.lang.String key)You can optionally set one or more specific key/value pairs to be added to the key_map.GrpcKeyBuilder.BuilderremoveHeaders(int index)Extract keys from all listed headers.GrpcKeyBuilder.BuilderremoveNames(int index)repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;GrpcKeyBuilder.BuildersetExtraKeys(GrpcKeyBuilder.ExtraKeys value).grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;GrpcKeyBuilder.BuildersetExtraKeys(GrpcKeyBuilder.ExtraKeys.Builder builderForValue).grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;GrpcKeyBuilder.BuildersetHeaders(int index, NameMatcher value)Extract keys from all listed headers.GrpcKeyBuilder.BuildersetHeaders(int index, NameMatcher.Builder builderForValue)Extract keys from all listed headers.GrpcKeyBuilder.BuildersetNames(int index, GrpcKeyBuilder.Name value)repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;GrpcKeyBuilder.BuildersetNames(int index, GrpcKeyBuilder.Name.Builder builderForValue)repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;-
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, internalGetMutableMapField, 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
-
bitField0_
private int bitField0_
-
names_
private java.util.List<GrpcKeyBuilder.Name> names_
-
namesBuilder_
private com.google.protobuf.RepeatedFieldBuilder<GrpcKeyBuilder.Name,GrpcKeyBuilder.Name.Builder,GrpcKeyBuilder.NameOrBuilder> namesBuilder_
-
extraKeys_
private GrpcKeyBuilder.ExtraKeys extraKeys_
-
extraKeysBuilder_
private com.google.protobuf.SingleFieldBuilder<GrpcKeyBuilder.ExtraKeys,GrpcKeyBuilder.ExtraKeys.Builder,GrpcKeyBuilder.ExtraKeysOrBuilder> extraKeysBuilder_
-
headers_
private java.util.List<NameMatcher> headers_
-
headersBuilder_
private com.google.protobuf.RepeatedFieldBuilder<NameMatcher,NameMatcher.Builder,NameMatcherOrBuilder> headersBuilder_
-
constantKeys_
private com.google.protobuf.MapField<java.lang.String,java.lang.String> constantKeys_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<GrpcKeyBuilder.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<GrpcKeyBuilder.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GrpcKeyBuilder.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public GrpcKeyBuilder.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GrpcKeyBuilder.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.GeneratedMessage.Builder<GrpcKeyBuilder.Builder>
-
getDefaultInstanceForType
public GrpcKeyBuilder getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GrpcKeyBuilder build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GrpcKeyBuilder buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(GrpcKeyBuilder result)
-
buildPartial0
private void buildPartial0(GrpcKeyBuilder result)
-
mergeFrom
public GrpcKeyBuilder.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GrpcKeyBuilder.Builder>
-
mergeFrom
public GrpcKeyBuilder.Builder mergeFrom(GrpcKeyBuilder other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GrpcKeyBuilder.Builder>
-
mergeFrom
public GrpcKeyBuilder.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GrpcKeyBuilder.Builder>- Throws:
java.io.IOException
-
ensureNamesIsMutable
private void ensureNamesIsMutable()
-
getNamesList
public java.util.List<GrpcKeyBuilder.Name> getNamesList()
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;- Specified by:
getNamesListin interfaceGrpcKeyBuilderOrBuilder
-
getNamesCount
public int getNamesCount()
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;- Specified by:
getNamesCountin interfaceGrpcKeyBuilderOrBuilder
-
getNames
public GrpcKeyBuilder.Name getNames(int index)
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;- Specified by:
getNamesin interfaceGrpcKeyBuilderOrBuilder
-
setNames
public GrpcKeyBuilder.Builder setNames(int index, GrpcKeyBuilder.Name value)
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
-
setNames
public GrpcKeyBuilder.Builder setNames(int index, GrpcKeyBuilder.Name.Builder builderForValue)
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
-
addNames
public GrpcKeyBuilder.Builder addNames(GrpcKeyBuilder.Name value)
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
-
addNames
public GrpcKeyBuilder.Builder addNames(int index, GrpcKeyBuilder.Name value)
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
-
addNames
public GrpcKeyBuilder.Builder addNames(GrpcKeyBuilder.Name.Builder builderForValue)
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
-
addNames
public GrpcKeyBuilder.Builder addNames(int index, GrpcKeyBuilder.Name.Builder builderForValue)
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
-
addAllNames
public GrpcKeyBuilder.Builder addAllNames(java.lang.Iterable<? extends GrpcKeyBuilder.Name> values)
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
-
clearNames
public GrpcKeyBuilder.Builder clearNames()
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
-
removeNames
public GrpcKeyBuilder.Builder removeNames(int index)
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
-
getNamesBuilder
public GrpcKeyBuilder.Name.Builder getNamesBuilder(int index)
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
-
getNamesOrBuilder
public GrpcKeyBuilder.NameOrBuilder getNamesOrBuilder(int index)
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;- Specified by:
getNamesOrBuilderin interfaceGrpcKeyBuilderOrBuilder
-
getNamesOrBuilderList
public java.util.List<? extends GrpcKeyBuilder.NameOrBuilder> getNamesOrBuilderList()
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;- Specified by:
getNamesOrBuilderListin interfaceGrpcKeyBuilderOrBuilder
-
addNamesBuilder
public GrpcKeyBuilder.Name.Builder addNamesBuilder()
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
-
addNamesBuilder
public GrpcKeyBuilder.Name.Builder addNamesBuilder(int index)
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
-
getNamesBuilderList
public java.util.List<GrpcKeyBuilder.Name.Builder> getNamesBuilderList()
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
-
getNamesFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<GrpcKeyBuilder.Name,GrpcKeyBuilder.Name.Builder,GrpcKeyBuilder.NameOrBuilder> getNamesFieldBuilder()
-
hasExtraKeys
public boolean hasExtraKeys()
.grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;- Specified by:
hasExtraKeysin interfaceGrpcKeyBuilderOrBuilder- Returns:
- Whether the extraKeys field is set.
-
getExtraKeys
public GrpcKeyBuilder.ExtraKeys getExtraKeys()
.grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;- Specified by:
getExtraKeysin interfaceGrpcKeyBuilderOrBuilder- Returns:
- The extraKeys.
-
setExtraKeys
public GrpcKeyBuilder.Builder setExtraKeys(GrpcKeyBuilder.ExtraKeys value)
.grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;
-
setExtraKeys
public GrpcKeyBuilder.Builder setExtraKeys(GrpcKeyBuilder.ExtraKeys.Builder builderForValue)
.grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;
-
mergeExtraKeys
public GrpcKeyBuilder.Builder mergeExtraKeys(GrpcKeyBuilder.ExtraKeys value)
.grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;
-
clearExtraKeys
public GrpcKeyBuilder.Builder clearExtraKeys()
.grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;
-
getExtraKeysBuilder
public GrpcKeyBuilder.ExtraKeys.Builder getExtraKeysBuilder()
.grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;
-
getExtraKeysOrBuilder
public GrpcKeyBuilder.ExtraKeysOrBuilder getExtraKeysOrBuilder()
.grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;- Specified by:
getExtraKeysOrBuilderin interfaceGrpcKeyBuilderOrBuilder
-
getExtraKeysFieldBuilder
private com.google.protobuf.SingleFieldBuilder<GrpcKeyBuilder.ExtraKeys,GrpcKeyBuilder.ExtraKeys.Builder,GrpcKeyBuilder.ExtraKeysOrBuilder> getExtraKeysFieldBuilder()
.grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;
-
ensureHeadersIsMutable
private void ensureHeadersIsMutable()
-
getHeadersList
public java.util.List<NameMatcher> getHeadersList()
Extract keys from all listed headers. For gRPC, it is an error to specify "required_match" on the NameMatcher protos.
repeated .grpc.lookup.v1.NameMatcher headers = 2;- Specified by:
getHeadersListin interfaceGrpcKeyBuilderOrBuilder
-
getHeadersCount
public int getHeadersCount()
Extract keys from all listed headers. For gRPC, it is an error to specify "required_match" on the NameMatcher protos.
repeated .grpc.lookup.v1.NameMatcher headers = 2;- Specified by:
getHeadersCountin interfaceGrpcKeyBuilderOrBuilder
-
getHeaders
public NameMatcher getHeaders(int index)
Extract keys from all listed headers. For gRPC, it is an error to specify "required_match" on the NameMatcher protos.
repeated .grpc.lookup.v1.NameMatcher headers = 2;- Specified by:
getHeadersin interfaceGrpcKeyBuilderOrBuilder
-
setHeaders
public GrpcKeyBuilder.Builder setHeaders(int index, NameMatcher value)
Extract keys from all listed headers. For gRPC, it is an error to specify "required_match" on the NameMatcher protos.
repeated .grpc.lookup.v1.NameMatcher headers = 2;
-
setHeaders
public GrpcKeyBuilder.Builder setHeaders(int index, NameMatcher.Builder builderForValue)
Extract keys from all listed headers. For gRPC, it is an error to specify "required_match" on the NameMatcher protos.
repeated .grpc.lookup.v1.NameMatcher headers = 2;
-
addHeaders
public GrpcKeyBuilder.Builder addHeaders(NameMatcher value)
Extract keys from all listed headers. For gRPC, it is an error to specify "required_match" on the NameMatcher protos.
repeated .grpc.lookup.v1.NameMatcher headers = 2;
-
addHeaders
public GrpcKeyBuilder.Builder addHeaders(int index, NameMatcher value)
Extract keys from all listed headers. For gRPC, it is an error to specify "required_match" on the NameMatcher protos.
repeated .grpc.lookup.v1.NameMatcher headers = 2;
-
addHeaders
public GrpcKeyBuilder.Builder addHeaders(NameMatcher.Builder builderForValue)
Extract keys from all listed headers. For gRPC, it is an error to specify "required_match" on the NameMatcher protos.
repeated .grpc.lookup.v1.NameMatcher headers = 2;
-
addHeaders
public GrpcKeyBuilder.Builder addHeaders(int index, NameMatcher.Builder builderForValue)
Extract keys from all listed headers. For gRPC, it is an error to specify "required_match" on the NameMatcher protos.
repeated .grpc.lookup.v1.NameMatcher headers = 2;
-
addAllHeaders
public GrpcKeyBuilder.Builder addAllHeaders(java.lang.Iterable<? extends NameMatcher> values)
Extract keys from all listed headers. For gRPC, it is an error to specify "required_match" on the NameMatcher protos.
repeated .grpc.lookup.v1.NameMatcher headers = 2;
-
clearHeaders
public GrpcKeyBuilder.Builder clearHeaders()
Extract keys from all listed headers. For gRPC, it is an error to specify "required_match" on the NameMatcher protos.
repeated .grpc.lookup.v1.NameMatcher headers = 2;
-
removeHeaders
public GrpcKeyBuilder.Builder removeHeaders(int index)
Extract keys from all listed headers. For gRPC, it is an error to specify "required_match" on the NameMatcher protos.
repeated .grpc.lookup.v1.NameMatcher headers = 2;
-
getHeadersBuilder
public NameMatcher.Builder getHeadersBuilder(int index)
Extract keys from all listed headers. For gRPC, it is an error to specify "required_match" on the NameMatcher protos.
repeated .grpc.lookup.v1.NameMatcher headers = 2;
-
getHeadersOrBuilder
public NameMatcherOrBuilder getHeadersOrBuilder(int index)
Extract keys from all listed headers. For gRPC, it is an error to specify "required_match" on the NameMatcher protos.
repeated .grpc.lookup.v1.NameMatcher headers = 2;- Specified by:
getHeadersOrBuilderin interfaceGrpcKeyBuilderOrBuilder
-
getHeadersOrBuilderList
public java.util.List<? extends NameMatcherOrBuilder> getHeadersOrBuilderList()
Extract keys from all listed headers. For gRPC, it is an error to specify "required_match" on the NameMatcher protos.
repeated .grpc.lookup.v1.NameMatcher headers = 2;- Specified by:
getHeadersOrBuilderListin interfaceGrpcKeyBuilderOrBuilder
-
addHeadersBuilder
public NameMatcher.Builder addHeadersBuilder()
Extract keys from all listed headers. For gRPC, it is an error to specify "required_match" on the NameMatcher protos.
repeated .grpc.lookup.v1.NameMatcher headers = 2;
-
addHeadersBuilder
public NameMatcher.Builder addHeadersBuilder(int index)
Extract keys from all listed headers. For gRPC, it is an error to specify "required_match" on the NameMatcher protos.
repeated .grpc.lookup.v1.NameMatcher headers = 2;
-
getHeadersBuilderList
public java.util.List<NameMatcher.Builder> getHeadersBuilderList()
Extract keys from all listed headers. For gRPC, it is an error to specify "required_match" on the NameMatcher protos.
repeated .grpc.lookup.v1.NameMatcher headers = 2;
-
getHeadersFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<NameMatcher,NameMatcher.Builder,NameMatcherOrBuilder> getHeadersFieldBuilder()
-
internalGetConstantKeys
private com.google.protobuf.MapField<java.lang.String,java.lang.String> internalGetConstantKeys()
-
internalGetMutableConstantKeys
private com.google.protobuf.MapField<java.lang.String,java.lang.String> internalGetMutableConstantKeys()
-
getConstantKeysCount
public int getConstantKeysCount()
Description copied from interface:GrpcKeyBuilderOrBuilderYou can optionally set one or more specific key/value pairs to be added to the key_map. This can be useful to identify which builder built the key, for example if you are suppressing the actual method, but need to separately cache and request all the matched methods.
map<string, string> constant_keys = 4;- Specified by:
getConstantKeysCountin interfaceGrpcKeyBuilderOrBuilder
-
containsConstantKeys
public boolean containsConstantKeys(java.lang.String key)
You can optionally set one or more specific key/value pairs to be added to the key_map. This can be useful to identify which builder built the key, for example if you are suppressing the actual method, but need to separately cache and request all the matched methods.
map<string, string> constant_keys = 4;- Specified by:
containsConstantKeysin interfaceGrpcKeyBuilderOrBuilder
-
getConstantKeys
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getConstantKeys()
Deprecated.UsegetConstantKeysMap()instead.- Specified by:
getConstantKeysin interfaceGrpcKeyBuilderOrBuilder
-
getConstantKeysMap
public java.util.Map<java.lang.String,java.lang.String> getConstantKeysMap()
You can optionally set one or more specific key/value pairs to be added to the key_map. This can be useful to identify which builder built the key, for example if you are suppressing the actual method, but need to separately cache and request all the matched methods.
map<string, string> constant_keys = 4;- Specified by:
getConstantKeysMapin interfaceGrpcKeyBuilderOrBuilder
-
getConstantKeysOrDefault
public java.lang.String getConstantKeysOrDefault(java.lang.String key, java.lang.String defaultValue)You can optionally set one or more specific key/value pairs to be added to the key_map. This can be useful to identify which builder built the key, for example if you are suppressing the actual method, but need to separately cache and request all the matched methods.
map<string, string> constant_keys = 4;- Specified by:
getConstantKeysOrDefaultin interfaceGrpcKeyBuilderOrBuilder
-
getConstantKeysOrThrow
public java.lang.String getConstantKeysOrThrow(java.lang.String key)
You can optionally set one or more specific key/value pairs to be added to the key_map. This can be useful to identify which builder built the key, for example if you are suppressing the actual method, but need to separately cache and request all the matched methods.
map<string, string> constant_keys = 4;- Specified by:
getConstantKeysOrThrowin interfaceGrpcKeyBuilderOrBuilder
-
clearConstantKeys
public GrpcKeyBuilder.Builder clearConstantKeys()
-
removeConstantKeys
public GrpcKeyBuilder.Builder removeConstantKeys(java.lang.String key)
You can optionally set one or more specific key/value pairs to be added to the key_map. This can be useful to identify which builder built the key, for example if you are suppressing the actual method, but need to separately cache and request all the matched methods.
map<string, string> constant_keys = 4;
-
getMutableConstantKeys
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableConstantKeys()
Deprecated.Use alternate mutation accessors instead.
-
putConstantKeys
public GrpcKeyBuilder.Builder putConstantKeys(java.lang.String key, java.lang.String value)
You can optionally set one or more specific key/value pairs to be added to the key_map. This can be useful to identify which builder built the key, for example if you are suppressing the actual method, but need to separately cache and request all the matched methods.
map<string, string> constant_keys = 4;
-
putAllConstantKeys
public GrpcKeyBuilder.Builder putAllConstantKeys(java.util.Map<java.lang.String,java.lang.String> values)
You can optionally set one or more specific key/value pairs to be added to the key_map. This can be useful to identify which builder built the key, for example if you are suppressing the actual method, but need to separately cache and request all the matched methods.
map<string, string> constant_keys = 4;
-
-