Class FeatureNoiseSigma.NoiseSigmaForFeature.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<FeatureNoiseSigma.NoiseSigmaForFeature.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<FeatureNoiseSigma.NoiseSigmaForFeature.Builder>
      • getDefaultInstanceForType

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

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

        public FeatureNoiseSigma.NoiseSigmaForFeature 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<FeatureNoiseSigma.NoiseSigmaForFeature.Builder>
      • getName

        public String getName()
         The name of the input feature for which noise sigma is provided. The
         features are defined in
         [explanation metadata
         inputs][google.cloud.aiplatform.v1beta1.ExplanationMetadata.inputs].
         
        string name = 1;
        Specified by:
        getName in interface FeatureNoiseSigma.NoiseSigmaForFeatureOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The name of the input feature for which noise sigma is provided. The
         features are defined in
         [explanation metadata
         inputs][google.cloud.aiplatform.v1beta1.ExplanationMetadata.inputs].
         
        string name = 1;
        Specified by:
        getNameBytes in interface FeatureNoiseSigma.NoiseSigmaForFeatureOrBuilder
        Returns:
        The bytes for name.
      • setName

        public FeatureNoiseSigma.NoiseSigmaForFeature.Builder setName​(String value)
         The name of the input feature for which noise sigma is provided. The
         features are defined in
         [explanation metadata
         inputs][google.cloud.aiplatform.v1beta1.ExplanationMetadata.inputs].
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public FeatureNoiseSigma.NoiseSigmaForFeature.Builder clearName()
         The name of the input feature for which noise sigma is provided. The
         features are defined in
         [explanation metadata
         inputs][google.cloud.aiplatform.v1beta1.ExplanationMetadata.inputs].
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public FeatureNoiseSigma.NoiseSigmaForFeature.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The name of the input feature for which noise sigma is provided. The
         features are defined in
         [explanation metadata
         inputs][google.cloud.aiplatform.v1beta1.ExplanationMetadata.inputs].
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getSigma

        public float getSigma()
         This represents the standard deviation of the Gaussian kernel that will
         be used to add noise to the feature prior to computing gradients. Similar
         to
         [noise_sigma][google.cloud.aiplatform.v1beta1.SmoothGradConfig.noise_sigma]
         but represents the noise added to the current feature. Defaults to 0.1.
         
        float sigma = 2;
        Specified by:
        getSigma in interface FeatureNoiseSigma.NoiseSigmaForFeatureOrBuilder
        Returns:
        The sigma.
      • setSigma

        public FeatureNoiseSigma.NoiseSigmaForFeature.Builder setSigma​(float value)
         This represents the standard deviation of the Gaussian kernel that will
         be used to add noise to the feature prior to computing gradients. Similar
         to
         [noise_sigma][google.cloud.aiplatform.v1beta1.SmoothGradConfig.noise_sigma]
         but represents the noise added to the current feature. Defaults to 0.1.
         
        float sigma = 2;
        Parameters:
        value - The sigma to set.
        Returns:
        This builder for chaining.
      • clearSigma

        public FeatureNoiseSigma.NoiseSigmaForFeature.Builder clearSigma()
         This represents the standard deviation of the Gaussian kernel that will
         be used to add noise to the feature prior to computing gradients. Similar
         to
         [noise_sigma][google.cloud.aiplatform.v1beta1.SmoothGradConfig.noise_sigma]
         but represents the noise added to the current feature. Defaults to 0.1.
         
        float sigma = 2;
        Returns:
        This builder for chaining.