Class RefreshRuntimeTokenInternalResponse.Builder (1.4.0)

Stay organized with collections Save and categorize content based on your preferences.
public static final class RefreshRuntimeTokenInternalResponse.Builder extends GeneratedMessageV3.Builder<RefreshRuntimeTokenInternalResponse.Builder> implements RefreshRuntimeTokenInternalResponseOrBuilder

Response with a new access token.

Protobuf type google.cloud.notebooks.v1.RefreshRuntimeTokenInternalResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RefreshRuntimeTokenInternalResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RefreshRuntimeTokenInternalResponse.Builder
Overrides

build()

public RefreshRuntimeTokenInternalResponse build()
Returns
TypeDescription
RefreshRuntimeTokenInternalResponse

buildPartial()

public RefreshRuntimeTokenInternalResponse buildPartial()
Returns
TypeDescription
RefreshRuntimeTokenInternalResponse

clear()

public RefreshRuntimeTokenInternalResponse.Builder clear()
Returns
TypeDescription
RefreshRuntimeTokenInternalResponse.Builder
Overrides

clearAccessToken()

public RefreshRuntimeTokenInternalResponse.Builder clearAccessToken()

The OAuth 2.0 access token.

string access_token = 1;

Returns
TypeDescription
RefreshRuntimeTokenInternalResponse.Builder

This builder for chaining.

clearExpireTime()

public RefreshRuntimeTokenInternalResponse.Builder clearExpireTime()

Output only. Token expiration time.

.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
RefreshRuntimeTokenInternalResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public RefreshRuntimeTokenInternalResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RefreshRuntimeTokenInternalResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RefreshRuntimeTokenInternalResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RefreshRuntimeTokenInternalResponse.Builder
Overrides

clone()

public RefreshRuntimeTokenInternalResponse.Builder clone()
Returns
TypeDescription
RefreshRuntimeTokenInternalResponse.Builder
Overrides

getAccessToken()

public String getAccessToken()

The OAuth 2.0 access token.

string access_token = 1;

Returns
TypeDescription
String

The accessToken.

getAccessTokenBytes()

public ByteString getAccessTokenBytes()

The OAuth 2.0 access token.

string access_token = 1;

Returns
TypeDescription
ByteString

The bytes for accessToken.

getDefaultInstanceForType()

public RefreshRuntimeTokenInternalResponse getDefaultInstanceForType()
Returns
TypeDescription
RefreshRuntimeTokenInternalResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExpireTime()

public Timestamp getExpireTime()

Output only. Token expiration time.

.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The expireTime.

getExpireTimeBuilder()

public Timestamp.Builder getExpireTimeBuilder()

Output only. Token expiration time.

.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getExpireTimeOrBuilder()

public TimestampOrBuilder getExpireTimeOrBuilder()

Output only. Token expiration time.

.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasExpireTime()

public boolean hasExpireTime()

Output only. Token expiration time.

.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the expireTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

<