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

Commit

Permalink
chore: release gapic-generator-java v1.0.13 (#586)
Browse files Browse the repository at this point in the history
Committer: @miraleung
PiperOrigin-RevId: 379784268

Source-Link: googleapis/googleapis@551681f

Source-Link: googleapis/googleapis-gen@478f365
  • Loading branch information
gcf-owl-bot[bot] committed Jun 16, 2021
1 parent 2529149 commit dfb3adb
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 29 deletions.
Expand Up @@ -311,9 +311,9 @@ private Builder(AutoscalingPolicyName autoscalingPolicyName) {
Preconditions.checkArgument(
Objects.equals(autoscalingPolicyName.pathTemplate, PROJECT_LOCATION_AUTOSCALING_POLICY),
"toBuilder is only supported when AutoscalingPolicyName has the pattern of projects/{project}/locations/{location}/autoscalingPolicies/{autoscaling_policy}");
project = autoscalingPolicyName.project;
location = autoscalingPolicyName.location;
autoscalingPolicy = autoscalingPolicyName.autoscalingPolicy;
this.project = autoscalingPolicyName.project;
this.location = autoscalingPolicyName.location;
this.autoscalingPolicy = autoscalingPolicyName.autoscalingPolicy;
}

public AutoscalingPolicyName build() {
Expand Down
Expand Up @@ -211,9 +211,9 @@ public Builder setCluster(String cluster) {
}

private Builder(ClusterName clusterName) {
project = clusterName.project;
location = clusterName.location;
cluster = clusterName.cluster;
this.project = clusterName.project;
this.location = clusterName.location;
this.cluster = clusterName.cluster;
}

public ClusterName build() {
Expand Down
Expand Up @@ -181,8 +181,8 @@ public Builder setLocation(String location) {
}

private Builder(LocationName locationName) {
project = locationName.project;
location = locationName.location;
this.project = locationName.project;
this.location = locationName.location;
}

public LocationName build() {
Expand Down
Expand Up @@ -180,8 +180,8 @@ public Builder setRegion(String region) {
}

private Builder(RegionName regionName) {
project = regionName.project;
region = regionName.region;
this.project = regionName.project;
this.region = regionName.region;
}

public RegionName build() {
Expand Down
Expand Up @@ -211,9 +211,9 @@ public Builder setService(String service) {
}

private Builder(ServiceName serviceName) {
project = serviceName.project;
location = serviceName.location;
service = serviceName.service;
this.project = serviceName.project;
this.location = serviceName.location;
this.service = serviceName.service;
}

public ServiceName build() {
Expand Down
Expand Up @@ -308,9 +308,9 @@ private Builder(WorkflowTemplateName workflowTemplateName) {
Preconditions.checkArgument(
Objects.equals(workflowTemplateName.pathTemplate, PROJECT_REGION_WORKFLOW_TEMPLATE),
"toBuilder is only supported when WorkflowTemplateName has the pattern of projects/{project}/regions/{region}/workflowTemplates/{workflow_template}");
project = workflowTemplateName.project;
region = workflowTemplateName.region;
workflowTemplate = workflowTemplateName.workflowTemplate;
this.project = workflowTemplateName.project;
this.region = workflowTemplateName.region;
this.workflowTemplate = workflowTemplateName.workflowTemplate;
}

public WorkflowTemplateName build() {
Expand Down
Expand Up @@ -311,9 +311,9 @@ private Builder(AutoscalingPolicyName autoscalingPolicyName) {
Preconditions.checkArgument(
Objects.equals(autoscalingPolicyName.pathTemplate, PROJECT_LOCATION_AUTOSCALING_POLICY),
"toBuilder is only supported when AutoscalingPolicyName has the pattern of projects/{project}/locations/{location}/autoscalingPolicies/{autoscaling_policy}");
project = autoscalingPolicyName.project;
location = autoscalingPolicyName.location;
autoscalingPolicy = autoscalingPolicyName.autoscalingPolicy;
this.project = autoscalingPolicyName.project;
this.location = autoscalingPolicyName.location;
this.autoscalingPolicy = autoscalingPolicyName.autoscalingPolicy;
}

public AutoscalingPolicyName build() {
Expand Down
Expand Up @@ -211,9 +211,9 @@ public Builder setCluster(String cluster) {
}

private Builder(ClusterName clusterName) {
project = clusterName.project;
location = clusterName.location;
cluster = clusterName.cluster;
this.project = clusterName.project;
this.location = clusterName.location;
this.cluster = clusterName.cluster;
}

public ClusterName build() {
Expand Down
Expand Up @@ -181,8 +181,8 @@ public Builder setLocation(String location) {
}

private Builder(LocationName locationName) {
project = locationName.project;
location = locationName.location;
this.project = locationName.project;
this.location = locationName.location;
}

public LocationName build() {
Expand Down
Expand Up @@ -180,8 +180,8 @@ public Builder setRegion(String region) {
}

private Builder(RegionName regionName) {
project = regionName.project;
region = regionName.region;
this.project = regionName.project;
this.region = regionName.region;
}

public RegionName build() {
Expand Down
Expand Up @@ -308,9 +308,9 @@ private Builder(WorkflowTemplateName workflowTemplateName) {
Preconditions.checkArgument(
Objects.equals(workflowTemplateName.pathTemplate, PROJECT_REGION_WORKFLOW_TEMPLATE),
"toBuilder is only supported when WorkflowTemplateName has the pattern of projects/{project}/regions/{region}/workflowTemplates/{workflow_template}");
project = workflowTemplateName.project;
region = workflowTemplateName.region;
workflowTemplate = workflowTemplateName.workflowTemplate;
this.project = workflowTemplateName.project;
this.region = workflowTemplateName.region;
this.workflowTemplate = workflowTemplateName.workflowTemplate;
}

public WorkflowTemplateName build() {
Expand Down

0 comments on commit dfb3adb

Please sign in to comment.