Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public static Builder newBuilder(Key key, FullEntity<?> copyFrom) {
return new Builder(key, copyFrom);
}

static Entity fromPb(com.google.datastore.v1.Entity entityPb) {
public static Entity fromPb(com.google.datastore.v1.Entity entityPb) {
return new Builder().fill(entityPb).build();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static <K extends IncompleteKey> Builder<K> newBuilder(FullEntity<K> copy
return new Builder<>(copyFrom);
}

static FullEntity<?> fromPb(com.google.datastore.v1.Entity entityPb) {
public static FullEntity<?> fromPb(com.google.datastore.v1.Entity entityPb) {
return new Builder<>().fill(entityPb).build();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ com.google.datastore.v1.Value toPb() {
return getType().getMarshaller().toProto(this);
}

static Value<?> fromPb(com.google.datastore.v1.Value proto) {
public static Value<?> fromPb(com.google.datastore.v1.Value proto) {
ValueTypeCase descriptorId = proto.getValueTypeCase();
ValueType valueType = ValueType.getByDescriptorId(descriptorId.getNumber());
return valueType == null
Expand Down