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 int
bitField0_
private com.google.protobuf.MapField<java.lang.String,java.lang.String>
constantKeys_
private GrpcKeyBuilder.ExtraKeys
extraKeys_
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.Builder
addAllHeaders(java.lang.Iterable<? extends NameMatcher> values)
Extract keys from all listed headers.GrpcKeyBuilder.Builder
addAllNames(java.lang.Iterable<? extends GrpcKeyBuilder.Name> values)
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
GrpcKeyBuilder.Builder
addHeaders(int index, NameMatcher value)
Extract keys from all listed headers.GrpcKeyBuilder.Builder
addHeaders(int index, NameMatcher.Builder builderForValue)
Extract keys from all listed headers.GrpcKeyBuilder.Builder
addHeaders(NameMatcher value)
Extract keys from all listed headers.GrpcKeyBuilder.Builder
addHeaders(NameMatcher.Builder builderForValue)
Extract keys from all listed headers.NameMatcher.Builder
addHeadersBuilder()
Extract keys from all listed headers.NameMatcher.Builder
addHeadersBuilder(int index)
Extract keys from all listed headers.GrpcKeyBuilder.Builder
addNames(int index, GrpcKeyBuilder.Name value)
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
GrpcKeyBuilder.Builder
addNames(int index, GrpcKeyBuilder.Name.Builder builderForValue)
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
GrpcKeyBuilder.Builder
addNames(GrpcKeyBuilder.Name value)
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
GrpcKeyBuilder.Builder
addNames(GrpcKeyBuilder.Name.Builder builderForValue)
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
GrpcKeyBuilder.Name.Builder
addNamesBuilder()
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
GrpcKeyBuilder.Name.Builder
addNamesBuilder(int index)
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
GrpcKeyBuilder
build()
GrpcKeyBuilder
buildPartial()
private void
buildPartial0(GrpcKeyBuilder result)
private void
buildPartialRepeatedFields(GrpcKeyBuilder result)
GrpcKeyBuilder.Builder
clear()
GrpcKeyBuilder.Builder
clearConstantKeys()
GrpcKeyBuilder.Builder
clearExtraKeys()
.grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;
GrpcKeyBuilder.Builder
clearHeaders()
Extract keys from all listed headers.GrpcKeyBuilder.Builder
clearNames()
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
boolean
containsConstantKeys(java.lang.String key)
You can optionally set one or more specific key/value pairs to be added to the key_map.private void
ensureHeadersIsMutable()
private void
ensureNamesIsMutable()
java.util.Map<java.lang.String,java.lang.String>
getConstantKeys()
Deprecated.int
getConstantKeysCount()
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.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.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.GrpcKeyBuilder
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
GrpcKeyBuilder.ExtraKeys
getExtraKeys()
.grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;
GrpcKeyBuilder.ExtraKeys.Builder
getExtraKeysBuilder()
.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.ExtraKeysOrBuilder
getExtraKeysOrBuilder()
.grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;
NameMatcher
getHeaders(int index)
Extract keys from all listed headers.NameMatcher.Builder
getHeadersBuilder(int index)
Extract keys from all listed headers.java.util.List<NameMatcher.Builder>
getHeadersBuilderList()
Extract keys from all listed headers.int
getHeadersCount()
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.NameMatcherOrBuilder
getHeadersOrBuilder(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.Name
getNames(int index)
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
GrpcKeyBuilder.Name.Builder
getNamesBuilder(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;
int
getNamesCount()
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.NameOrBuilder
getNamesOrBuilder(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;
boolean
hasExtraKeys()
.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.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMapFieldReflection(int number)
private com.google.protobuf.MapField<java.lang.String,java.lang.String>
internalGetMutableConstantKeys()
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMutableMapFieldReflection(int number)
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
GrpcKeyBuilder.Builder
mergeExtraKeys(GrpcKeyBuilder.ExtraKeys value)
.grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;
GrpcKeyBuilder.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GrpcKeyBuilder.Builder
mergeFrom(com.google.protobuf.Message other)
GrpcKeyBuilder.Builder
mergeFrom(GrpcKeyBuilder other)
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.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.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.GrpcKeyBuilder.Builder
removeHeaders(int index)
Extract keys from all listed headers.GrpcKeyBuilder.Builder
removeNames(int index)
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
GrpcKeyBuilder.Builder
setExtraKeys(GrpcKeyBuilder.ExtraKeys value)
.grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;
GrpcKeyBuilder.Builder
setExtraKeys(GrpcKeyBuilder.ExtraKeys.Builder builderForValue)
.grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;
GrpcKeyBuilder.Builder
setHeaders(int index, NameMatcher value)
Extract keys from all listed headers.GrpcKeyBuilder.Builder
setHeaders(int index, NameMatcher.Builder builderForValue)
Extract keys from all listed headers.GrpcKeyBuilder.Builder
setNames(int index, GrpcKeyBuilder.Name value)
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
GrpcKeyBuilder.Builder
setNames(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:
internalGetMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<GrpcKeyBuilder.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<GrpcKeyBuilder.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<GrpcKeyBuilder.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public GrpcKeyBuilder.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<GrpcKeyBuilder.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<GrpcKeyBuilder.Builder>
-
getDefaultInstanceForType
public GrpcKeyBuilder getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GrpcKeyBuilder build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GrpcKeyBuilder buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GrpcKeyBuilder.Builder>
-
mergeFrom
public GrpcKeyBuilder.Builder mergeFrom(GrpcKeyBuilder other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getNamesList
in interfaceGrpcKeyBuilderOrBuilder
-
getNamesCount
public int getNamesCount()
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
- Specified by:
getNamesCount
in interfaceGrpcKeyBuilderOrBuilder
-
getNames
public GrpcKeyBuilder.Name getNames(int index)
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
- Specified by:
getNames
in 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:
getNamesOrBuilder
in interfaceGrpcKeyBuilderOrBuilder
-
getNamesOrBuilderList
public java.util.List<? extends GrpcKeyBuilder.NameOrBuilder> getNamesOrBuilderList()
repeated .grpc.lookup.v1.GrpcKeyBuilder.Name names = 1;
- Specified by:
getNamesOrBuilderList
in 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:
hasExtraKeys
in interfaceGrpcKeyBuilderOrBuilder
- Returns:
- Whether the extraKeys field is set.
-
getExtraKeys
public GrpcKeyBuilder.ExtraKeys getExtraKeys()
.grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys extra_keys = 3;
- Specified by:
getExtraKeys
in 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:
getExtraKeysOrBuilder
in 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:
getHeadersList
in 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:
getHeadersCount
in 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:
getHeaders
in 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:
getHeadersOrBuilder
in 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:
getHeadersOrBuilderList
in 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:GrpcKeyBuilderOrBuilder
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:
getConstantKeysCount
in 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:
containsConstantKeys
in interfaceGrpcKeyBuilderOrBuilder
-
getConstantKeys
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getConstantKeys()
Deprecated.UsegetConstantKeysMap()
instead.- Specified by:
getConstantKeys
in 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:
getConstantKeysMap
in 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:
getConstantKeysOrDefault
in 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:
getConstantKeysOrThrow
in 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;
-
-