public static final class PropertyDrift.Builder extends GeneratedMessageV3.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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PropertyDrift.BuilderImplements
PropertyDriftOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAfterSensitivePaths(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The afterSensitivePaths to add. |
Returns | |
---|---|
Type | Description |
PropertyDrift.Builder |
This builder for chaining. |
addAfterSensitivePathsBytes(ByteString value)
public PropertyDrift.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 |
PropertyDrift.Builder |
This builder for chaining. |
addAllAfterSensitivePaths(Iterable<String> values)
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];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The afterSensitivePaths to add. |
Returns | |
---|---|
Type | Description |
PropertyDrift.Builder |
This builder for chaining. |
addAllBeforeSensitivePaths(Iterable<String> values)
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];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The beforeSensitivePaths to add. |
Returns | |
---|---|
Type | Description |
PropertyDrift.Builder |
This builder for chaining. |
addBeforeSensitivePaths(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The beforeSensitivePaths to add. |
Returns | |
---|---|
Type | Description |
PropertyDrift.Builder |
This builder for chaining. |
addBeforeSensitivePathsBytes(ByteString value)
public PropertyDrift.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 |
PropertyDrift.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PropertyDrift.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PropertyDrift.Builder |
build()
public PropertyDrift build()
Returns | |
---|---|
Type | Description |
PropertyDrift |
buildPartial()
public PropertyDrift buildPartial()
Returns | |
---|---|
Type | Description |
PropertyDrift |
clear()
public PropertyDrift.Builder clear()
Returns | |
---|---|
Type | Description |
PropertyDrift.Builder |
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];
Returns | |
---|---|
Type | Description |
PropertyDrift.Builder |
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 | |
---|---|
Type | Description |
PropertyDrift.Builder |
This builder for chaining. |
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];
Returns | |
---|---|
Type | Description |
PropertyDrift.Builder |
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 | |
---|---|
Type | Description |
PropertyDrift.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PropertyDrift.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
PropertyDrift.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PropertyDrift.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
PropertyDrift.Builder |
clearPath()
public PropertyDrift.Builder clearPath()
Output only. The path of the property drift.
string path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
PropertyDrift.Builder |
This builder for chaining. |
clone()
public PropertyDrift.Builder clone()
Returns | |
---|---|
Type | Description |
PropertyDrift.Builder |
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 PropertyDrift getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PropertyDrift |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAfter(Value value)
public PropertyDrift.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 |
PropertyDrift.Builder |
mergeBefore(Value value)
public PropertyDrift.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 |
PropertyDrift.Builder |
mergeFrom(PropertyDrift other)
public PropertyDrift.Builder mergeFrom(PropertyDrift other)
Parameter | |
---|---|
Name | Description |
other |
PropertyDrift |
Returns | |
---|---|
Type | Description |
PropertyDrift.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PropertyDrift.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PropertyDrift.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PropertyDrift.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
PropertyDrift.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PropertyDrift.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PropertyDrift.Builder |
setAfter(Value value)
public PropertyDrift.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 |
PropertyDrift.Builder |
setAfter(Value.Builder builderForValue)
public PropertyDrift.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 |
PropertyDrift.Builder |
setAfterSensitivePaths(int index, String value)
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 | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The afterSensitivePaths to set. |
Returns | |
---|---|
Type | Description |
PropertyDrift.Builder |
This builder for chaining. |
setBefore(Value value)
public PropertyDrift.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 |
PropertyDrift.Builder |
setBefore(Value.Builder builderForValue)
public PropertyDrift.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 |
PropertyDrift.Builder |
setBeforeSensitivePaths(int index, String value)
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 | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The beforeSensitivePaths to set. |
Returns | |
---|---|
Type | Description |
PropertyDrift.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PropertyDrift.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PropertyDrift.Builder |
setPath(String value)
public PropertyDrift.Builder setPath(String value)
Output only. The path of the property drift.
string path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The path to set. |
Returns | |
---|---|
Type | Description |
PropertyDrift.Builder |
This builder for chaining. |
setPathBytes(ByteString value)
public PropertyDrift.Builder setPathBytes(ByteString value)
Output only. The path of the property drift.
string path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for path to set. |
Returns | |
---|---|
Type | Description |
PropertyDrift.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PropertyDrift.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
PropertyDrift.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PropertyDrift.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PropertyDrift.Builder |