Class PropertyMask (0.14.1)

public final class PropertyMask extends GeneratedMessageV3 implements PropertyMaskOrBuilder

A set of property paths on an entity.

Protobuf type google.events.cloud.datastore.v1.PropertyMask

Static Fields

PROPERTY_PATHS_FIELD_NUMBER

public static final int PROPERTY_PATHS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PropertyMask getDefaultInstance()
Returns
TypeDescription
PropertyMask

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PropertyMask.Builder newBuilder()
Returns
TypeDescription
PropertyMask.Builder

newBuilder(PropertyMask prototype)

public static PropertyMask.Builder newBuilder(PropertyMask prototype)
Parameter
NameDescription
prototypePropertyMask
Returns
TypeDescription
PropertyMask.Builder

parseDelimitedFrom(InputStream input)

public static PropertyMask parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PropertyMask
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PropertyMask parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyMask
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PropertyMask parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PropertyMask
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PropertyMask parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyMask
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PropertyMask parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PropertyMask
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PropertyMask parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyMask
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PropertyMask parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PropertyMask
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PropertyMask parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyMask
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PropertyMask parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PropertyMask
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PropertyMask parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyMask
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PropertyMask parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PropertyMask
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PropertyMask parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyMask
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PropertyMask> parser()
Returns
TypeDescription
Parser<PropertyMask>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PropertyMask getDefaultInstanceForType()
Returns
TypeDescription
PropertyMask

getParserForType()

public Parser<PropertyMask> getParserForType()
Returns
TypeDescription
Parser<PropertyMask>
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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;

Returns
TypeDescription
ProtocolStringList

A list containing the propertyPaths.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PropertyMask.Builder newBuilderForType()
Returns
TypeDescription
PropertyMask.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PropertyMask.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PropertyMask.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PropertyMask.Builder toBuilder()
Returns
TypeDescription
PropertyMask.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException