FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: Relax client-side validation for BigQuery entity IDs by jinseopkim0 · Pull Request #4000 · googleapis/java-bigquery · GitHub

This repository was archived by the owner on Mar 23, 2026. It is now read-only.
/ java-bigquery Public archive
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .java  (5) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
    • ConnectionProperty.java
    • DatasetId.java
    • ModelId.java
    • RoutineId.java
    • TableId.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

package com.google.cloud.bigquery;

import static com.google.common.base.Preconditions.checkNotNull;

import com.google.common.base.Function;
import com.google.common.base.MoreObjects;
import com.google.common.base.Objects;
Expand Down Expand Up @@ -82,8 +80,8 @@ public ConnectionProperty build() {
}

private ConnectionProperty(Builder builder) {
this.key = checkNotNull(builder.key, "Required key is null or empty");
this.value = checkNotNull(builder.value, "Required value is null or empty");
this.key = builder.key;
this.value = builder.value;
}

/** Return the key of property. */
Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@

package com.google.cloud.bigquery;

import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Strings.isNullOrEmpty;

import com.google.api.services.bigquery.model.DatasetReference;
import io.opentelemetry.api.common.Attributes;
import java.io.Serializable;
Expand All @@ -43,7 +40,6 @@ public String getDataset() {
}

private DatasetId(String project, String dataset) {
checkArgument(!isNullOrEmpty(dataset), "Provided dataset is null or empty");
this.project = project;
this.dataset = dataset;
}
Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ public String getModel() {
}

private ModelId(String project, String dataset, String model) {
checkArgument(!isNullOrEmpty(dataset), "Provided dataset is null or empty");
checkArgument(!isNullOrEmpty(model), "Provided model is null or empty");
this.project = project;
this.dataset = dataset;
this.model = model;
Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ public String getRoutine() {
}

private RoutineId(String project, String dataset, String routine) {
checkArgument(!isNullOrEmpty(dataset), "Provided dataset is null or empty");
checkArgument(!isNullOrEmpty(routine), "Provided routine is null or empty");
this.project = project;
this.dataset = dataset;
this.routine = routine;
Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ public String getIAMResourceName() {
}

private TableId(String project, String dataset, String table) {
checkArgument(!isNullOrEmpty(dataset), "Provided dataset is null or empty");
checkArgument(!isNullOrEmpty(table), "Provided table is null or empty");
this.project = project;
this.dataset = dataset;
this.table = table;
Expand Down
Loading

Back | FazBrowse Home | New Git URL