/** * * * <pre> * The ID of the project against which to make the request. * </pre> * * <code>string project_id = 8;</code> */ public Builder setProjectId(java.lang.String value) { if (value == null) { throw new NullPointerException(); } projectId_ = value; onChanged(); return this; } /**
/** * * * <pre> * The ID of the project against which to make the request. * </pre> * * <code>string project_id = 8;</code> */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; onChanged(); return this; }
/** * * * <pre> * The transaction identifier, returned by a call to * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction]. * </pre> * * <code>bytes transaction = 1;</code> */ public Builder setTransaction(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } transaction_ = value; onChanged(); return this; } /**
/** * * * <pre> * The ID of the project against which to make the request. * </pre> * * <code>string project_id = 8;</code> */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; onChanged(); return this; }
/** * <pre> * The ID of the project against which to make the request. * </pre> * * <code>optional string project_id = 8;</code> */ public Builder setProjectId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } projectId_ = value; onChanged(); return this; } /**
/** * * * <pre> * The ID of the project against which to make the request. * </pre> * * <code>string project_id = 8;</code> */ public Builder setProjectId(java.lang.String value) { if (value == null) { throw new NullPointerException(); } projectId_ = value; onChanged(); return this; } /**
/** * * * <pre> * The transaction identifier, returned by a call to * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction]. * </pre> * * <code>bytes transaction = 1;</code> */ public Builder setTransaction(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } transaction_ = value; onChanged(); return this; } /**
/** * <pre> * The transaction identifier, returned by a call to * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction]. * </pre> * * <code>optional bytes transaction = 1;</code> */ public Builder setTransaction(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } transaction_ = value; onChanged(); return this; } /**
/** * <pre> * The ID of the project against which to make the request. * </pre> * * <code>optional string project_id = 8;</code> */ public Builder setProjectIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; onChanged(); return this; }
/** * * * <pre> * The transaction identifier, returned by a call to * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction]. * </pre> * * <code>bytes transaction = 1;</code> */ public Builder clearTransaction() { transaction_ = getDefaultInstance().getTransaction(); onChanged(); return this; }
/** * <pre> * The transaction identifier, returned by a call to * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction]. * </pre> * * <code>optional bytes transaction = 1;</code> */ public Builder clearTransaction() { transaction_ = getDefaultInstance().getTransaction(); onChanged(); return this; } public final Builder setUnknownFields(
/** * * * <pre> * The ID of the project against which to make the request. * </pre> * * <code>string project_id = 8;</code> */ public Builder clearProjectId() { projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.datastore.v1.RollbackRequest other) { if (other == com.google.datastore.v1.RollbackRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); } if (other.getTransaction() != com.google.protobuf.ByteString.EMPTY) { setTransaction(other.getTransaction()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <pre> * The ID of the project against which to make the request. * </pre> * * <code>optional string project_id = 8;</code> */ public Builder clearProjectId() { projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.datastore.v1.RollbackRequest other) { if (other == com.google.datastore.v1.RollbackRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); } if (other.getTransaction() != com.google.protobuf.ByteString.EMPTY) { setTransaction(other.getTransaction()); } onChanged(); return this; }
/** * * * <pre> * The transaction identifier, returned by a call to * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction]. * </pre> * * <code>bytes transaction = 1;</code> */ public Builder clearTransaction() { transaction_ = getDefaultInstance().getTransaction(); onChanged(); return this; }
public Builder mergeFrom(com.google.datastore.v1.RollbackRequest other) { if (other == com.google.datastore.v1.RollbackRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); } if (other.getTransaction() != com.google.protobuf.ByteString.EMPTY) { setTransaction(other.getTransaction()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * The ID of the project against which to make the request. * </pre> * * <code>string project_id = 8;</code> */ public Builder clearProjectId() { projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /**