Class DeployedIndexAuthConfig.AuthProvider.Builder

    • Method Detail

      • 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<DeployedIndexAuthConfig.AuthProvider.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<DeployedIndexAuthConfig.AuthProvider.Builder>
      • getDefaultInstanceForType

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

        public DeployedIndexAuthConfig.AuthProvider build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public DeployedIndexAuthConfig.AuthProvider buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DeployedIndexAuthConfig.AuthProvider.Builder>
      • getAudiencesList

        public com.google.protobuf.ProtocolStringList getAudiencesList()
         The list of JWT
         [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
         that are allowed to access. A JWT containing any of these audiences will
         be accepted.
         
        repeated string audiences = 1;
        Specified by:
        getAudiencesList in interface DeployedIndexAuthConfig.AuthProviderOrBuilder
        Returns:
        A list containing the audiences.
      • getAudiencesCount

        public int getAudiencesCount()
         The list of JWT
         [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
         that are allowed to access. A JWT containing any of these audiences will
         be accepted.
         
        repeated string audiences = 1;
        Specified by:
        getAudiencesCount in interface DeployedIndexAuthConfig.AuthProviderOrBuilder
        Returns:
        The count of audiences.
      • getAudiences

        public String getAudiences​(int index)
         The list of JWT
         [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
         that are allowed to access. A JWT containing any of these audiences will
         be accepted.
         
        repeated string audiences = 1;
        Specified by:
        getAudiences in interface DeployedIndexAuthConfig.AuthProviderOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The audiences at the given index.
      • getAudiencesBytes

        public com.google.protobuf.ByteString getAudiencesBytes​(int index)
         The list of JWT
         [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
         that are allowed to access. A JWT containing any of these audiences will
         be accepted.
         
        repeated string audiences = 1;
        Specified by:
        getAudiencesBytes in interface DeployedIndexAuthConfig.AuthProviderOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the audiences at the given index.
      • setAudiences

        public DeployedIndexAuthConfig.AuthProvider.Builder setAudiences​(int index,
                                                                         String value)
         The list of JWT
         [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
         that are allowed to access. A JWT containing any of these audiences will
         be accepted.
         
        repeated string audiences = 1;
        Parameters:
        index - The index to set the value at.
        value - The audiences to set.
        Returns:
        This builder for chaining.
      • addAudiences

        public DeployedIndexAuthConfig.AuthProvider.Builder addAudiences​(String value)
         The list of JWT
         [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
         that are allowed to access. A JWT containing any of these audiences will
         be accepted.
         
        repeated string audiences = 1;
        Parameters:
        value - The audiences to add.
        Returns:
        This builder for chaining.
      • addAllAudiences

        public DeployedIndexAuthConfig.AuthProvider.Builder addAllAudiences​(Iterable<String> values)
         The list of JWT
         [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
         that are allowed to access. A JWT containing any of these audiences will
         be accepted.
         
        repeated string audiences = 1;
        Parameters:
        values - The audiences to add.
        Returns:
        This builder for chaining.
      • clearAudiences

        public DeployedIndexAuthConfig.AuthProvider.Builder clearAudiences()
         The list of JWT
         [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
         that are allowed to access. A JWT containing any of these audiences will
         be accepted.
         
        repeated string audiences = 1;
        Returns:
        This builder for chaining.
      • addAudiencesBytes

        public DeployedIndexAuthConfig.AuthProvider.Builder addAudiencesBytes​(com.google.protobuf.ByteString value)
         The list of JWT
         [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).
         that are allowed to access. A JWT containing any of these audiences will
         be accepted.
         
        repeated string audiences = 1;
        Parameters:
        value - The bytes of the audiences to add.
        Returns:
        This builder for chaining.
      • getAllowedIssuersList

        public com.google.protobuf.ProtocolStringList getAllowedIssuersList()
         A list of allowed JWT issuers. Each entry must be a valid Google
         service account, in the following format:
        
         `service-account-name@project-id.iam.gserviceaccount.com`
         
        repeated string allowed_issuers = 2;
        Specified by:
        getAllowedIssuersList in interface DeployedIndexAuthConfig.AuthProviderOrBuilder
        Returns:
        A list containing the allowedIssuers.
      • getAllowedIssuersCount

        public int getAllowedIssuersCount()
         A list of allowed JWT issuers. Each entry must be a valid Google
         service account, in the following format:
        
         `service-account-name@project-id.iam.gserviceaccount.com`
         
        repeated string allowed_issuers = 2;
        Specified by:
        getAllowedIssuersCount in interface DeployedIndexAuthConfig.AuthProviderOrBuilder
        Returns:
        The count of allowedIssuers.
      • getAllowedIssuers

        public String getAllowedIssuers​(int index)
         A list of allowed JWT issuers. Each entry must be a valid Google
         service account, in the following format:
        
         `service-account-name@project-id.iam.gserviceaccount.com`
         
        repeated string allowed_issuers = 2;
        Specified by:
        getAllowedIssuers in interface DeployedIndexAuthConfig.AuthProviderOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The allowedIssuers at the given index.
      • getAllowedIssuersBytes

        public com.google.protobuf.ByteString getAllowedIssuersBytes​(int index)
         A list of allowed JWT issuers. Each entry must be a valid Google
         service account, in the following format:
        
         `service-account-name@project-id.iam.gserviceaccount.com`
         
        repeated string allowed_issuers = 2;
        Specified by:
        getAllowedIssuersBytes in interface DeployedIndexAuthConfig.AuthProviderOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the allowedIssuers at the given index.
      • setAllowedIssuers

        public DeployedIndexAuthConfig.AuthProvider.Builder setAllowedIssuers​(int index,
                                                                              String value)
         A list of allowed JWT issuers. Each entry must be a valid Google
         service account, in the following format:
        
         `service-account-name@project-id.iam.gserviceaccount.com`
         
        repeated string allowed_issuers = 2;
        Parameters:
        index - The index to set the value at.
        value - The allowedIssuers to set.
        Returns:
        This builder for chaining.
      • addAllowedIssuers

        public DeployedIndexAuthConfig.AuthProvider.Builder addAllowedIssuers​(String value)
         A list of allowed JWT issuers. Each entry must be a valid Google
         service account, in the following format:
        
         `service-account-name@project-id.iam.gserviceaccount.com`
         
        repeated string allowed_issuers = 2;
        Parameters:
        value - The allowedIssuers to add.
        Returns:
        This builder for chaining.
      • addAllAllowedIssuers

        public DeployedIndexAuthConfig.AuthProvider.Builder addAllAllowedIssuers​(Iterable<String> values)
         A list of allowed JWT issuers. Each entry must be a valid Google
         service account, in the following format:
        
         `service-account-name@project-id.iam.gserviceaccount.com`
         
        repeated string allowed_issuers = 2;
        Parameters:
        values - The allowedIssuers to add.
        Returns:
        This builder for chaining.
      • clearAllowedIssuers

        public DeployedIndexAuthConfig.AuthProvider.Builder clearAllowedIssuers()
         A list of allowed JWT issuers. Each entry must be a valid Google
         service account, in the following format:
        
         `service-account-name@project-id.iam.gserviceaccount.com`
         
        repeated string allowed_issuers = 2;
        Returns:
        This builder for chaining.
      • addAllowedIssuersBytes

        public DeployedIndexAuthConfig.AuthProvider.Builder addAllowedIssuersBytes​(com.google.protobuf.ByteString value)
         A list of allowed JWT issuers. Each entry must be a valid Google
         service account, in the following format:
        
         `service-account-name@project-id.iam.gserviceaccount.com`
         
        repeated string allowed_issuers = 2;
        Parameters:
        value - The bytes of the allowedIssuers to add.
        Returns:
        This builder for chaining.