public static final class PropertyMask.Builder extends GeneratedMessageV3.Builder<PropertyMask.Builder> implements PropertyMaskOrBuilder
A set of property paths on an entity.
Protobuf type google.events.cloud.datastore.v1.PropertyMask
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllPropertyPaths(Iterable<String> values)
public PropertyMask.Builder addAllPropertyPaths(Iterable<String> values)
The list of property paths in the mask.
This is not populated for delete events.
repeated string property_paths = 1;
Parameter |
---|
Name | Description |
values | Iterable<String>
The propertyPaths to add.
|
addPropertyPaths(String value)
public PropertyMask.Builder addPropertyPaths(String value)
The list of property paths in the mask.
This is not populated for delete events.
repeated string property_paths = 1;
Parameter |
---|
Name | Description |
value | String
The propertyPaths to add.
|
addPropertyPathsBytes(ByteString value)
public PropertyMask.Builder addPropertyPathsBytes(ByteString value)
The list of property paths in the mask.
This is not populated for delete events.
repeated string property_paths = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes of the propertyPaths to add.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PropertyMask.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PropertyMask build()
buildPartial()
public PropertyMask buildPartial()
clear()
public PropertyMask.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public PropertyMask.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PropertyMask.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPropertyPaths()
public PropertyMask.Builder clearPropertyPaths()
The list of property paths in the mask.
This is not populated for delete events.
repeated string property_paths = 1;
clone()
public PropertyMask.Builder clone()
Overrides
getDefaultInstanceForType()
public PropertyMask getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPropertyPaths(int index)
public String getPropertyPaths(int index)
The list of property paths in the mask.
This is not populated for delete events.
repeated string property_paths = 1;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The propertyPaths at the given index.
|
getPropertyPathsBytes(int index)
public ByteString getPropertyPathsBytes(int index)
The list of property paths in the mask.
This is not populated for delete events.
repeated string property_paths = 1;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the propertyPaths at the given index.
|
getPropertyPathsCount()
public int getPropertyPathsCount()
The list of property paths in the mask.
This is not populated for delete events.
repeated string property_paths = 1;
Returns |
---|
Type | Description |
int | The count of propertyPaths.
|
getPropertyPathsList()
public ProtocolStringList getPropertyPathsList()
The list of property paths in the mask.
This is not populated for delete events.
repeated string property_paths = 1;
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PropertyMask other)
public PropertyMask.Builder mergeFrom(PropertyMask other)
public PropertyMask.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PropertyMask.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PropertyMask.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public PropertyMask.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPropertyPaths(int index, String value)
public PropertyMask.Builder setPropertyPaths(int index, String value)
The list of property paths in the mask.
This is not populated for delete events.
repeated string property_paths = 1;
Parameters |
---|
Name | Description |
index | int
The index to set the value at.
|
value | String
The propertyPaths to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PropertyMask.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PropertyMask.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides