Package com.google.cloud.config.v1
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 Summary
Modifier and TypeMethodDescriptionaddAfterSensitivePaths(String value) Output only.addAfterSensitivePathsBytes(com.google.protobuf.ByteString value) Output only.addAllAfterSensitivePaths(Iterable<String> values) Output only.addAllBeforeSensitivePaths(Iterable<String> values) Output only.addBeforeSensitivePaths(String value) Output only.addBeforeSensitivePathsBytes(com.google.protobuf.ByteString value) Output only.build()clear()Output only.Output only.Output only.Output only.Output only.com.google.protobuf.ValuegetAfter()Output only.com.google.protobuf.Value.BuilderOutput only.com.google.protobuf.ValueOrBuilderOutput only.getAfterSensitivePaths(int index) Output only.com.google.protobuf.ByteStringgetAfterSensitivePathsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.com.google.protobuf.ValueOutput only.com.google.protobuf.Value.BuilderOutput only.com.google.protobuf.ValueOrBuilderOutput only.getBeforeSensitivePaths(int index) Output only.com.google.protobuf.ByteStringgetBeforeSensitivePathsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetPath()Output only.com.google.protobuf.ByteStringOutput only.booleanhasAfter()Output only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAfter(com.google.protobuf.Value value) Output only.mergeBefore(com.google.protobuf.Value value) Output only.mergeFrom(PropertyDrift other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAfter(com.google.protobuf.Value value) Output only.setAfter(com.google.protobuf.Value.Builder builderForValue) Output only.setAfterSensitivePaths(int index, String value) Output only.setBefore(com.google.protobuf.Value value) Output only.setBefore(com.google.protobuf.Value.Builder builderForValue) Output only.setBeforeSensitivePaths(int index, String value) Output only.Output only.setPathBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PropertyDrift.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PropertyDrift.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PropertyDrift.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PropertyDrift.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PropertyDrift.Builder>- Throws:
IOException
-
getPath
Output only. The path of the property drift.
string path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPathin interfacePropertyDriftOrBuilder- 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:
getPathBytesin interfacePropertyDriftOrBuilder- Returns:
- The bytes for path.
-
setPath
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
Output only. The path of the property drift.
string path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setPathBytes
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:
getBeforeSensitivePathsListin interfacePropertyDriftOrBuilder- 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:
getBeforeSensitivePathsCountin interfacePropertyDriftOrBuilder- Returns:
- The count of beforeSensitivePaths.
-
getBeforeSensitivePaths
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:
getBeforeSensitivePathsin interfacePropertyDriftOrBuilder- 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:
getBeforeSensitivePathsBytesin interfacePropertyDriftOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the beforeSensitivePaths at the given index.
-
setBeforeSensitivePaths
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
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
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
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
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:
hasBeforein interfacePropertyDriftOrBuilder- 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:
getBeforein interfacePropertyDriftOrBuilder- Returns:
- The before.
-
setBefore
Output only. Representations of the object value before the actions.
.google.protobuf.Value before = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setBefore
Output only. Representations of the object value before the actions.
.google.protobuf.Value before = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeBefore
Output only. Representations of the object value before the actions.
.google.protobuf.Value before = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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:
getBeforeOrBuilderin interfacePropertyDriftOrBuilder
-
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:
getAfterSensitivePathsListin interfacePropertyDriftOrBuilder- 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:
getAfterSensitivePathsCountin interfacePropertyDriftOrBuilder- Returns:
- The count of afterSensitivePaths.
-
getAfterSensitivePaths
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:
getAfterSensitivePathsin interfacePropertyDriftOrBuilder- 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:
getAfterSensitivePathsBytesin interfacePropertyDriftOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the afterSensitivePaths at the given index.
-
setAfterSensitivePaths
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
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
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
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
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:
hasAfterin interfacePropertyDriftOrBuilder- 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:
getAfterin interfacePropertyDriftOrBuilder- Returns:
- The after.
-
setAfter
Output only. Representations of the object value after the actions.
.google.protobuf.Value after = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setAfter
Output only. Representations of the object value after the actions.
.google.protobuf.Value after = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeAfter
Output only. Representations of the object value after the actions.
.google.protobuf.Value after = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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:
getAfterOrBuilderin interfacePropertyDriftOrBuilder
-