Class PropertyDrift.Builder

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

public static final class PropertyDrift.Builder extends com.google.protobuf.GeneratedMessage.Builder<PropertyDrift.Builder> implements PropertyDriftOrBuilder
 A property drift represents a drift to a property in the state file.
 
Protobuf type google.cloud.config.v1.PropertyDrift
  • 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<PropertyDrift.Builder>
    • clear

      public PropertyDrift.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<PropertyDrift.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<PropertyDrift.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public PropertyDrift.Builder mergeFrom(PropertyDrift other)
    • isInitialized

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

      public PropertyDrift.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<PropertyDrift.Builder>
      Throws:
      IOException
    • getPath

      public String getPath()
       Output only. The path of the property drift.
       
      string path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPath in interface PropertyDriftOrBuilder
      Returns:
      The path.
    • getPathBytes

      public com.google.protobuf.ByteString getPathBytes()
       Output only. The path of the property drift.
       
      string path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPathBytes in interface PropertyDriftOrBuilder
      Returns:
      The bytes for path.
    • setPath

      public PropertyDrift.Builder setPath(String value)
       Output only. The path of the property drift.
       
      string path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The path to set.
      Returns:
      This builder for chaining.
    • clearPath

      public PropertyDrift.Builder clearPath()
       Output only. The path of the property drift.
       
      string path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setPathBytes

      public PropertyDrift.Builder setPathBytes(com.google.protobuf.ByteString value)
       Output only. The path of the property drift.
       
      string path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for path to set.
      Returns:
      This builder for chaining.
    • getBeforeSensitivePathsList

      public com.google.protobuf.ProtocolStringList getBeforeSensitivePathsList()
       Output only. The paths of sensitive fields in `before`. Paths are relative
       to `path`.
       
      repeated string before_sensitive_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBeforeSensitivePathsList in interface PropertyDriftOrBuilder
      Returns:
      A list containing the beforeSensitivePaths.
    • getBeforeSensitivePathsCount

      public int getBeforeSensitivePathsCount()
       Output only. The paths of sensitive fields in `before`. Paths are relative
       to `path`.
       
      repeated string before_sensitive_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBeforeSensitivePathsCount in interface PropertyDriftOrBuilder
      Returns:
      The count of beforeSensitivePaths.
    • getBeforeSensitivePaths

      public String getBeforeSensitivePaths(int index)
       Output only. The paths of sensitive fields in `before`. Paths are relative
       to `path`.
       
      repeated string before_sensitive_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBeforeSensitivePaths in interface PropertyDriftOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The beforeSensitivePaths at the given index.
    • getBeforeSensitivePathsBytes

      public com.google.protobuf.ByteString getBeforeSensitivePathsBytes(int index)
       Output only. The paths of sensitive fields in `before`. Paths are relative
       to `path`.
       
      repeated string before_sensitive_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBeforeSensitivePathsBytes in interface PropertyDriftOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the beforeSensitivePaths at the given index.
    • setBeforeSensitivePaths

      public PropertyDrift.Builder setBeforeSensitivePaths(int index, String value)
       Output only. The paths of sensitive fields in `before`. Paths are relative
       to `path`.
       
      repeated string before_sensitive_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The beforeSensitivePaths to set.
      Returns:
      This builder for chaining.
    • addBeforeSensitivePaths

      public PropertyDrift.Builder addBeforeSensitivePaths(String value)
       Output only. The paths of sensitive fields in `before`. Paths are relative
       to `path`.
       
      repeated string before_sensitive_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The beforeSensitivePaths to add.
      Returns:
      This builder for chaining.
    • addAllBeforeSensitivePaths

      public PropertyDrift.Builder addAllBeforeSensitivePaths(Iterable<String> values)
       Output only. The paths of sensitive fields in `before`. Paths are relative
       to `path`.
       
      repeated string before_sensitive_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The beforeSensitivePaths to add.
      Returns:
      This builder for chaining.
    • clearBeforeSensitivePaths

      public PropertyDrift.Builder clearBeforeSensitivePaths()
       Output only. The paths of sensitive fields in `before`. Paths are relative
       to `path`.
       
      repeated string before_sensitive_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • addBeforeSensitivePathsBytes

      public PropertyDrift.Builder addBeforeSensitivePathsBytes(com.google.protobuf.ByteString value)
       Output only. The paths of sensitive fields in `before`. Paths are relative
       to `path`.
       
      repeated string before_sensitive_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes of the beforeSensitivePaths to add.
      Returns:
      This builder for chaining.
    • hasBefore

      public boolean hasBefore()
       Output only. Representations of the object value before the actions.
       
      .google.protobuf.Value before = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasBefore in interface PropertyDriftOrBuilder
      Returns:
      Whether the before field is set.
    • getBefore

      public com.google.protobuf.Value getBefore()
       Output only. Representations of the object value before the actions.
       
      .google.protobuf.Value before = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBefore in interface PropertyDriftOrBuilder
      Returns:
      The before.
    • setBefore

      public PropertyDrift.Builder setBefore(com.google.protobuf.Value value)
       Output only. Representations of the object value before the actions.
       
      .google.protobuf.Value before = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setBefore

      public PropertyDrift.Builder setBefore(com.google.protobuf.Value.Builder builderForValue)
       Output only. Representations of the object value before the actions.
       
      .google.protobuf.Value before = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeBefore

      public PropertyDrift.Builder mergeBefore(com.google.protobuf.Value value)
       Output only. Representations of the object value before the actions.
       
      .google.protobuf.Value before = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearBefore

      public PropertyDrift.Builder clearBefore()
       Output only. Representations of the object value before the actions.
       
      .google.protobuf.Value before = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getBeforeBuilder

      public com.google.protobuf.Value.Builder getBeforeBuilder()
       Output only. Representations of the object value before the actions.
       
      .google.protobuf.Value before = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getBeforeOrBuilder

      public com.google.protobuf.ValueOrBuilder getBeforeOrBuilder()
       Output only. Representations of the object value before the actions.
       
      .google.protobuf.Value before = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBeforeOrBuilder in interface PropertyDriftOrBuilder
    • getAfterSensitivePathsList

      public com.google.protobuf.ProtocolStringList getAfterSensitivePathsList()
       Output only. The paths of sensitive fields in `after`. Paths are relative
       to `path`.
       
      repeated string after_sensitive_paths = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAfterSensitivePathsList in interface PropertyDriftOrBuilder
      Returns:
      A list containing the afterSensitivePaths.
    • getAfterSensitivePathsCount

      public int getAfterSensitivePathsCount()
       Output only. The paths of sensitive fields in `after`. Paths are relative
       to `path`.
       
      repeated string after_sensitive_paths = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAfterSensitivePathsCount in interface PropertyDriftOrBuilder
      Returns:
      The count of afterSensitivePaths.
    • getAfterSensitivePaths

      public String getAfterSensitivePaths(int index)
       Output only. The paths of sensitive fields in `after`. Paths are relative
       to `path`.
       
      repeated string after_sensitive_paths = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAfterSensitivePaths in interface PropertyDriftOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The afterSensitivePaths at the given index.
    • getAfterSensitivePathsBytes

      public com.google.protobuf.ByteString getAfterSensitivePathsBytes(int index)
       Output only. The paths of sensitive fields in `after`. Paths are relative
       to `path`.
       
      repeated string after_sensitive_paths = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAfterSensitivePathsBytes in interface PropertyDriftOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the afterSensitivePaths at the given index.
    • setAfterSensitivePaths

      public PropertyDrift.Builder setAfterSensitivePaths(int index, String value)
       Output only. The paths of sensitive fields in `after`. Paths are relative
       to `path`.
       
      repeated string after_sensitive_paths = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The afterSensitivePaths to set.
      Returns:
      This builder for chaining.
    • addAfterSensitivePaths

      public PropertyDrift.Builder addAfterSensitivePaths(String value)
       Output only. The paths of sensitive fields in `after`. Paths are relative
       to `path`.
       
      repeated string after_sensitive_paths = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The afterSensitivePaths to add.
      Returns:
      This builder for chaining.
    • addAllAfterSensitivePaths

      public PropertyDrift.Builder addAllAfterSensitivePaths(Iterable<String> values)
       Output only. The paths of sensitive fields in `after`. Paths are relative
       to `path`.
       
      repeated string after_sensitive_paths = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The afterSensitivePaths to add.
      Returns:
      This builder for chaining.
    • clearAfterSensitivePaths

      public PropertyDrift.Builder clearAfterSensitivePaths()
       Output only. The paths of sensitive fields in `after`. Paths are relative
       to `path`.
       
      repeated string after_sensitive_paths = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • addAfterSensitivePathsBytes

      public PropertyDrift.Builder addAfterSensitivePathsBytes(com.google.protobuf.ByteString value)
       Output only. The paths of sensitive fields in `after`. Paths are relative
       to `path`.
       
      repeated string after_sensitive_paths = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes of the afterSensitivePaths to add.
      Returns:
      This builder for chaining.
    • hasAfter

      public boolean hasAfter()
       Output only. Representations of the object value after the actions.
       
      .google.protobuf.Value after = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasAfter in interface PropertyDriftOrBuilder
      Returns:
      Whether the after field is set.
    • getAfter

      public com.google.protobuf.Value getAfter()
       Output only. Representations of the object value after the actions.
       
      .google.protobuf.Value after = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAfter in interface PropertyDriftOrBuilder
      Returns:
      The after.
    • setAfter

      public PropertyDrift.Builder setAfter(com.google.protobuf.Value value)
       Output only. Representations of the object value after the actions.
       
      .google.protobuf.Value after = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setAfter

      public PropertyDrift.Builder setAfter(com.google.protobuf.Value.Builder builderForValue)
       Output only. Representations of the object value after the actions.
       
      .google.protobuf.Value after = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeAfter

      public PropertyDrift.Builder mergeAfter(com.google.protobuf.Value value)
       Output only. Representations of the object value after the actions.
       
      .google.protobuf.Value after = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearAfter

      public PropertyDrift.Builder clearAfter()
       Output only. Representations of the object value after the actions.
       
      .google.protobuf.Value after = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getAfterBuilder

      public com.google.protobuf.Value.Builder getAfterBuilder()
       Output only. Representations of the object value after the actions.
       
      .google.protobuf.Value after = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getAfterOrBuilder

      public com.google.protobuf.ValueOrBuilder getAfterOrBuilder()
       Output only. Representations of the object value after the actions.
       
      .google.protobuf.Value after = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAfterOrBuilder in interface PropertyDriftOrBuilder