Class FileBasedMetadataConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<FileBasedMetadataConfig.Builder>
io.envoyproxy.envoy.config.grpc_credential.v3.FileBasedMetadataConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,FileBasedMetadataConfigOrBuilder,Cloneable
- Enclosing class:
- FileBasedMetadataConfig
public static final class FileBasedMetadataConfig.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<FileBasedMetadataConfig.Builder>
implements FileBasedMetadataConfigOrBuilder
Protobuf type
envoy.config.grpc_credential.v3.FileBasedMetadataConfig-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Metadata header key to use for sending the secret data if no header key is set, "authorization" header will be usedPrefix to prepend to the secret in the metadata header if no prefix is set, the default is to use no prefixclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Location or inline data of secret to use for authentication of the Google gRPC connection this secret will be attached to a header of the gRPC connectionclone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorMetadata header key to use for sending the secret data if no header key is set, "authorization" header will be usedcom.google.protobuf.ByteStringMetadata header key to use for sending the secret data if no header key is set, "authorization" header will be usedPrefix to prepend to the secret in the metadata header if no prefix is set, the default is to use no prefixcom.google.protobuf.ByteStringPrefix to prepend to the secret in the metadata header if no prefix is set, the default is to use no prefixLocation or inline data of secret to use for authentication of the Google gRPC connection this secret will be attached to a header of the gRPC connectionLocation or inline data of secret to use for authentication of the Google gRPC connection this secret will be attached to a header of the gRPC connectionLocation or inline data of secret to use for authentication of the Google gRPC connection this secret will be attached to a header of the gRPC connectionbooleanLocation or inline data of secret to use for authentication of the Google gRPC connection this secret will be attached to a header of the gRPC connectionprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(FileBasedMetadataConfig other) mergeSecretData(DataSource value) Location or inline data of secret to use for authentication of the Google gRPC connection this secret will be attached to a header of the gRPC connectionmergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setHeaderKey(String value) Metadata header key to use for sending the secret data if no header key is set, "authorization" header will be usedsetHeaderKeyBytes(com.google.protobuf.ByteString value) Metadata header key to use for sending the secret data if no header key is set, "authorization" header will be usedsetHeaderPrefix(String value) Prefix to prepend to the secret in the metadata header if no prefix is set, the default is to use no prefixsetHeaderPrefixBytes(com.google.protobuf.ByteString value) Prefix to prepend to the secret in the metadata header if no prefix is set, the default is to use no prefixsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSecretData(DataSource value) Location or inline data of secret to use for authentication of the Google gRPC connection this secret will be attached to a header of the gRPC connectionsetSecretData(DataSource.Builder builderForValue) Location or inline data of secret to use for authentication of the Google gRPC connection this secret will be attached to a header of the gRPC connectionsetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<FileBasedMetadataConfig.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<FileBasedMetadataConfig.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<FileBasedMetadataConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<FileBasedMetadataConfig.Builder>
-
setField
public FileBasedMetadataConfig.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<FileBasedMetadataConfig.Builder>
-
clearField
public FileBasedMetadataConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FileBasedMetadataConfig.Builder>
-
clearOneof
public FileBasedMetadataConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<FileBasedMetadataConfig.Builder>
-
setRepeatedField
public FileBasedMetadataConfig.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<FileBasedMetadataConfig.Builder>
-
addRepeatedField
public FileBasedMetadataConfig.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<FileBasedMetadataConfig.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FileBasedMetadataConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<FileBasedMetadataConfig.Builder>
-
mergeFrom
public FileBasedMetadataConfig.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<FileBasedMetadataConfig.Builder>- Throws:
IOException
-
hasSecretData
public boolean hasSecretData()Location or inline data of secret to use for authentication of the Google gRPC connection this secret will be attached to a header of the gRPC connection
.envoy.config.core.v3.DataSource secret_data = 1 [(.udpa.annotations.sensitive) = true];- Specified by:
hasSecretDatain interfaceFileBasedMetadataConfigOrBuilder- Returns:
- Whether the secretData field is set.
-
getSecretData
Location or inline data of secret to use for authentication of the Google gRPC connection this secret will be attached to a header of the gRPC connection
.envoy.config.core.v3.DataSource secret_data = 1 [(.udpa.annotations.sensitive) = true];- Specified by:
getSecretDatain interfaceFileBasedMetadataConfigOrBuilder- Returns:
- The secretData.
-
setSecretData
Location or inline data of secret to use for authentication of the Google gRPC connection this secret will be attached to a header of the gRPC connection
.envoy.config.core.v3.DataSource secret_data = 1 [(.udpa.annotations.sensitive) = true]; -
setSecretData
Location or inline data of secret to use for authentication of the Google gRPC connection this secret will be attached to a header of the gRPC connection
.envoy.config.core.v3.DataSource secret_data = 1 [(.udpa.annotations.sensitive) = true]; -
mergeSecretData
Location or inline data of secret to use for authentication of the Google gRPC connection this secret will be attached to a header of the gRPC connection
.envoy.config.core.v3.DataSource secret_data = 1 [(.udpa.annotations.sensitive) = true]; -
clearSecretData
Location or inline data of secret to use for authentication of the Google gRPC connection this secret will be attached to a header of the gRPC connection
.envoy.config.core.v3.DataSource secret_data = 1 [(.udpa.annotations.sensitive) = true]; -
getSecretDataBuilder
Location or inline data of secret to use for authentication of the Google gRPC connection this secret will be attached to a header of the gRPC connection
.envoy.config.core.v3.DataSource secret_data = 1 [(.udpa.annotations.sensitive) = true]; -
getSecretDataOrBuilder
Location or inline data of secret to use for authentication of the Google gRPC connection this secret will be attached to a header of the gRPC connection
.envoy.config.core.v3.DataSource secret_data = 1 [(.udpa.annotations.sensitive) = true];- Specified by:
getSecretDataOrBuilderin interfaceFileBasedMetadataConfigOrBuilder
-
getHeaderKey
Metadata header key to use for sending the secret data if no header key is set, "authorization" header will be used
string header_key = 2;- Specified by:
getHeaderKeyin interfaceFileBasedMetadataConfigOrBuilder- Returns:
- The headerKey.
-
getHeaderKeyBytes
public com.google.protobuf.ByteString getHeaderKeyBytes()Metadata header key to use for sending the secret data if no header key is set, "authorization" header will be used
string header_key = 2;- Specified by:
getHeaderKeyBytesin interfaceFileBasedMetadataConfigOrBuilder- Returns:
- The bytes for headerKey.
-
setHeaderKey
Metadata header key to use for sending the secret data if no header key is set, "authorization" header will be used
string header_key = 2;- Parameters:
value- The headerKey to set.- Returns:
- This builder for chaining.
-
clearHeaderKey
Metadata header key to use for sending the secret data if no header key is set, "authorization" header will be used
string header_key = 2;- Returns:
- This builder for chaining.
-
setHeaderKeyBytes
Metadata header key to use for sending the secret data if no header key is set, "authorization" header will be used
string header_key = 2;- Parameters:
value- The bytes for headerKey to set.- Returns:
- This builder for chaining.
-
getHeaderPrefix
Prefix to prepend to the secret in the metadata header if no prefix is set, the default is to use no prefix
string header_prefix = 3;- Specified by:
getHeaderPrefixin interfaceFileBasedMetadataConfigOrBuilder- Returns:
- The headerPrefix.
-
getHeaderPrefixBytes
public com.google.protobuf.ByteString getHeaderPrefixBytes()Prefix to prepend to the secret in the metadata header if no prefix is set, the default is to use no prefix
string header_prefix = 3;- Specified by:
getHeaderPrefixBytesin interfaceFileBasedMetadataConfigOrBuilder- Returns:
- The bytes for headerPrefix.
-
setHeaderPrefix
Prefix to prepend to the secret in the metadata header if no prefix is set, the default is to use no prefix
string header_prefix = 3;- Parameters:
value- The headerPrefix to set.- Returns:
- This builder for chaining.
-
clearHeaderPrefix
Prefix to prepend to the secret in the metadata header if no prefix is set, the default is to use no prefix
string header_prefix = 3;- Returns:
- This builder for chaining.
-
setHeaderPrefixBytes
Prefix to prepend to the secret in the metadata header if no prefix is set, the default is to use no prefix
string header_prefix = 3;- Parameters:
value- The bytes for headerPrefix to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final FileBasedMetadataConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FileBasedMetadataConfig.Builder>
-
mergeUnknownFields
public final FileBasedMetadataConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FileBasedMetadataConfig.Builder>
-