Class PropertyDrift (0.45.0)

public final class PropertyDrift extends GeneratedMessageV3 implements PropertyDriftOrBuilder

A property drift represents a drift to a property in the state file.

Protobuf type google.cloud.config.v1.PropertyDrift

Static Fields

AFTER_FIELD_NUMBER

public static final int AFTER_FIELD_NUMBER
Field Value
Type Description
int

AFTER_SENSITIVE_PATHS_FIELD_NUMBER

public static final int AFTER_SENSITIVE_PATHS_FIELD_NUMBER
Field Value
Type Description
int

BEFORE_FIELD_NUMBER

public static final int BEFORE_FIELD_NUMBER
Field Value
Type Description
int

BEFORE_SENSITIVE_PATHS_FIELD_NUMBER

public static final int BEFORE_SENSITIVE_PATHS_FIELD_NUMBER
Field Value
Type Description
int

PATH_FIELD_NUMBER

public static final int PATH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PropertyDrift getDefaultInstance()
Returns
Type Description
PropertyDrift

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PropertyDrift.Builder newBuilder()
Returns
Type Description
PropertyDrift.Builder

newBuilder(PropertyDrift prototype)

public static PropertyDrift.Builder newBuilder(PropertyDrift prototype)
Parameter
Name Description
prototype PropertyDrift
Returns
Type Description
PropertyDrift.Builder

parseDelimitedFrom(InputStream input)

public static PropertyDrift parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PropertyDrift
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PropertyDrift parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PropertyDrift
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PropertyDrift parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PropertyDrift
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PropertyDrift parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PropertyDrift
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PropertyDrift parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PropertyDrift
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PropertyDrift parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PropertyDrift
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PropertyDrift parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PropertyDrift
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PropertyDrift parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PropertyDrift
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PropertyDrift parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PropertyDrift
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PropertyDrift parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PropertyDrift
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PropertyDrift parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PropertyDrift
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PropertyDrift parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PropertyDrift
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PropertyDrift> parser()
Returns
Type Description
Parser<PropertyDrift>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAfter()

public Value getAfter()

Output only. Representations of the object value after the actions.

.google.protobuf.Value after = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Value

The after.

getAfterOrBuilder()

public ValueOrBuilder getAfterOrBuilder()

Output only. Representations of the object value after the actions.

.google.protobuf.Value after = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ValueOrBuilder

getAfterSensitivePaths(int index)

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];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The afterSensitivePaths at the given index.

getAfterSensitivePathsBytes(int index)

public 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];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the afterSensitivePaths at the given index.

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];

Returns
Type Description
int

The count of afterSensitivePaths.

getAfterSensitivePathsList()

public 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];

Returns
Type Description
ProtocolStringList

A list containing the afterSensitivePaths.

getBefore()

public Value getBefore()

Output only. Representations of the object value before the actions.

.google.protobuf.Value before = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Value

The before.

getBeforeOrBuilder()

public ValueOrBuilder getBeforeOrBuilder()

Output only. Representations of the object value before the actions.

.google.protobuf.Value before = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ValueOrBuilder

getBeforeSensitivePaths(int index)

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];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The beforeSensitivePaths at the given index.

getBeforeSensitivePathsBytes(int index)

public 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];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the beforeSensitivePaths at the given index.

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];

Returns
Type Description
int

The count of beforeSensitivePaths.

getBeforeSensitivePathsList()

public 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];

Returns
Type Description
ProtocolStringList

A list containing the beforeSensitivePaths.

getDefaultInstanceForType()

public PropertyDrift getDefaultInstanceForType()
Returns
Type Description
PropertyDrift

getParserForType()

public Parser<PropertyDrift> getParserForType()
Returns
Type Description
Parser<PropertyDrift>
Overrides

getPath()

public String getPath()

Output only. The path of the property drift.

string path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The path.

getPathBytes()

public ByteString getPathBytes()

Output only. The path of the property drift.

string path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for path.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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];

Returns
Type Description
boolean

Whether the after field is set.

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];

Returns
Type Description
boolean

Whether the before field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PropertyDrift.Builder newBuilderForType()
Returns
Type Description
PropertyDrift.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PropertyDrift.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PropertyDrift.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PropertyDrift.Builder toBuilder()
Returns
Type Description
PropertyDrift.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException