Class PropertyChange (0.45.0)

public final class PropertyChange extends GeneratedMessageV3 implements PropertyChangeOrBuilder

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

Protobuf type google.cloud.config.v1.PropertyChange

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 PropertyChange getDefaultInstance()
Returns
Type Description
PropertyChange

getDescriptor()

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

newBuilder()

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

newBuilder(PropertyChange prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 PropertyChange getDefaultInstanceForType()
Returns
Type Description
PropertyChange

getParserForType()

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

getPath()

public String getPath()

Output only. The path of the property change.

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 change.

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 PropertyChange.Builder newBuilderForType()
Returns
Type Description
PropertyChange.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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