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.12 (#59)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/c521442c-930c-4804-901d-2b7b7a3c6ea3/targets

- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

PiperOrigin-RevId: 378718217
Source-Link: googleapis/googleapis@08c4eeb
Source-Link: googleapis/googleapis-gen@9a27cb4
  • Loading branch information
yoshi-automation committed Jun 11, 2021
1 parent ec7c4ee commit ad594a1
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 7 deletions.
Expand Up @@ -368,6 +368,11 @@ public static String getDefaultEndpoint() {
return "metastore.googleapis.com:443";
}

/** Returns the default mTLS service endpoint. */
public static String getDefaultMtlsEndpoint() {
return "metastore.mtls.googleapis.com:443";
}

/** Returns the default service scopes. */
public static List<String> getDefaultServiceScopes() {
return DEFAULT_SERVICE_SCOPES;
Expand Down Expand Up @@ -597,6 +602,8 @@ private static Builder createDefault() {
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);

return initDefaults(builder);
}
Expand Down
Expand Up @@ -487,6 +487,11 @@ public static String getDefaultEndpoint() {
return "metastore.googleapis.com:443";
}

/** Returns the default mTLS service endpoint. */
public static String getDefaultMtlsEndpoint() {
return "metastore.mtls.googleapis.com:443";
}

/** Returns the default service scopes. */
public static List<String> getDefaultServiceScopes() {
return DEFAULT_SERVICE_SCOPES;
Expand Down Expand Up @@ -764,6 +769,8 @@ private static Builder createDefault() {
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);

return initDefaults(builder);
}
Expand Down
Expand Up @@ -487,6 +487,11 @@ public static String getDefaultEndpoint() {
return "metastore.googleapis.com:443";
}

/** Returns the default mTLS service endpoint. */
public static String getDefaultMtlsEndpoint() {
return "metastore.mtls.googleapis.com:443";
}

/** Returns the default service scopes. */
public static List<String> getDefaultServiceScopes() {
return DEFAULT_SERVICE_SCOPES;
Expand Down Expand Up @@ -764,6 +769,8 @@ private static Builder createDefault() {
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);

return initDefaults(builder);
}
Expand Down
14 changes: 7 additions & 7 deletions synth.metadata
Expand Up @@ -4,31 +4,31 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-dataproc-metastore.git",
"sha": "6ff7ffd6840dd253b98d07436dbba85c1fd41e67"
"sha": "ec7c4ee910e741a75133b686c4cf562befbaeed0"
}
},
{
"git": {
"name": "googleapis-gen",
"remote": "https://github.com/googleapis/googleapis-gen.git",
"sha": "14629f6b39dfee67009f79a96d2077d5bb17d1c3",
"internalRef": "378266372"
"sha": "9a27cb4181a8823727458705f4343f0dccdb40d6",
"internalRef": "378718217"
}
},
{
"git": {
"name": "googleapis-gen",
"remote": "https://github.com/googleapis/googleapis-gen.git",
"sha": "14629f6b39dfee67009f79a96d2077d5bb17d1c3",
"internalRef": "378266372"
"sha": "9a27cb4181a8823727458705f4343f0dccdb40d6",
"internalRef": "378718217"
}
},
{
"git": {
"name": "googleapis-gen",
"remote": "https://github.com/googleapis/googleapis-gen.git",
"sha": "14629f6b39dfee67009f79a96d2077d5bb17d1c3",
"internalRef": "378266372"
"sha": "9a27cb4181a8823727458705f4343f0dccdb40d6",
"internalRef": "378718217"
}
},
{
Expand Down

0 comments on commit ad594a1

Please sign in to comment.