Class RefreshRuntimeTokenInternalResponse.Builder (1.52.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RefreshRuntimeTokenInternalResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RefreshRuntimeTokenInternalResponse.Builder
Overrides

build()

public RefreshRuntimeTokenInternalResponse build()
Returns
Type Description
RefreshRuntimeTokenInternalResponse

buildPartial()

public RefreshRuntimeTokenInternalResponse buildPartial()
Returns
Type Description
RefreshRuntimeTokenInternalResponse

clear()

public RefreshRuntimeTokenInternalResponse.Builder clear()
Returns
Type Description
RefreshRuntimeTokenInternalResponse.Builder
Overrides

clearAccessToken()

public RefreshRuntimeTokenInternalResponse.Builder clearAccessToken()

The OAuth 2.0 access token.

string access_token = 1;

Returns
Type Description
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
Type Description
RefreshRuntimeTokenInternalResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public RefreshRuntimeTokenInternalResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RefreshRuntimeTokenInternalResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RefreshRuntimeTokenInternalResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RefreshRuntimeTokenInternalResponse.Builder
Overrides

clone()

public RefreshRuntimeTokenInternalResponse.Builder clone()
Returns
Type Description
RefreshRuntimeTokenInternalResponse.Builder
Overrides

getAccessToken()

public String getAccessToken()

The OAuth 2.0 access token.

string access_token = 1;

Returns
Type Description
String

The accessToken.

getAccessTokenBytes()

public ByteString getAccessTokenBytes()

The OAuth 2.0 access token.

string access_token = 1;

Returns
Type Description
ByteString

The bytes for accessToken.

getDefaultInstanceForType()

public RefreshRuntimeTokenInternalResponse getDefaultInstanceForType()
Returns
Type Description
RefreshRuntimeTokenInternalResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExpireTime()

public Timestamp getExpireTime()

Output only. Token expiration time.

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

Returns
Type Description
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
Type Description
Builder

getExpireTimeOrBuilder()

public TimestampOrBuilder getExpireTimeOrBuilder()

Output only. Token expiration time.

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

Returns
Type Description
TimestampOrBuilder

hasExpireTime()

public boolean hasExpireTime()

Output only. Token expiration time.

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

Returns
Type Description
boolean

Whether the expireTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExpireTime(Timestamp value)

public RefreshRuntimeTokenInternalResponse.Builder mergeExpireTime(Timestamp value)

Output only. Token expiration time.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
RefreshRuntimeTokenInternalResponse.Builder

mergeFrom(RefreshRuntimeTokenInternalResponse other)

public RefreshRuntimeTokenInternalResponse.Builder mergeFrom(RefreshRuntimeTokenInternalResponse other)
Parameter
Name Description
other RefreshRuntimeTokenInternalResponse
Returns
Type Description
RefreshRuntimeTokenInternalResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RefreshRuntimeTokenInternalResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RefreshRuntimeTokenInternalResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RefreshRuntimeTokenInternalResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RefreshRuntimeTokenInternalResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RefreshRuntimeTokenInternalResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RefreshRuntimeTokenInternalResponse.Builder
Overrides

setAccessToken(String value)

public RefreshRuntimeTokenInternalResponse.Builder setAccessToken(String value)

The OAuth 2.0 access token.

string access_token = 1;

Parameter
Name Description
value String

The accessToken to set.

Returns
Type Description
RefreshRuntimeTokenInternalResponse.Builder

This builder for chaining.

setAccessTokenBytes(ByteString value)

public RefreshRuntimeTokenInternalResponse.Builder setAccessTokenBytes(ByteString value)

The OAuth 2.0 access token.

string access_token = 1;

Parameter
Name Description
value ByteString

The bytes for accessToken to set.

Returns
Type Description
RefreshRuntimeTokenInternalResponse.Builder

This builder for chaining.

setExpireTime(Timestamp value)

public RefreshRuntimeTokenInternalResponse.Builder setExpireTime(Timestamp value)

Output only. Token expiration time.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
RefreshRuntimeTokenInternalResponse.Builder

setExpireTime(Timestamp.Builder builderForValue)

public RefreshRuntimeTokenInternalResponse.Builder setExpireTime(Timestamp.Builder builderForValue)

Output only. Token expiration time.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
RefreshRuntimeTokenInternalResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RefreshRuntimeTokenInternalResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RefreshRuntimeTokenInternalResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RefreshRuntimeTokenInternalResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RefreshRuntimeTokenInternalResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RefreshRuntimeTokenInternalResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RefreshRuntimeTokenInternalResponse.Builder
Overrides