Class PropertyChange.Builder (0.45.0)

public static final class PropertyChange.Builder extends GeneratedMessageV3.Builder<PropertyChange.Builder> implements PropertyChangeOrBuilder

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

Protobuf type google.cloud.config.v1.PropertyChange

Static Methods

getDescriptor()

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

Methods

addAfterSensitivePaths(String value)

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

Parameter
Name Description
value String

The afterSensitivePaths to add.

Returns
Type Description
PropertyChange.Builder

This builder for chaining.

addAfterSensitivePathsBytes(ByteString value)

public PropertyChange.Builder addAfterSensitivePathsBytes(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];

Parameter
Name Description
value ByteString

The bytes of the afterSensitivePaths to add.

Returns
Type Description
PropertyChange.Builder

This builder for chaining.

addAllAfterSensitivePaths(Iterable<String> values)

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

Parameter
Name Description
values Iterable<String>

The afterSensitivePaths to add.

Returns
Type Description
PropertyChange.Builder

This builder for chaining.

addAllBeforeSensitivePaths(Iterable<String> values)

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

Parameter
Name Description
values Iterable<String>

The beforeSensitivePaths to add.

Returns
Type Description
PropertyChange.Builder

This builder for chaining.

addBeforeSensitivePaths(String value)

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

Parameter
Name Description
value String

The beforeSensitivePaths to add.

Returns
Type Description
PropertyChange.Builder

This builder for chaining.

addBeforeSensitivePathsBytes(ByteString value)

public PropertyChange.Builder addBeforeSensitivePathsBytes(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];

Parameter
Name Description
value ByteString

The bytes of the beforeSensitivePaths to add.

Returns
Type Description
PropertyChange.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PropertyChange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PropertyChange.Builder
Overrides

build()

public PropertyChange build()
Returns
Type Description
PropertyChange

buildPartial()

public PropertyChange buildPartial()
Returns
Type Description
PropertyChange

clear()

public PropertyChange.Builder clear()
Returns
Type Description
PropertyChange.Builder
Overrides

clearAfter()

public PropertyChange.Builder clearAfter()

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

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

Returns
Type Description
PropertyChange.Builder

clearAfterSensitivePaths()

public PropertyChange.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
Type Description
PropertyChange.Builder

This builder for chaining.

clearBefore()

public PropertyChange.Builder clearBefore()

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

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

Returns
Type Description
PropertyChange.Builder

clearBeforeSensitivePaths()

public PropertyChange.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
Type Description
PropertyChange.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PropertyChange.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PropertyChange.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PropertyChange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PropertyChange.Builder
Overrides

clearPath()

public PropertyChange.Builder clearPath()

Output only. The path of the property change.

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

Returns
Type Description
PropertyChange.Builder

This builder for chaining.

clone()

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

getAfterBuilder()

public Value.Builder getAfterBuilder()

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

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

Returns
Type Description
Builder

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.

getBeforeBuilder()

public Value.Builder getBeforeBuilder()

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

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

Returns
Type Description
Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAfter(Value value)

public PropertyChange.Builder mergeAfter(Value value)

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

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

Parameter
Name Description
value Value
Returns
Type Description
PropertyChange.Builder

mergeBefore(Value value)

public PropertyChange.Builder mergeBefore(Value value)

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

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

Parameter
Name Description
value Value
Returns
Type Description
PropertyChange.Builder

mergeFrom(PropertyChange other)

public PropertyChange.Builder mergeFrom(PropertyChange other)
Parameter
Name Description
other PropertyChange
Returns
Type Description
PropertyChange.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PropertyChange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PropertyChange.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PropertyChange.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PropertyChange.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PropertyChange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PropertyChange.Builder
Overrides

setAfter(Value value)

public PropertyChange.Builder setAfter(Value value)

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

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

Parameter
Name Description
value Value
Returns
Type Description
PropertyChange.Builder

setAfter(Value.Builder builderForValue)

public PropertyChange.Builder setAfter(Value.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PropertyChange.Builder

setAfterSensitivePaths(int index, String value)

public PropertyChange.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
Name Description
index int

The index to set the value at.

value String

The afterSensitivePaths to set.

Returns
Type Description
PropertyChange.Builder

This builder for chaining.

setBefore(Value value)

public PropertyChange.Builder setBefore(Value value)

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

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

Parameter
Name Description
value Value
Returns
Type Description
PropertyChange.Builder

setBefore(Value.Builder builderForValue)

public PropertyChange.Builder setBefore(Value.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PropertyChange.Builder

setBeforeSensitivePaths(int index, String value)

public PropertyChange.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
Name Description
index int

The index to set the value at.

value String

The beforeSensitivePaths to set.

Returns
Type Description
PropertyChange.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PropertyChange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PropertyChange.Builder
Overrides

setPath(String value)

public PropertyChange.Builder setPath(String value)

Output only. The path of the property change.

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

Parameter
Name Description
value String

The path to set.

Returns
Type Description
PropertyChange.Builder

This builder for chaining.

setPathBytes(ByteString value)

public PropertyChange.Builder setPathBytes(ByteString value)

Output only. The path of the property change.

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

Parameter
Name Description
value ByteString

The bytes for path to set.

Returns
Type Description
PropertyChange.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PropertyChange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PropertyChange.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PropertyChange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PropertyChange.Builder
Overrides