Skip to content

Conversation

@abhinav-qlogic
Copy link

Fixes #5442

Due to LocationType is a read-only field, So Have not added test case specific for dual-region or region locationType.

@abhinav-qlogic abhinav-qlogic requested a review from a team as a code owner July 11, 2019 06:46
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 11, 2019
@pmakani pmakani added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 11, 2019
@yoshi-kokoro yoshi-kokoro removed kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Jul 11, 2019
@codecov
Copy link

codecov bot commented Jul 11, 2019

Codecov Report

Merging #5725 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #5725      +/-   ##
============================================
+ Coverage     47.08%   47.09%   +0.01%     
- Complexity    24995    25066      +71     
============================================
  Files          2382     2389       +7     
  Lines        259281   259754     +473     
  Branches      29370    29406      +36     
============================================
+ Hits         122075   122331     +256     
- Misses       128263   128462     +199     
- Partials       8943     8961      +18
Impacted Files Coverage Δ Complexity Δ
...src/main/java/com/google/cloud/storage/Bucket.java 81.81% <100%> (+0.13%) 34 <0> (ø) ⬇️
...main/java/com/google/cloud/storage/BucketInfo.java 84.86% <100%> (+0.26%) 81 <1> (+3) ⬆️
...n/java/com/google/cloud/bigquery/BigQueryImpl.java 66.78% <0%> (-13.22%) 57% <0%> (ø)
...e/cloud/bigquery/testing/RemoteBigQueryHelper.java 61.4% <0%> (-1.1%) 6% <0%> (ø)
.../main/java/com/google/cloud/bigquery/BigQuery.java 77.55% <0%> (-0.9%) 0% <0%> (ø)
.../google/cloud/bigquery/spi/v2/HttpBigQueryRpc.java 5.23% <0%> (-0.87%) 2% <0%> (ø)
...gle/cloud/bigtable/data/v2/BigtableDataClient.java 89.58% <0%> (ø) 32% <0%> (ø) ⬇️
...bigtable/admin/v2/BigtableInstanceAdminClient.java 99.13% <0%> (ø) 44% <0%> (ø) ⬇️
...ud/bigtable/admin/v2/BigtableTableAdminClient.java 80% <0%> (ø) 27% <0%> (ø) ⬇️
...main/java/com/google/cloud/bigquery/RoutineId.java 76.92% <0%> (ø) 13% <0%> (?)
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ab6a85b...50c2d21. Read the comment docs.

@chingor13 chingor13 changed the title Storage:Fix locationType field is added in bucket Storage: Fix locationType field is added in bucket Jul 11, 2019
}

@Override
public Builder setLocationType(String locationType) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be a private setLocationType due to read-only.

}

@Override
public Builder setLocationType(String locationType) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Private here as well.

@JesseLovelace JesseLovelace self-requested a review July 11, 2019 23:36
@JesseLovelace JesseLovelace added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 15, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 15, 2019
Copy link

@damienlog damienlog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate of #

@frankyn
Copy link
Contributor

frankyn commented Jul 17, 2019 via email

@JesseLovelace JesseLovelace merged commit ec43a94 into googleapis:master Jul 17, 2019
@JesseLovelace JesseLovelace mentioned this pull request Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Storage: Support bucket.locationType

7 participants