publicfinalclass PropertyMaskextendsGeneratedMessageV3implementsPropertyMaskOrBuilder
The set of arbitrarily nested property paths used to restrict an operation to
only a subset of properties in an entity.
Protobuf type google.datastore.v1.PropertyMask
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
PATHS_FIELD_NUMBER
publicstaticfinalintPATHS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticPropertyMaskgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticPropertyMask.BuildernewBuilder()
newBuilder(PropertyMask prototype)
publicstaticPropertyMask.BuildernewBuilder(PropertyMaskprototype)
publicstaticPropertyMaskparseDelimitedFrom(InputStreaminput)
publicstaticPropertyMaskparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticPropertyMaskparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticPropertyMaskparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticPropertyMaskparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticPropertyMaskparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticPropertyMaskparseFrom(CodedInputStreaminput)
publicstaticPropertyMaskparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticPropertyMaskparseFrom(InputStreaminput)
publicstaticPropertyMaskparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticPropertyMaskparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticPropertyMaskparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<PropertyMask>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
publicPropertyMaskgetDefaultInstanceForType()
getParserForType()
publicParser<PropertyMask>getParserForType()
Overrides
getPaths(int index)
publicStringgetPaths(intindex)
The paths to the properties covered by this mask.
A path is a list of property names separated by dots (.), for example
foo.bar means the property bar inside the entity property foo inside
the entity associated with this path.
If a property name contains a dot . or a backslash \, then that
name must be escaped.
A path must not be empty, and may not reference a value inside an
array value.
repeated string paths = 1;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The paths at the given index.
|
getPathsBytes(int index)
publicByteStringgetPathsBytes(intindex)
The paths to the properties covered by this mask.
A path is a list of property names separated by dots (.), for example
foo.bar means the property bar inside the entity property foo inside
the entity associated with this path.
If a property name contains a dot . or a backslash \, then that
name must be escaped.
A path must not be empty, and may not reference a value inside an
array value.
repeated string paths = 1;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the paths at the given index.
|
getPathsCount()
The paths to the properties covered by this mask.
A path is a list of property names separated by dots (.), for example
foo.bar means the property bar inside the entity property foo inside
the entity associated with this path.
If a property name contains a dot . or a backslash \, then that
name must be escaped.
A path must not be empty, and may not reference a value inside an
array value.
repeated string paths = 1;
| Returns |
| Type |
Description |
int |
The count of paths.
|
getPathsList()
publicProtocolStringListgetPathsList()
The paths to the properties covered by this mask.
A path is a list of property names separated by dots (.), for example
foo.bar means the property bar inside the entity property foo inside
the entity associated with this path.
If a property name contains a dot . or a backslash \, then that
name must be escaped.
A path must not be empty, and may not reference a value inside an
array value.
repeated string paths = 1;
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicPropertyMask.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedPropertyMask.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicPropertyMask.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides