2.9.3 (latest) 2.9.2 2.8.1 2.7.2 2.6.0 2.5.1 2.4.1 2.1.2 2.0.1 1.35.2 1.34.1 1.33.4

```java
public static class GooglePublicKeysManager.Builder
```
Beta   

Builder for [GooglePublicKeysManager](https://docs.cloud.google.com/java/docs/reference/google-api-client/latest/com.google.api.client.googleapis.auth.oauth2.GooglePublicKeysManager.md.txt).

Implementation is not thread-safe.

## Inheritance

[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \> GooglePublicKeysManager.Builder

## Inherited Members

[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) [Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) [Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

## Constructors

### Builder(HttpTransport transport, JsonFactory jsonFactory)

```java
public Builder(HttpTransport transport, JsonFactory jsonFactory)
```
Returns an instance of a new builder.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `transport` | `com.google.api.client.http.HttpTransport` HTTP transport |
| `jsonFactory` | `com.google.api.client.json.JsonFactory` JSON factory |

## Methods

### build()

```java
public GooglePublicKeysManager build()
```
Builds a new instance of [GooglePublicKeysManager](https://docs.cloud.google.com/java/docs/reference/google-api-client/latest/com.google.api.client.googleapis.auth.oauth2.GooglePublicKeysManager.md.txt).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `GooglePublicKeysManager` |   |

### getClock()

```java
public final Clock getClock()
```
Returns the clock.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.api.client.util.Clock` |   |

### getJsonFactory()

```java
public final JsonFactory getJsonFactory()
```
Returns the JSON factory.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.api.client.json.JsonFactory` |   |

### getPublicCertsEncodedUrl()

```java
public final String getPublicCertsEncodedUrl()
```
Returns the public certificates encoded URL.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `String` |   |

### getTransport()

```java
public final HttpTransport getTransport()
```
Returns the HTTP transport.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.api.client.http.HttpTransport` |   |

### setClock(Clock clock)

```java
public GooglePublicKeysManager.Builder setClock(Clock clock)
```
Sets the clock.

Overriding is only supported for the purpose of calling the super implementation and
changing the return type, but nothing else.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `clock` | `com.google.api.client.util.Clock` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `GooglePublicKeysManager.Builder` |   |

### setPublicCertsEncodedUrl(String publicCertsEncodedUrl)

```java
public GooglePublicKeysManager.Builder setPublicCertsEncodedUrl(String publicCertsEncodedUrl)
```
Sets the public certificates encoded URL.

The default value is [GoogleOAuthConstants#DEFAULT_PUBLIC_CERTS_ENCODED_URL](https://docs.cloud.google.com/java/docs/reference/google-api-client/latest/com.google.api.client.googleapis.auth.oauth2.GoogleOAuthConstants.md.txt#com_google_api_client_googleapis_auth_oauth2_GoogleOAuthConstants_DEFAULT_PUBLIC_CERTS_ENCODED_URL).

Overriding is only supported for the purpose of calling the super implementation and
changing the return type, but nothing else.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `publicCertsEncodedUrl` | `String` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `GooglePublicKeysManager.Builder` |   |