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 @@ -138,6 +138,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The projectId.
*/
@java.lang.Override
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
if (ref instanceof java.lang.String) {
Expand All @@ -160,6 +161,7 @@ public java.lang.String getProjectId() {
*
* @return The bytes for projectId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
if (ref instanceof java.lang.String) {
Expand All @@ -185,6 +187,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
* <code>repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
* </code>
*/
@java.lang.Override
public java.util.List<com.google.datastore.v1.Key> getKeysList() {
return keys_;
}
Expand All @@ -199,6 +202,7 @@ public java.util.List<com.google.datastore.v1.Key> getKeysList() {
* <code>repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
* </code>
*/
@java.lang.Override
public java.util.List<? extends com.google.datastore.v1.KeyOrBuilder> getKeysOrBuilderList() {
return keys_;
}
Expand All @@ -213,6 +217,7 @@ public java.util.List<? extends com.google.datastore.v1.KeyOrBuilder> getKeysOrB
* <code>repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
* </code>
*/
@java.lang.Override
public int getKeysCount() {
return keys_.size();
}
Expand All @@ -227,6 +232,7 @@ public int getKeysCount() {
* <code>repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
* </code>
*/
@java.lang.Override
public com.google.datastore.v1.Key getKeys(int index) {
return keys_.get(index);
}
Expand All @@ -241,6 +247,7 @@ public com.google.datastore.v1.Key getKeys(int index) {
* <code>repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
* </code>
*/
@java.lang.Override
public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index) {
return keys_.get(index);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* <code>repeated .google.datastore.v1.Key keys = 1;</code>
*/
@java.lang.Override
public java.util.List<com.google.datastore.v1.Key> getKeysList() {
return keys_;
}
Expand All @@ -142,6 +143,7 @@ public java.util.List<com.google.datastore.v1.Key> getKeysList() {
*
* <code>repeated .google.datastore.v1.Key keys = 1;</code>
*/
@java.lang.Override
public java.util.List<? extends com.google.datastore.v1.KeyOrBuilder> getKeysOrBuilderList() {
return keys_;
}
Expand All @@ -155,6 +157,7 @@ public java.util.List<? extends com.google.datastore.v1.KeyOrBuilder> getKeysOrB
*
* <code>repeated .google.datastore.v1.Key keys = 1;</code>
*/
@java.lang.Override
public int getKeysCount() {
return keys_.size();
}
Expand All @@ -168,6 +171,7 @@ public int getKeysCount() {
*
* <code>repeated .google.datastore.v1.Key keys = 1;</code>
*/
@java.lang.Override
public com.google.datastore.v1.Key getKeys(int index) {
return keys_.get(index);
}
Expand All @@ -181,6 +185,7 @@ public com.google.datastore.v1.Key getKeys(int index) {
*
* <code>repeated .google.datastore.v1.Key keys = 1;</code>
*/
@java.lang.Override
public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index) {
return keys_.get(index);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* <code>repeated .google.datastore.v1.Value values = 1;</code>
*/
@java.lang.Override
public java.util.List<com.google.datastore.v1.Value> getValuesList() {
return values_;
}
Expand All @@ -145,6 +146,7 @@ public java.util.List<com.google.datastore.v1.Value> getValuesList() {
*
* <code>repeated .google.datastore.v1.Value values = 1;</code>
*/
@java.lang.Override
public java.util.List<? extends com.google.datastore.v1.ValueOrBuilder> getValuesOrBuilderList() {
return values_;
}
Expand All @@ -159,6 +161,7 @@ public java.util.List<? extends com.google.datastore.v1.ValueOrBuilder> getValue
*
* <code>repeated .google.datastore.v1.Value values = 1;</code>
*/
@java.lang.Override
public int getValuesCount() {
return values_.size();
}
Expand All @@ -173,6 +176,7 @@ public int getValuesCount() {
*
* <code>repeated .google.datastore.v1.Value values = 1;</code>
*/
@java.lang.Override
public com.google.datastore.v1.Value getValues(int index) {
return values_.get(index);
}
Expand All @@ -187,6 +191,7 @@ public com.google.datastore.v1.Value getValues(int index) {
*
* <code>repeated .google.datastore.v1.Value values = 1;</code>
*/
@java.lang.Override
public com.google.datastore.v1.ValueOrBuilder getValuesOrBuilder(int index) {
return values_.get(index);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The projectId.
*/
@java.lang.Override
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
if (ref instanceof java.lang.String) {
Expand All @@ -162,6 +163,7 @@ public java.lang.String getProjectId() {
*
* @return The bytes for projectId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
if (ref instanceof java.lang.String) {
Expand All @@ -187,6 +189,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
* @return Whether the transactionOptions field is set.
*/
@java.lang.Override
public boolean hasTransactionOptions() {
return transactionOptions_ != null;
}
Expand All @@ -201,6 +204,7 @@ public boolean hasTransactionOptions() {
*
* @return The transactionOptions.
*/
@java.lang.Override
public com.google.datastore.v1.TransactionOptions getTransactionOptions() {
return transactionOptions_ == null
? com.google.datastore.v1.TransactionOptions.getDefaultInstance()
Expand All @@ -215,6 +219,7 @@ public com.google.datastore.v1.TransactionOptions getTransactionOptions() {
*
* <code>.google.datastore.v1.TransactionOptions transaction_options = 10;</code>
*/
@java.lang.Override
public com.google.datastore.v1.TransactionOptionsOrBuilder getTransactionOptionsOrBuilder() {
return getTransactionOptions();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* @return The transaction.
*/
@java.lang.Override
public com.google.protobuf.ByteString getTransaction() {
return transaction_;
}
Expand Down Expand Up @@ -454,6 +455,7 @@ public Builder mergeFrom(
*
* @return The transaction.
*/
@java.lang.Override
public com.google.protobuf.ByteString getTransaction() {
return transaction_;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,10 @@ public Mode findValueByNumber(int number) {
};

public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}

Expand Down Expand Up @@ -354,6 +358,7 @@ public TransactionSelectorCase getTransactionSelectorCase() {
*
* @return The projectId.
*/
@java.lang.Override
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
if (ref instanceof java.lang.String) {
Expand All @@ -376,6 +381,7 @@ public java.lang.String getProjectId() {
*
* @return The bytes for projectId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
if (ref instanceof java.lang.String) {
Expand All @@ -401,6 +407,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
* @return The enum numeric value on the wire for mode.
*/
@java.lang.Override
public int getModeValue() {
return mode_;
}
Expand All @@ -415,6 +422,7 @@ public int getModeValue() {
*
* @return The mode.
*/
@java.lang.Override
public com.google.datastore.v1.CommitRequest.Mode getMode() {
@SuppressWarnings("deprecation")
com.google.datastore.v1.CommitRequest.Mode result =
Expand All @@ -436,6 +444,7 @@ public com.google.datastore.v1.CommitRequest.Mode getMode() {
*
* @return The transaction.
*/
@java.lang.Override
public com.google.protobuf.ByteString getTransaction() {
if (transactionSelectorCase_ == 1) {
return (com.google.protobuf.ByteString) transactionSelector_;
Expand Down Expand Up @@ -463,6 +472,7 @@ public com.google.protobuf.ByteString getTransaction() {
*
* <code>repeated .google.datastore.v1.Mutation mutations = 6;</code>
*/
@java.lang.Override
public java.util.List<com.google.datastore.v1.Mutation> getMutationsList() {
return mutations_;
}
Expand All @@ -484,6 +494,7 @@ public java.util.List<com.google.datastore.v1.Mutation> getMutationsList() {
*
* <code>repeated .google.datastore.v1.Mutation mutations = 6;</code>
*/
@java.lang.Override
public java.util.List<? extends com.google.datastore.v1.MutationOrBuilder>
getMutationsOrBuilderList() {
return mutations_;
Expand All @@ -506,6 +517,7 @@ public java.util.List<com.google.datastore.v1.Mutation> getMutationsList() {
*
* <code>repeated .google.datastore.v1.Mutation mutations = 6;</code>
*/
@java.lang.Override
public int getMutationsCount() {
return mutations_.size();
}
Expand All @@ -527,6 +539,7 @@ public int getMutationsCount() {
*
* <code>repeated .google.datastore.v1.Mutation mutations = 6;</code>
*/
@java.lang.Override
public com.google.datastore.v1.Mutation getMutations(int index) {
return mutations_.get(index);
}
Expand All @@ -548,6 +561,7 @@ public com.google.datastore.v1.Mutation getMutations(int index) {
*
* <code>repeated .google.datastore.v1.Mutation mutations = 6;</code>
*/
@java.lang.Override
public com.google.datastore.v1.MutationOrBuilder getMutationsOrBuilder(int index) {
return mutations_.get(index);
}
Expand Down Expand Up @@ -1112,6 +1126,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
*
* @return The enum numeric value on the wire for mode.
*/
@java.lang.Override
public int getModeValue() {
return mode_;
}
Expand All @@ -1128,6 +1143,7 @@ public int getModeValue() {
* @return This builder for chaining.
*/
public Builder setModeValue(int value) {

mode_ = value;
onChanged();
return this;
Expand All @@ -1143,6 +1159,7 @@ public Builder setModeValue(int value) {
*
* @return The mode.
*/
@java.lang.Override
public com.google.datastore.v1.CommitRequest.Mode getMode() {
@SuppressWarnings("deprecation")
com.google.datastore.v1.CommitRequest.Mode result =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* <code>repeated .google.datastore.v1.MutationResult mutation_results = 3;</code>
*/
@java.lang.Override
public java.util.List<com.google.datastore.v1.MutationResult> getMutationResultsList() {
return mutationResults_;
}
Expand All @@ -150,6 +151,7 @@ public java.util.List<com.google.datastore.v1.MutationResult> getMutationResults
*
* <code>repeated .google.datastore.v1.MutationResult mutation_results = 3;</code>
*/
@java.lang.Override
public java.util.List<? extends com.google.datastore.v1.MutationResultOrBuilder>
getMutationResultsOrBuilderList() {
return mutationResults_;
Expand All @@ -164,6 +166,7 @@ public java.util.List<com.google.datastore.v1.MutationResult> getMutationResults
*
* <code>repeated .google.datastore.v1.MutationResult mutation_results = 3;</code>
*/
@java.lang.Override
public int getMutationResultsCount() {
return mutationResults_.size();
}
Expand All @@ -177,6 +180,7 @@ public int getMutationResultsCount() {
*
* <code>repeated .google.datastore.v1.MutationResult mutation_results = 3;</code>
*/
@java.lang.Override
public com.google.datastore.v1.MutationResult getMutationResults(int index) {
return mutationResults_.get(index);
}
Expand All @@ -190,6 +194,7 @@ public com.google.datastore.v1.MutationResult getMutationResults(int index) {
*
* <code>repeated .google.datastore.v1.MutationResult mutation_results = 3;</code>
*/
@java.lang.Override
public com.google.datastore.v1.MutationResultOrBuilder getMutationResultsOrBuilder(int index) {
return mutationResults_.get(index);
}
Expand All @@ -208,6 +213,7 @@ public com.google.datastore.v1.MutationResultOrBuilder getMutationResultsOrBuild
*
* @return The indexUpdates.
*/
@java.lang.Override
public int getIndexUpdates() {
return indexUpdates_;
}
Expand Down Expand Up @@ -969,6 +975,7 @@ public com.google.datastore.v1.MutationResult.Builder addMutationResultsBuilder(
*
* @return The indexUpdates.
*/
@java.lang.Override
public int getIndexUpdates() {
return indexUpdates_;
}
Expand Down
Loading