Class FeatureNoiseSigma.NoiseSigmaForFeature.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FeatureNoiseSigma.NoiseSigmaForFeature.Builder>
com.google.cloud.aiplatform.v1.FeatureNoiseSigma.NoiseSigmaForFeature.Builder
All Implemented Interfaces:
FeatureNoiseSigma.NoiseSigmaForFeatureOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FeatureNoiseSigma.NoiseSigmaForFeature

public static final class FeatureNoiseSigma.NoiseSigmaForFeature.Builder extends com.google.protobuf.GeneratedMessage.Builder<FeatureNoiseSigma.NoiseSigmaForFeature.Builder> implements FeatureNoiseSigma.NoiseSigmaForFeatureOrBuilder
 Noise sigma for a single feature.
 
Protobuf type google.cloud.aiplatform.v1.FeatureNoiseSigma.NoiseSigmaForFeature
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FeatureNoiseSigma.NoiseSigmaForFeature.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.GeneratedMessage.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.GeneratedMessage.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

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

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

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

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<FeatureNoiseSigma.NoiseSigmaForFeature.Builder>
    • mergeFrom

      public FeatureNoiseSigma.NoiseSigmaForFeature.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<FeatureNoiseSigma.NoiseSigmaForFeature.Builder>
      Throws:
      IOException
    • 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.v1.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.v1.ExplanationMetadata.inputs].
       
      string name = 1;
      Specified by:
      getNameBytes in interface FeatureNoiseSigma.NoiseSigmaForFeatureOrBuilder
      Returns:
      The bytes for name.
    • setName

       The name of the input feature for which noise sigma is provided. The
       features are defined in
       [explanation metadata
       inputs][google.cloud.aiplatform.v1.ExplanationMetadata.inputs].
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       The name of the input feature for which noise sigma is provided. The
       features are defined in
       [explanation metadata
       inputs][google.cloud.aiplatform.v1.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.v1.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.v1.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.v1.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

       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.v1.SmoothGradConfig.noise_sigma]
       but represents the noise added to the current feature. Defaults to 0.1.
       
      float sigma = 2;
      Returns:
      This builder for chaining.