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

Commit

Permalink
chore: Re-generated to pick up changes from googleapis (#406)
Browse files Browse the repository at this point in the history
* changes without context

        autosynth cannot find the source of changes triggered by earlier changes in this
        repository, or by version upgrades to tools such as linters.

* chore: update gapic-generator-java to 0.0.16

Committer: @miraleung
PiperOrigin-RevId: 350067652

Source-Author: Google APIs <noreply@google.com>
Source-Date: Mon Jan 4 19:45:21 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: ad3bb00ed7750cd0625b3a36e0e2eff29f778e4a
Source-Link: googleapis/googleapis@ad3bb00

* chore: update gapic-generator-java to 0.0.18

Committer: @miraleung
PiperOrigin-RevId: 350949863

Source-Author: Google APIs <noreply@google.com>
Source-Date: Sat Jan 9 14:01:49 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 91e206bcfeaf8948ea03fe3cb1b7616108496cd3
Source-Link: googleapis/googleapis@91e206b

* chore: update Go generator, rules_go, and protobuf

PiperOrigin-RevId: 352816749

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Jan 20 10:06:23 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: ceaaf31b3d13badab7cf9d3b570f5639db5593d9
Source-Link: googleapis/googleapis@ceaaf31

* chore: format code

Co-authored-by: Neenu Shaji <Neenu1995@users.noreply.github.com>
Co-authored-by: Neenu1995 <neenushaji@google.com>
  • Loading branch information
3 people committed Feb 5, 2021
1 parent e3cb4e2 commit f30dc4d
Show file tree
Hide file tree
Showing 30 changed files with 45 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@
*
* <p>Please refer to the GitHub repository's samples for more quickstart code snippets.
*/
@BetaApi
@Generated("by gapic-generator")
@Generated("by gapic-generator-java")
public class AlertPolicyServiceClient implements BackgroundResource {
private final AlertPolicyServiceSettings settings;
private final AlertPolicyServiceStub stub;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@
*
* <p>Please refer to the GitHub repository's samples for more quickstart code snippets.
*/
@BetaApi
@Generated("by gapic-generator")
@Generated("by gapic-generator-java")
public class GroupServiceClient implements BackgroundResource {
private final GroupServiceSettings settings;
private final GroupServiceStub stub;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@
*
* <p>Please refer to the GitHub repository's samples for more quickstart code snippets.
*/
@BetaApi
@Generated("by gapic-generator")
@Generated("by gapic-generator-java")
public class MetricServiceClient implements BackgroundResource {
private final MetricServiceSettings settings;
private final MetricServiceStub stub;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@
*
* <p>Please refer to the GitHub repository's samples for more quickstart code snippets.
*/
@BetaApi
@Generated("by gapic-generator")
@Generated("by gapic-generator-java")
public class NotificationChannelServiceClient implements BackgroundResource {
private final NotificationChannelServiceSettings settings;
private final NotificationChannelServiceStub stub;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@
*
* <p>Please refer to the GitHub repository's samples for more quickstart code snippets.
*/
@BetaApi
@Generated("by gapic-generator")
@Generated("by gapic-generator-java")
public class ServiceMonitoringServiceClient implements BackgroundResource {
private final ServiceMonitoringServiceSettings settings;
private final ServiceMonitoringServiceStub stub;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@
*
* <p>Please refer to the GitHub repository's samples for more quickstart code snippets.
*/
@BetaApi
@Generated("by gapic-generator")
@Generated("by gapic-generator-java")
public class UptimeCheckServiceClient implements BackgroundResource {
private final UptimeCheckServiceSettings settings;
private final UptimeCheckServiceStub stub;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
@Generated("by gapic-generator")
@Generated("by gapic-generator-java")
public abstract class AlertPolicyServiceStub implements BackgroundResource {

public UnaryCallable<ListAlertPoliciesRequest, ListAlertPoliciesPagedResponse>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@
* alertPolicyServiceSettingsBuilder.build();
* }</pre>
*/
@BetaApi
@Generated("by gapic-generator-java")
public class AlertPolicyServiceStubSettings extends StubSettings<AlertPolicyServiceStubSettings> {
/** The default scopes of the service. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
@Generated("by gapic-generator")
@Generated("by gapic-generator-java")
public abstract class GroupServiceStub implements BackgroundResource {

public UnaryCallable<ListGroupsRequest, ListGroupsPagedResponse> listGroupsPagedCallable() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@
* GroupServiceStubSettings groupServiceSettings = groupServiceSettingsBuilder.build();
* }</pre>
*/
@BetaApi
@Generated("by gapic-generator-java")
public class GroupServiceStubSettings extends StubSettings<GroupServiceStubSettings> {
/** The default scopes of the service. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
*
* <p>This class is for advanced usage.
*/
@Generated("by gapic-generator")
@Generated("by gapic-generator-java")
public class GrpcAlertPolicyServiceCallableFactory implements GrpcStubCallableFactory {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
*
* <p>This class is for advanced usage.
*/
@Generated("by gapic-generator")
@Generated("by gapic-generator-java")
public class GrpcGroupServiceCallableFactory implements GrpcStubCallableFactory {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
*
* <p>This class is for advanced usage.
*/
@Generated("by gapic-generator")
@Generated("by gapic-generator-java")
public class GrpcMetricServiceCallableFactory implements GrpcStubCallableFactory {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
*
* <p>This class is for advanced usage.
*/
@Generated("by gapic-generator")
@Generated("by gapic-generator-java")
public class GrpcNotificationChannelServiceCallableFactory implements GrpcStubCallableFactory {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
*
* <p>This class is for advanced usage.
*/
@Generated("by gapic-generator")
@Generated("by gapic-generator-java")
public class GrpcServiceMonitoringServiceCallableFactory implements GrpcStubCallableFactory {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
*
* <p>This class is for advanced usage.
*/
@Generated("by gapic-generator")
@Generated("by gapic-generator-java")
public class GrpcUptimeCheckServiceCallableFactory implements GrpcStubCallableFactory {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
@Generated("by gapic-generator")
@Generated("by gapic-generator-java")
public abstract class MetricServiceStub implements BackgroundResource {

public UnaryCallable<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@
* MetricServiceStubSettings metricServiceSettings = metricServiceSettingsBuilder.build();
* }</pre>
*/
@BetaApi
@Generated("by gapic-generator-java")
public class MetricServiceStubSettings extends StubSettings<MetricServiceStubSettings> {
/** The default scopes of the service. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
@Generated("by gapic-generator")
@Generated("by gapic-generator-java")
public abstract class NotificationChannelServiceStub implements BackgroundResource {

public UnaryCallable<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@
* notificationChannelServiceSettingsBuilder.build();
* }</pre>
*/
@BetaApi
@Generated("by gapic-generator-java")
public class NotificationChannelServiceStubSettings
extends StubSettings<NotificationChannelServiceStubSettings> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
@Generated("by gapic-generator")
@Generated("by gapic-generator-java")
public abstract class ServiceMonitoringServiceStub implements BackgroundResource {

public UnaryCallable<CreateServiceRequest, Service> createServiceCallable() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@
* serviceMonitoringServiceSettingsBuilder.build();
* }</pre>
*/
@BetaApi
@Generated("by gapic-generator-java")
public class ServiceMonitoringServiceStubSettings
extends StubSettings<ServiceMonitoringServiceStubSettings> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
@Generated("by gapic-generator")
@Generated("by gapic-generator-java")
public abstract class UptimeCheckServiceStub implements BackgroundResource {

public UnaryCallable<ListUptimeCheckConfigsRequest, ListUptimeCheckConfigsPagedResponse>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
* uptimeCheckServiceSettingsBuilder.build();
* }</pre>
*/
@BetaApi
@Generated("by gapic-generator-java")
public class UptimeCheckServiceStubSettings extends StubSettings<UptimeCheckServiceStubSettings> {
/** The default scopes of the service. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ public void getAlertPolicyTest() throws Exception {
.setName(
AlertPolicyName.ofProjectAlertPolicyName("[PROJECT]", "[ALERT_POLICY]").toString())
.setDisplayName("displayName1714148973")
.setDocumentation(AlertPolicy.Documentation.newBuilder().build())
.putAllUserLabels(new HashMap<String, String>())
.addAllConditions(new ArrayList<AlertPolicy.Condition>())
.setEnabled(BoolValue.newBuilder().build())
Expand Down Expand Up @@ -327,6 +328,7 @@ public void getAlertPolicyTest2() throws Exception {
.setName(
AlertPolicyName.ofProjectAlertPolicyName("[PROJECT]", "[ALERT_POLICY]").toString())
.setDisplayName("displayName1714148973")
.setDocumentation(AlertPolicy.Documentation.newBuilder().build())
.putAllUserLabels(new HashMap<String, String>())
.addAllConditions(new ArrayList<AlertPolicy.Condition>())
.setEnabled(BoolValue.newBuilder().build())
Expand Down Expand Up @@ -374,6 +376,7 @@ public void createAlertPolicyTest() throws Exception {
.setName(
AlertPolicyName.ofProjectAlertPolicyName("[PROJECT]", "[ALERT_POLICY]").toString())
.setDisplayName("displayName1714148973")
.setDocumentation(AlertPolicy.Documentation.newBuilder().build())
.putAllUserLabels(new HashMap<String, String>())
.addAllConditions(new ArrayList<AlertPolicy.Condition>())
.setEnabled(BoolValue.newBuilder().build())
Expand Down Expand Up @@ -424,6 +427,7 @@ public void createAlertPolicyTest2() throws Exception {
.setName(
AlertPolicyName.ofProjectAlertPolicyName("[PROJECT]", "[ALERT_POLICY]").toString())
.setDisplayName("displayName1714148973")
.setDocumentation(AlertPolicy.Documentation.newBuilder().build())
.putAllUserLabels(new HashMap<String, String>())
.addAllConditions(new ArrayList<AlertPolicy.Condition>())
.setEnabled(BoolValue.newBuilder().build())
Expand Down Expand Up @@ -474,6 +478,7 @@ public void createAlertPolicyTest3() throws Exception {
.setName(
AlertPolicyName.ofProjectAlertPolicyName("[PROJECT]", "[ALERT_POLICY]").toString())
.setDisplayName("displayName1714148973")
.setDocumentation(AlertPolicy.Documentation.newBuilder().build())
.putAllUserLabels(new HashMap<String, String>())
.addAllConditions(new ArrayList<AlertPolicy.Condition>())
.setEnabled(BoolValue.newBuilder().build())
Expand Down Expand Up @@ -524,6 +529,7 @@ public void createAlertPolicyTest4() throws Exception {
.setName(
AlertPolicyName.ofProjectAlertPolicyName("[PROJECT]", "[ALERT_POLICY]").toString())
.setDisplayName("displayName1714148973")
.setDocumentation(AlertPolicy.Documentation.newBuilder().build())
.putAllUserLabels(new HashMap<String, String>())
.addAllConditions(new ArrayList<AlertPolicy.Condition>())
.setEnabled(BoolValue.newBuilder().build())
Expand Down Expand Up @@ -643,6 +649,7 @@ public void updateAlertPolicyTest() throws Exception {
.setName(
AlertPolicyName.ofProjectAlertPolicyName("[PROJECT]", "[ALERT_POLICY]").toString())
.setDisplayName("displayName1714148973")
.setDocumentation(AlertPolicy.Documentation.newBuilder().build())
.putAllUserLabels(new HashMap<String, String>())
.addAllConditions(new ArrayList<AlertPolicy.Condition>())
.setEnabled(BoolValue.newBuilder().build())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,7 @@ public void getMetricDescriptorTest() throws Exception {
.setUnit("unit3594628")
.setDescription("description-1724546052")
.setDisplayName("displayName1714148973")
.setMetadata(MetricDescriptor.MetricDescriptorMetadata.newBuilder().build())
.addAllMonitoredResourceTypes(new ArrayList<String>())
.build();
mockMetricService.addResponse(expectedResponse);
Expand Down Expand Up @@ -617,6 +618,7 @@ public void getMetricDescriptorTest2() throws Exception {
.setUnit("unit3594628")
.setDescription("description-1724546052")
.setDisplayName("displayName1714148973")
.setMetadata(MetricDescriptor.MetricDescriptorMetadata.newBuilder().build())
.addAllMonitoredResourceTypes(new ArrayList<String>())
.build();
mockMetricService.addResponse(expectedResponse);
Expand Down Expand Up @@ -661,6 +663,7 @@ public void createMetricDescriptorTest() throws Exception {
.setUnit("unit3594628")
.setDescription("description-1724546052")
.setDisplayName("displayName1714148973")
.setMetadata(MetricDescriptor.MetricDescriptorMetadata.newBuilder().build())
.addAllMonitoredResourceTypes(new ArrayList<String>())
.build();
mockMetricService.addResponse(expectedResponse);
Expand Down Expand Up @@ -709,6 +712,7 @@ public void createMetricDescriptorTest2() throws Exception {
.setUnit("unit3594628")
.setDescription("description-1724546052")
.setDisplayName("displayName1714148973")
.setMetadata(MetricDescriptor.MetricDescriptorMetadata.newBuilder().build())
.addAllMonitoredResourceTypes(new ArrayList<String>())
.build();
mockMetricService.addResponse(expectedResponse);
Expand Down Expand Up @@ -757,6 +761,7 @@ public void createMetricDescriptorTest3() throws Exception {
.setUnit("unit3594628")
.setDescription("description-1724546052")
.setDisplayName("displayName1714148973")
.setMetadata(MetricDescriptor.MetricDescriptorMetadata.newBuilder().build())
.addAllMonitoredResourceTypes(new ArrayList<String>())
.build();
mockMetricService.addResponse(expectedResponse);
Expand Down Expand Up @@ -805,6 +810,7 @@ public void createMetricDescriptorTest4() throws Exception {
.setUnit("unit3594628")
.setDescription("description-1724546052")
.setDisplayName("displayName1714148973")
.setMetadata(MetricDescriptor.MetricDescriptorMetadata.newBuilder().build())
.addAllMonitoredResourceTypes(new ArrayList<String>())
.build();
mockMetricService.addResponse(expectedResponse);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ public void createServiceTest() throws Exception {
Service.newBuilder()
.setName(ServiceName.ofProjectServiceName("[PROJECT]", "[SERVICE]").toString())
.setDisplayName("displayName1714148973")
.setTelemetry(Service.Telemetry.newBuilder().build())
.build();
mockServiceMonitoringService.addResponse(expectedResponse);

Expand Down Expand Up @@ -149,6 +150,7 @@ public void createServiceTest2() throws Exception {
Service.newBuilder()
.setName(ServiceName.ofProjectServiceName("[PROJECT]", "[SERVICE]").toString())
.setDisplayName("displayName1714148973")
.setTelemetry(Service.Telemetry.newBuilder().build())
.build();
mockServiceMonitoringService.addResponse(expectedResponse);

Expand Down Expand Up @@ -191,6 +193,7 @@ public void createServiceTest3() throws Exception {
Service.newBuilder()
.setName(ServiceName.ofProjectServiceName("[PROJECT]", "[SERVICE]").toString())
.setDisplayName("displayName1714148973")
.setTelemetry(Service.Telemetry.newBuilder().build())
.build();
mockServiceMonitoringService.addResponse(expectedResponse);

Expand Down Expand Up @@ -233,6 +236,7 @@ public void createServiceTest4() throws Exception {
Service.newBuilder()
.setName(ServiceName.ofProjectServiceName("[PROJECT]", "[SERVICE]").toString())
.setDisplayName("displayName1714148973")
.setTelemetry(Service.Telemetry.newBuilder().build())
.build();
mockServiceMonitoringService.addResponse(expectedResponse);

Expand Down Expand Up @@ -275,6 +279,7 @@ public void getServiceTest() throws Exception {
Service.newBuilder()
.setName(ServiceName.ofProjectServiceName("[PROJECT]", "[SERVICE]").toString())
.setDisplayName("displayName1714148973")
.setTelemetry(Service.Telemetry.newBuilder().build())
.build();
mockServiceMonitoringService.addResponse(expectedResponse);

Expand Down Expand Up @@ -314,6 +319,7 @@ public void getServiceTest2() throws Exception {
Service.newBuilder()
.setName(ServiceName.ofProjectServiceName("[PROJECT]", "[SERVICE]").toString())
.setDisplayName("displayName1714148973")
.setTelemetry(Service.Telemetry.newBuilder().build())
.build();
mockServiceMonitoringService.addResponse(expectedResponse);

Expand Down Expand Up @@ -529,6 +535,7 @@ public void updateServiceTest() throws Exception {
Service.newBuilder()
.setName(ServiceName.ofProjectServiceName("[PROJECT]", "[SERVICE]").toString())
.setDisplayName("displayName1714148973")
.setTelemetry(Service.Telemetry.newBuilder().build())
.build();
mockServiceMonitoringService.addResponse(expectedResponse);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
*
* Protobuf enum {@code google.monitoring.v3.ServiceTier}
*/
@java.lang.Deprecated
public enum ServiceTier implements com.google.protobuf.ProtocolMessageEnum {
/**
*
Expand Down
4 changes: 2 additions & 2 deletions synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "857f70daef9f4c38f042fb3dfb7b8423ae18fd19",
"internalRef": "346372957"
"sha": "ceaaf31b3d13badab7cf9d3b570f5639db5593d9",
"internalRef": "352816749"
}
},
{
Expand Down
Loading

0 comments on commit f30dc4d

Please sign in to comment.