Builder(String projectId) { this.projectId = validateDatabase(projectId); ancestors = new LinkedList<>(); }
Builder(String projectId, String kind) { this(projectId); this.kind = validateKind(kind); }
/** Sets the default namespace to be used by the datastore service. */ public Builder setNamespace(String namespace) { this.namespace = validateNamespace(namespace); return this; } }
/** Sets the namespace for the GQL query. */ public Builder<V> setNamespace(String namespace) { this.namespace = validateNamespace(namespace); return this; }
/** Sets the project ID of the key. */ public B setProjectId(String projectId) { this.projectId = validateDatabase(projectId); return self(); }
/** Sets the kind of the key. */ public B setKind(String kind) { this.kind = validateKind(kind); return self(); }
/** Sets the namespace of the key. */ public B setNamespace(String namespace) { this.namespace = validateNamespace(namespace); return self(); }
Builder(String projectId) { this.projectId = validateDatabase(projectId); ancestors = new LinkedList<>(); }
Builder(String projectId, String kind) { this(projectId); this.kind = validateKind(kind); }
/** Sets the namespace for the GQL query. */ public Builder<V> setNamespace(String namespace) { this.namespace = validateNamespace(namespace); return this; }
/** Sets the project ID of the key. */ public B setProjectId(String projectId) { this.projectId = validateDatabase(projectId); return self(); }
/** Sets the kind of the key. */ public B setKind(String kind) { this.kind = validateKind(kind); return self(); }
/** Sets the default namespace to be used by the datastore service. */ public Builder setNamespace(String namespace) { this.namespace = validateNamespace(namespace); return this; } }
/** Sets the namespace of the key. */ public B setNamespace(String namespace) { this.namespace = validateNamespace(namespace); return self(); }