Class CredentialsFileCredentialProvider

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.extensions.common.aws.v3.CredentialsFileCredentialProvider
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CredentialsFileCredentialProviderOrBuilder, Serializable

public final class CredentialsFileCredentialProvider extends com.google.protobuf.GeneratedMessageV3 implements CredentialsFileCredentialProviderOrBuilder
Protobuf type envoy.extensions.common.aws.v3.CredentialsFileCredentialProvider
See Also:
  • Field Details

    • CREDENTIALS_DATA_SOURCE_FIELD_NUMBER

      public static final int CREDENTIALS_DATA_SOURCE_FIELD_NUMBER
      See Also:
    • PROFILE_FIELD_NUMBER

      public static final int PROFILE_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static CredentialsFileCredentialProvider parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CredentialsFileCredentialProvider parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CredentialsFileCredentialProvider parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CredentialsFileCredentialProvider parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CredentialsFileCredentialProvider parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CredentialsFileCredentialProvider parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CredentialsFileCredentialProvider parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CredentialsFileCredentialProvider parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CredentialsFileCredentialProvider parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CredentialsFileCredentialProvider parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CredentialsFileCredentialProvider parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CredentialsFileCredentialProvider parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static CredentialsFileCredentialProvider.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected CredentialsFileCredentialProvider.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static CredentialsFileCredentialProvider getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CredentialsFileCredentialProvider> parser()
    • getParserForType

      public com.google.protobuf.Parser<CredentialsFileCredentialProvider> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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