Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

feat!: add gke_cluster_reference; buffer_size_percentage is now an int #18

Merged
merged 4 commits into from Nov 18, 2019
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/release-please.yml
@@ -1 +1,2 @@
releaseType: java-yoshi
bumpMinorPreMajor: true
2 changes: 1 addition & 1 deletion .kokoro/release/publish_javadoc.sh
Expand Up @@ -33,7 +33,7 @@ python3 -m pip install gcp-docuploader
# compile all packages
mvn clean install -B -DskipTests=true

NAME=gameservices
NAME=google-cloud-gameservices
VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3)

# build the docs
Expand Down
Expand Up @@ -15,7 +15,7 @@
*/

/**
* A client to gameservices API (prod).
* A client to Game Services API.
*
* <p>The interfaces provided are listed below, along with usage samples.
*
Expand Down
Expand Up @@ -35,7 +35,7 @@

// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* Base stub class for gameservices API (prod).
* Base stub class for Game Services API.
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
Expand Down
Expand Up @@ -35,7 +35,7 @@

// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* Base stub class for gameservices API (prod).
* Base stub class for Game Services API.
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
Expand Down
Expand Up @@ -41,7 +41,7 @@

// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* Base stub class for gameservices API (prod).
* Base stub class for Game Services API.
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
Expand Down
Expand Up @@ -36,7 +36,7 @@

// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* gRPC callable factory implementation for gameservices API (prod).
* gRPC callable factory implementation for Game Services API.
*
* <p>This class is for advanced usage.
*/
Expand Down
Expand Up @@ -46,7 +46,7 @@

// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* gRPC stub implementation for gameservices API (prod).
* gRPC stub implementation for Game Services API.
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
Expand Down
Expand Up @@ -36,7 +36,7 @@

// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* gRPC callable factory implementation for gameservices API (prod).
* gRPC callable factory implementation for Game Services API.
*
* <p>This class is for advanced usage.
*/
Expand Down
Expand Up @@ -46,7 +46,7 @@

// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* gRPC stub implementation for gameservices API (prod).
* gRPC stub implementation for Game Services API.
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
Expand Down
Expand Up @@ -36,7 +36,7 @@

// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* gRPC callable factory implementation for gameservices API (prod).
* gRPC callable factory implementation for Game Services API.
*
* <p>This class is for advanced usage.
*/
Expand Down
Expand Up @@ -52,7 +52,7 @@

// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* gRPC stub implementation for gameservices API (prod).
* gRPC stub implementation for Game Services API.
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
Expand Down
Expand Up @@ -36,7 +36,7 @@

// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* gRPC callable factory implementation for gameservices API (prod).
* gRPC callable factory implementation for Game Services API.
*
* <p>This class is for advanced usage.
*/
Expand Down
Expand Up @@ -46,7 +46,7 @@

// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* gRPC stub implementation for gameservices API (prod).
* gRPC stub implementation for Game Services API.
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
Expand Down
Expand Up @@ -36,7 +36,7 @@

// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* gRPC callable factory implementation for gameservices API (prod).
* gRPC callable factory implementation for Game Services API.
*
* <p>This class is for advanced usage.
*/
Expand Down
Expand Up @@ -46,7 +46,7 @@

// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* gRPC stub implementation for gameservices API (prod).
* gRPC stub implementation for Game Services API.
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
Expand Down
Expand Up @@ -35,7 +35,7 @@

// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* Base stub class for gameservices API (prod).
* Base stub class for Game Services API.
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
Expand Down
Expand Up @@ -35,7 +35,7 @@

// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* Base stub class for gameservices API (prod).
* Base stub class for Game Services API.
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
Expand Down
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
<differences>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/gaming/v1alpha/*OrBuilder</className>
<method>* get*(*)</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/gaming/v1alpha/*OrBuilder</className>
<method>boolean contains*(*)</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/gaming/v1alpha/*OrBuilder</className>
<method>boolean has*(*)</method>
</difference>

<!-- TODO: remove after 0.18.0 is released -->
<difference>
<differenceType>7006</differenceType>
<className>com/google/cloud/gaming/v1alpha/FleetAutoscalerSettings*</className>
<method>float getBufferSizePercentage()</method>
<to>int</to>
</difference>
<difference>
<differenceType>7005</differenceType>
<className>com/google/cloud/gaming/v1alpha/FleetAutoscalerSettings$Builder</className>
<method>com.google.cloud.gaming.v1alpha.FleetAutoscalerSettings$Builder setBufferSizePercentage(float)</method>
<to>com.google.cloud.gaming.v1alpha.FleetAutoscalerSettings$Builder setBufferSizePercentage(int)</to>
</difference>
</differences>
Expand Up @@ -72,69 +72,69 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "_policies.proto\022\033google.cloud.gaming.v1a"
+ "lpha\032\034google/api/annotations.proto\032(goog"
+ "le/cloud/gaming/v1alpha/common.proto\032#go"
+ "ogle/longrunning/operations.proto\032\036googl"
+ "e/protobuf/duration.proto\032 google/protob"
+ "uf/field_mask.proto\032\037google/protobuf/tim"
+ "estamp.proto\032\036google/protobuf/wrappers.p"
+ "roto\032\027google/api/client.proto\"x\n\035ListAll"
+ "ocationPoliciesRequest\022\016\n\006parent\030\001 \001(\t\022\021"
+ "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n"
+ "\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\205\001\n\036List"
+ "AllocationPoliciesResponse\022J\n\023allocation"
+ "_policies\030\001 \003(\0132-.google.cloud.gaming.v1"
+ "alpha.AllocationPolicy\022\027\n\017next_page_toke"
+ "n\030\002 \001(\t\"*\n\032GetAllocationPolicyRequest\022\014\n"
+ "\004name\030\001 \001(\t\"\227\001\n\035CreateAllocationPolicyRe"
+ "quest\022\016\n\006parent\030\001 \001(\t\022\034\n\024allocation_poli"
+ "cy_id\030\002 \001(\t\022H\n\021allocation_policy\030\003 \001(\0132-"
+ ".google.cloud.gaming.v1alpha.AllocationP"
+ "olicy\"-\n\035DeleteAllocationPolicyRequest\022\014"
+ "\n\004name\030\001 \001(\t\"\232\001\n\035UpdateAllocationPolicyR"
+ "equest\022H\n\021allocation_policy\030\001 \001(\0132-.goog"
+ "le.cloud.gaming.v1alpha.AllocationPolicy"
+ "\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf."
+ "FieldMask\"\274\003\n\020AllocationPolicy\022\014\n\004name\030\001"
+ " \001(\t\022/\n\013create_time\030\002 \001(\0132\032.google.proto"
+ "buf.Timestamp\022/\n\013update_time\030\003 \001(\0132\032.goo"
+ "gle.protobuf.Timestamp\022I\n\006labels\030\004 \003(\01329"
+ ".google.cloud.gaming.v1alpha.AllocationP"
+ "olicy.LabelsEntry\022-\n\010priority\030\010 \001(\0132\033.go"
+ "ogle.protobuf.Int32Value\022\016\n\006weight\030\t \001(\005"
+ "\022E\n\021cluster_selectors\030\n \003(\0132*.google.clo"
+ "ud.gaming.v1alpha.LabelSelector\0228\n\tsched"
+ "ules\030\013 \003(\0132%.google.cloud.gaming.v1alpha"
+ ".Schedule\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n"
+ "\005value\030\002 \001(\t:\0028\0012\302\010\n\031AllocationPoliciesS"
+ "ervice\022\326\001\n\026ListAllocationPolicies\022:.goog"
+ "le.cloud.gaming.v1alpha.ListAllocationPo"
+ "liciesRequest\032;.google.cloud.gaming.v1al"
+ "pha.ListAllocationPoliciesResponse\"C\202\323\344\223"
+ "\002=\022;/v1alpha/{parent=projects/*/location"
+ "s/*}/allocationPolicies\022\302\001\n\023GetAllocatio"
+ "nPolicy\0227.google.cloud.gaming.v1alpha.Ge"
+ "tAllocationPolicyRequest\032-.google.cloud."
+ "gaming.v1alpha.AllocationPolicy\"C\202\323\344\223\002=\022"
+ ";/v1alpha/{name=projects/*/locations/*/a"
+ "llocationPolicies/*}\022\313\001\n\026CreateAllocatio"
+ "nPolicy\022:.google.cloud.gaming.v1alpha.Cr"
+ "eateAllocationPolicyRequest\032\035.google.lon"
+ "grunning.Operation\"V\202\323\344\223\002P\";/v1alpha/{pa"
+ "rent=projects/*/locations/*}/allocationP"
+ "olicies:\021allocation_policy\022\270\001\n\026DeleteAll"
+ "ocationPolicy\022:.google.cloud.gaming.v1al"
+ "pha.DeleteAllocationPolicyRequest\032\035.goog"
+ "le.longrunning.Operation\"C\202\323\344\223\002=*;/v1alp"
+ "ha/{name=projects/*/locations/*/allocati"
+ "onPolicies/*}\022\335\001\n\026UpdateAllocationPolicy"
+ "\022:.google.cloud.gaming.v1alpha.UpdateAll"
+ "ocationPolicyRequest\032\035.google.longrunnin"
+ "g.Operation\"h\202\323\344\223\002b2M/v1alpha/{allocatio"
+ "n_policy.name=projects/*/locations/*/all"
+ "ocationPolicies/*}:\021allocation_policy\032\036\312"
+ "A\033gameservices.googleapis.comBf\n\037com.goo"
+ "gle.cloud.gaming.v1alphaP\001ZAgoogle.golan"
+ "g.org/genproto/googleapis/cloud/gaming/v"
+ "1alpha;gamingb\006proto3"
+ "ogle/longrunning/operations.proto\032 googl"
+ "e/protobuf/field_mask.proto\032\037google/prot"
+ "obuf/timestamp.proto\032\036google/protobuf/wr"
+ "appers.proto\032\027google/api/client.proto\"x\n"
+ "\035ListAllocationPoliciesRequest\022\016\n\006parent"
+ "\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030"
+ "\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\""
+ "\205\001\n\036ListAllocationPoliciesResponse\022J\n\023al"
+ "location_policies\030\001 \003(\0132-.google.cloud.g"
+ "aming.v1alpha.AllocationPolicy\022\027\n\017next_p"
+ "age_token\030\002 \001(\t\"*\n\032GetAllocationPolicyRe"
+ "quest\022\014\n\004name\030\001 \001(\t\"\227\001\n\035CreateAllocation"
+ "PolicyRequest\022\016\n\006parent\030\001 \001(\t\022\034\n\024allocat"
+ "ion_policy_id\030\002 \001(\t\022H\n\021allocation_policy"
+ "\030\003 \001(\0132-.google.cloud.gaming.v1alpha.All"
+ "ocationPolicy\"-\n\035DeleteAllocationPolicyR"
+ "equest\022\014\n\004name\030\001 \001(\t\"\232\001\n\035UpdateAllocatio"
+ "nPolicyRequest\022H\n\021allocation_policy\030\001 \001("
+ "\0132-.google.cloud.gaming.v1alpha.Allocati"
+ "onPolicy\022/\n\013update_mask\030\002 \001(\0132\032.google.p"
+ "rotobuf.FieldMask\"\274\003\n\020AllocationPolicy\022\014"
+ "\n\004name\030\001 \001(\t\022/\n\013create_time\030\002 \001(\0132\032.goog"
+ "le.protobuf.Timestamp\022/\n\013update_time\030\003 \001"
+ "(\0132\032.google.protobuf.Timestamp\022I\n\006labels"
+ "\030\004 \003(\01329.google.cloud.gaming.v1alpha.All"
+ "ocationPolicy.LabelsEntry\022-\n\010priority\030\010 "
+ "\001(\0132\033.google.protobuf.Int32Value\022\016\n\006weig"
+ "ht\030\t \001(\005\022E\n\021cluster_selectors\030\n \003(\0132*.go"
+ "ogle.cloud.gaming.v1alpha.LabelSelector\022"
+ "8\n\tschedules\030\013 \003(\0132%.google.cloud.gaming"
+ ".v1alpha.Schedule\032-\n\013LabelsEntry\022\013\n\003key\030"
+ "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\0012\363\010\n\031AllocationP"
+ "oliciesService\022\326\001\n\026ListAllocationPolicie"
+ "s\022:.google.cloud.gaming.v1alpha.ListAllo"
+ "cationPoliciesRequest\032;.google.cloud.gam"
+ "ing.v1alpha.ListAllocationPoliciesRespon"
+ "se\"C\202\323\344\223\002=\022;/v1alpha/{parent=projects/*/"
+ "locations/*}/allocationPolicies\022\302\001\n\023GetA"
+ "llocationPolicy\0227.google.cloud.gaming.v1"
+ "alpha.GetAllocationPolicyRequest\032-.googl"
+ "e.cloud.gaming.v1alpha.AllocationPolicy\""
+ "C\202\323\344\223\002=\022;/v1alpha/{name=projects/*/locat"
+ "ions/*/allocationPolicies/*}\022\313\001\n\026CreateA"
+ "llocationPolicy\022:.google.cloud.gaming.v1"
+ "alpha.CreateAllocationPolicyRequest\032\035.go"
+ "ogle.longrunning.Operation\"V\202\323\344\223\002P\";/v1a"
+ "lpha/{parent=projects/*/locations/*}/all"
+ "ocationPolicies:\021allocation_policy\022\270\001\n\026D"
+ "eleteAllocationPolicy\022:.google.cloud.gam"
+ "ing.v1alpha.DeleteAllocationPolicyReques"
+ "t\032\035.google.longrunning.Operation\"C\202\323\344\223\002="
+ "*;/v1alpha/{name=projects/*/locations/*/"
+ "allocationPolicies/*}\022\335\001\n\026UpdateAllocati"
+ "onPolicy\022:.google.cloud.gaming.v1alpha.U"
+ "pdateAllocationPolicyRequest\032\035.google.lo"
+ "ngrunning.Operation\"h\202\323\344\223\002b2M/v1alpha/{a"
+ "llocation_policy.name=projects/*/locatio"
+ "ns/*/allocationPolicies/*}:\021allocation_p"
+ "olicy\032O\312A\033gameservices.googleapis.com\322A."
+ "https://www.googleapis.com/auth/cloud-pl"
+ "atformBf\n\037com.google.cloud.gaming.v1alph"
+ "aP\001ZAgoogle.golang.org/genproto/googleap"
+ "is/cloud/gaming/v1alpha;gamingb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
Expand All @@ -150,7 +150,6 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.api.AnnotationsProto.getDescriptor(),
com.google.cloud.gaming.v1alpha.Common.getDescriptor(),
com.google.longrunning.OperationsProto.getDescriptor(),
com.google.protobuf.DurationProto.getDescriptor(),
com.google.protobuf.FieldMaskProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
com.google.protobuf.WrappersProto.getDescriptor(),
Expand Down Expand Up @@ -234,12 +233,12 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.ClientProto.defaultHost);
registry.add(com.google.api.AnnotationsProto.http);
registry.add(com.google.api.ClientProto.oauthScopes);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
com.google.api.AnnotationsProto.getDescriptor();
com.google.cloud.gaming.v1alpha.Common.getDescriptor();
com.google.longrunning.OperationsProto.getDescriptor();
com.google.protobuf.DurationProto.getDescriptor();
com.google.protobuf.FieldMaskProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
com.google.protobuf.WrappersProto.getDescriptor();
Expand Down