Class CredentialsFileCredentialProvider.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CredentialsFileCredentialProvider.Builder>
io.envoyproxy.envoy.extensions.common.aws.v3.CredentialsFileCredentialProvider.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CredentialsFileCredentialProviderOrBuilder,Cloneable
- Enclosing class:
- CredentialsFileCredentialProvider
public static final class CredentialsFileCredentialProvider.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<CredentialsFileCredentialProvider.Builder>
implements CredentialsFileCredentialProviderOrBuilder
Protobuf type
envoy.extensions.common.aws.v3.CredentialsFileCredentialProvider-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Data source from which to retrieve AWS credentials When using this data source, if a ``watched_directory`` is provided, the credential file will be re-read when a file move is detected.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The profile within the credentials_file data source.clone()Data source from which to retrieve AWS credentials When using this data source, if a ``watched_directory`` is provided, the credential file will be re-read when a file move is detected.Data source from which to retrieve AWS credentials When using this data source, if a ``watched_directory`` is provided, the credential file will be re-read when a file move is detected.Data source from which to retrieve AWS credentials When using this data source, if a ``watched_directory`` is provided, the credential file will be re-read when a file move is detected.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe profile within the credentials_file data source.com.google.protobuf.ByteStringThe profile within the credentials_file data source.booleanData source from which to retrieve AWS credentials When using this data source, if a ``watched_directory`` is provided, the credential file will be re-read when a file move is detected.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanData source from which to retrieve AWS credentials When using this data source, if a ``watched_directory`` is provided, the credential file will be re-read when a file move is detected.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Data source from which to retrieve AWS credentials When using this data source, if a ``watched_directory`` is provided, the credential file will be re-read when a file move is detected.setCredentialsDataSource(DataSource.Builder builderForValue) Data source from which to retrieve AWS credentials When using this data source, if a ``watched_directory`` is provided, the credential file will be re-read when a file move is detected.setProfile(String value) The profile within the credentials_file data source.setProfileBytes(com.google.protobuf.ByteString value) The profile within the credentials_file data source.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(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<CredentialsFileCredentialProvider.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<CredentialsFileCredentialProvider.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<CredentialsFileCredentialProvider.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<CredentialsFileCredentialProvider.Builder>
-
setField
public CredentialsFileCredentialProvider.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<CredentialsFileCredentialProvider.Builder>
-
clearField
public CredentialsFileCredentialProvider.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CredentialsFileCredentialProvider.Builder>
-
clearOneof
public CredentialsFileCredentialProvider.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CredentialsFileCredentialProvider.Builder>
-
setRepeatedField
public CredentialsFileCredentialProvider.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<CredentialsFileCredentialProvider.Builder>
-
addRepeatedField
public CredentialsFileCredentialProvider.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<CredentialsFileCredentialProvider.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CredentialsFileCredentialProvider.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CredentialsFileCredentialProvider.Builder>
-
mergeFrom
public CredentialsFileCredentialProvider.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<CredentialsFileCredentialProvider.Builder>- Throws:
IOException
-
hasCredentialsDataSource
public boolean hasCredentialsDataSource()Data source from which to retrieve AWS credentials When using this data source, if a ``watched_directory`` is provided, the credential file will be re-read when a file move is detected. See :ref:`watched_directory <envoy_v3_api_msg_config.core.v3.DataSource>` for more information about the ``watched_directory`` field.
.envoy.config.core.v3.DataSource credentials_data_source = 1 [(.udpa.annotations.sensitive) = true];- Specified by:
hasCredentialsDataSourcein interfaceCredentialsFileCredentialProviderOrBuilder- Returns:
- Whether the credentialsDataSource field is set.
-
getCredentialsDataSource
Data source from which to retrieve AWS credentials When using this data source, if a ``watched_directory`` is provided, the credential file will be re-read when a file move is detected. See :ref:`watched_directory <envoy_v3_api_msg_config.core.v3.DataSource>` for more information about the ``watched_directory`` field.
.envoy.config.core.v3.DataSource credentials_data_source = 1 [(.udpa.annotations.sensitive) = true];- Specified by:
getCredentialsDataSourcein interfaceCredentialsFileCredentialProviderOrBuilder- Returns:
- The credentialsDataSource.
-
setCredentialsDataSource
Data source from which to retrieve AWS credentials When using this data source, if a ``watched_directory`` is provided, the credential file will be re-read when a file move is detected. See :ref:`watched_directory <envoy_v3_api_msg_config.core.v3.DataSource>` for more information about the ``watched_directory`` field.
.envoy.config.core.v3.DataSource credentials_data_source = 1 [(.udpa.annotations.sensitive) = true]; -
setCredentialsDataSource
public CredentialsFileCredentialProvider.Builder setCredentialsDataSource(DataSource.Builder builderForValue) Data source from which to retrieve AWS credentials When using this data source, if a ``watched_directory`` is provided, the credential file will be re-read when a file move is detected. See :ref:`watched_directory <envoy_v3_api_msg_config.core.v3.DataSource>` for more information about the ``watched_directory`` field.
.envoy.config.core.v3.DataSource credentials_data_source = 1 [(.udpa.annotations.sensitive) = true]; -
mergeCredentialsDataSource
Data source from which to retrieve AWS credentials When using this data source, if a ``watched_directory`` is provided, the credential file will be re-read when a file move is detected. See :ref:`watched_directory <envoy_v3_api_msg_config.core.v3.DataSource>` for more information about the ``watched_directory`` field.
.envoy.config.core.v3.DataSource credentials_data_source = 1 [(.udpa.annotations.sensitive) = true]; -
clearCredentialsDataSource
Data source from which to retrieve AWS credentials When using this data source, if a ``watched_directory`` is provided, the credential file will be re-read when a file move is detected. See :ref:`watched_directory <envoy_v3_api_msg_config.core.v3.DataSource>` for more information about the ``watched_directory`` field.
.envoy.config.core.v3.DataSource credentials_data_source = 1 [(.udpa.annotations.sensitive) = true]; -
getCredentialsDataSourceBuilder
Data source from which to retrieve AWS credentials When using this data source, if a ``watched_directory`` is provided, the credential file will be re-read when a file move is detected. See :ref:`watched_directory <envoy_v3_api_msg_config.core.v3.DataSource>` for more information about the ``watched_directory`` field.
.envoy.config.core.v3.DataSource credentials_data_source = 1 [(.udpa.annotations.sensitive) = true]; -
getCredentialsDataSourceOrBuilder
Data source from which to retrieve AWS credentials When using this data source, if a ``watched_directory`` is provided, the credential file will be re-read when a file move is detected. See :ref:`watched_directory <envoy_v3_api_msg_config.core.v3.DataSource>` for more information about the ``watched_directory`` field.
.envoy.config.core.v3.DataSource credentials_data_source = 1 [(.udpa.annotations.sensitive) = true];- Specified by:
getCredentialsDataSourceOrBuilderin interfaceCredentialsFileCredentialProviderOrBuilder
-
getProfile
The profile within the credentials_file data source. If not provided, the default profile will be used.
string profile = 2;- Specified by:
getProfilein interfaceCredentialsFileCredentialProviderOrBuilder- Returns:
- The profile.
-
getProfileBytes
public com.google.protobuf.ByteString getProfileBytes()The profile within the credentials_file data source. If not provided, the default profile will be used.
string profile = 2;- Specified by:
getProfileBytesin interfaceCredentialsFileCredentialProviderOrBuilder- Returns:
- The bytes for profile.
-
setProfile
The profile within the credentials_file data source. If not provided, the default profile will be used.
string profile = 2;- Parameters:
value- The profile to set.- Returns:
- This builder for chaining.
-
clearProfile
The profile within the credentials_file data source. If not provided, the default profile will be used.
string profile = 2;- Returns:
- This builder for chaining.
-
setProfileBytes
public CredentialsFileCredentialProvider.Builder setProfileBytes(com.google.protobuf.ByteString value) The profile within the credentials_file data source. If not provided, the default profile will be used.
string profile = 2;- Parameters:
value- The bytes for profile to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CredentialsFileCredentialProvider.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CredentialsFileCredentialProvider.Builder>
-
mergeUnknownFields
public final CredentialsFileCredentialProvider.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CredentialsFileCredentialProvider.Builder>
-