Skip to content

Commit c04b925

Browse files
author
Ajay Kannan
committed
---
yaml --- r: 6655 b: refs/heads/tswast-patch-1 c: b2d181f h: refs/heads/master i: 6653: dc7a45f 6651: f17c676 6647: be2e6de 6639: 396bcc0 6623: 9be25d3 6591: 2194424 6527: 81ca046 6399: 3fe0ccd 6143: b81efd6
1 parent 1bd2101 commit c04b925

13 files changed

Lines changed: 25 additions & 25 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ refs/tags/v0.18.0: 9d193c4c4b9d1c6f21515dd8e50836b9194ec9bb
5757
refs/tags/v0.19.0: e67b56e4d8dad5f9a7b38c9b2107c23c828f2ed5
5858
refs/tags/v0.20.0: 839f7fb7156535146aa1cb2c5aadd8d375d854e8
5959
refs/tags/v0.20.1: 370471f437f1f4f68a11e068df5cd6bf39edb1fa
60-
refs/heads/tswast-patch-1: a87cd14359dafe99610a402d0690825048502c81
60+
refs/heads/tswast-patch-1: b2d181f98076ce465857b6d41d766d358d99c19e
6161
refs/heads/pubsub-streaming-pull: 19262b752ee874eb2ca3b950eb2aef44d5a5267b

branches/tswast-patch-1/gcloud-java-datastore/src/main/java/com/google/gcloud/datastore/BlobValue.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ public Builder newBuilder(Blob value) {
4040
}
4141

4242
@Override
43-
Blob getValue(DatastoreV1.Value from) {
43+
protected Blob getValue(DatastoreV1.Value from) {
4444
return new Blob(from.getBlobValue());
4545
}
4646

4747
@Override
48-
void setValue(BlobValue from, DatastoreV1.Value.Builder to) {
48+
protected void setValue(BlobValue from, DatastoreV1.Value.Builder to) {
4949
to.setBlobValue(from.get().byteString());
5050
}
5151
};

branches/tswast-patch-1/gcloud-java-datastore/src/main/java/com/google/gcloud/datastore/BooleanValue.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ public Builder newBuilder(Boolean value) {
4040
}
4141

4242
@Override
43-
Boolean getValue(DatastoreV1.Value from) {
43+
protected Boolean getValue(DatastoreV1.Value from) {
4444
return from.getBooleanValue();
4545
}
4646

4747
@Override
48-
void setValue(BooleanValue from, DatastoreV1.Value.Builder to) {
48+
protected void setValue(BooleanValue from, DatastoreV1.Value.Builder to) {
4949
to.setBooleanValue(from.get());
5050
}
5151
};

branches/tswast-patch-1/gcloud-java-datastore/src/main/java/com/google/gcloud/datastore/DateTimeValue.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ public Builder newBuilder(DateTime value) {
4040
}
4141

4242
@Override
43-
DateTime getValue(DatastoreV1.Value from) {
43+
protected DateTime getValue(DatastoreV1.Value from) {
4444
return new DateTime(from.getTimestampMicrosecondsValue());
4545
}
4646

4747
@Override
48-
void setValue(DateTimeValue from, DatastoreV1.Value.Builder to) {
48+
protected void setValue(DateTimeValue from, DatastoreV1.Value.Builder to) {
4949
to.setTimestampMicrosecondsValue(from.get().timestampMicroseconds());
5050
}
5151
};

branches/tswast-patch-1/gcloud-java-datastore/src/main/java/com/google/gcloud/datastore/DoubleValue.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ public Builder newBuilder(Double value) {
4040
}
4141

4242
@Override
43-
Double getValue(DatastoreV1.Value from) {
43+
protected Double getValue(DatastoreV1.Value from) {
4444
return from.getDoubleValue();
4545
}
4646

4747
@Override
48-
void setValue(DoubleValue from, DatastoreV1.Value.Builder to) {
48+
protected void setValue(DoubleValue from, DatastoreV1.Value.Builder to) {
4949
to.setDoubleValue(from.get());
5050
}
5151
};

branches/tswast-patch-1/gcloud-java-datastore/src/main/java/com/google/gcloud/datastore/EntityValue.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ public Builder newBuilder(FullEntity<?> value) {
4141
}
4242

4343
@Override
44-
FullEntity<?> getValue(DatastoreV1.Value from) {
44+
protected FullEntity<?> getValue(DatastoreV1.Value from) {
4545
return FullEntity.fromPb(from.getEntityValue());
4646
}
4747

4848
@Override
49-
void setValue(EntityValue from, DatastoreV1.Value.Builder to) {
49+
protected void setValue(EntityValue from, DatastoreV1.Value.Builder to) {
5050
to.setEntityValue(from.get().toPb());
5151
}
5252
};

branches/tswast-patch-1/gcloud-java-datastore/src/main/java/com/google/gcloud/datastore/KeyValue.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ public Builder newBuilder(Key key) {
4040
}
4141

4242
@Override
43-
Key getValue(DatastoreV1.Value from) {
43+
protected Key getValue(DatastoreV1.Value from) {
4444
return Key.fromPb(from.getKeyValue());
4545
}
4646

4747
@Override
48-
void setValue(KeyValue from, DatastoreV1.Value.Builder to) {
48+
protected void setValue(KeyValue from, DatastoreV1.Value.Builder to) {
4949
to.setKeyValue(from.get().toPb());
5050
}
5151
};

branches/tswast-patch-1/gcloud-java-datastore/src/main/java/com/google/gcloud/datastore/ListValue.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public Builder newBuilder(List<? extends Value<?>> values) {
4545
}
4646

4747
@Override
48-
List<Value<?>> getValue(DatastoreV1.Value from) {
48+
protected List<Value<?>> getValue(DatastoreV1.Value from) {
4949
List<Value<?>> properties = new ArrayList<>(from.getListValueCount());
5050
for (DatastoreV1.Value valuePb : from.getListValueList()) {
5151
properties.add(Value.fromPb(valuePb));
@@ -54,7 +54,7 @@ List<Value<?>> getValue(DatastoreV1.Value from) {
5454
}
5555

5656
@Override
57-
void setValue(ListValue from, DatastoreV1.Value.Builder to) {
57+
protected void setValue(ListValue from, DatastoreV1.Value.Builder to) {
5858
for (Value<?> property : from.get()) {
5959
to.addListValue(property.toPb());
6060
}

branches/tswast-patch-1/gcloud-java-datastore/src/main/java/com/google/gcloud/datastore/LongValue.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ public Builder newBuilder(Long value) {
4040
}
4141

4242
@Override
43-
Long getValue(DatastoreV1.Value from) {
43+
protected Long getValue(DatastoreV1.Value from) {
4444
return from.getIntegerValue();
4545
}
4646

4747
@Override
48-
void setValue(LongValue from, DatastoreV1.Value.Builder to) {
48+
protected void setValue(LongValue from, DatastoreV1.Value.Builder to) {
4949
to.setIntegerValue(from.get());
5050
}
5151
};

branches/tswast-patch-1/gcloud-java-datastore/src/main/java/com/google/gcloud/datastore/NullValue.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ public int getProtoFieldId() {
4040
}
4141

4242
@Override
43-
Void getValue(DatastoreV1.Value from) {
43+
protected Void getValue(DatastoreV1.Value from) {
4444
return null;
4545
}
4646

4747
@Override
48-
void setValue(NullValue from, DatastoreV1.Value.Builder to) {
48+
protected void setValue(NullValue from, DatastoreV1.Value.Builder to) {
4949
// nothing to set
5050
}
5151
};

0 commit comments

Comments
 (0)