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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CredentialsFileCredentialProvider.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<CredentialsFileCredentialProvider.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CredentialsFileCredentialProvider.Builder>
    • getDefaultInstanceForType

      public CredentialsFileCredentialProvider getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CredentialsFileCredentialProvider buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<CredentialsFileCredentialProvider.Builder>
    • setField

      public CredentialsFileCredentialProvider.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<CredentialsFileCredentialProvider.Builder>
    • clearField

      public CredentialsFileCredentialProvider.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CredentialsFileCredentialProvider.Builder>
    • clearOneof

      public CredentialsFileCredentialProvider.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CredentialsFileCredentialProvider.Builder>
    • setRepeatedField

      public CredentialsFileCredentialProvider.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CredentialsFileCredentialProvider.Builder>
    • addRepeatedField

      public CredentialsFileCredentialProvider.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CredentialsFileCredentialProvider.Builder>
    • mergeFrom

      public CredentialsFileCredentialProvider.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CredentialsFileCredentialProvider.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasCredentialsDataSource in interface CredentialsFileCredentialProviderOrBuilder
      Returns:
      Whether the credentialsDataSource field is set.
    • getCredentialsDataSource

      public DataSource 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:
      getCredentialsDataSource in interface CredentialsFileCredentialProviderOrBuilder
      Returns:
      The credentialsDataSource.
    • setCredentialsDataSource

      public CredentialsFileCredentialProvider.Builder setCredentialsDataSource(DataSource value)
       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

      public CredentialsFileCredentialProvider.Builder mergeCredentialsDataSource(DataSource value)
       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

      public CredentialsFileCredentialProvider.Builder 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

      public DataSource.Builder 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

      public DataSourceOrBuilder 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:
      getCredentialsDataSourceOrBuilder in interface CredentialsFileCredentialProviderOrBuilder
    • getProfile

      public String getProfile()
       The profile within the credentials_file data source. If not provided, the default profile will be used.
       
      string profile = 2;
      Specified by:
      getProfile in interface CredentialsFileCredentialProviderOrBuilder
      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:
      getProfileBytes in interface CredentialsFileCredentialProviderOrBuilder
      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:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CredentialsFileCredentialProvider.Builder>
    • mergeUnknownFields

      public final CredentialsFileCredentialProvider.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CredentialsFileCredentialProvider.Builder>