Class RefreshRuntimeTokenInternalResponse.Builder (1.17.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
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()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
RefreshRuntimeTokenInternalResponse.Builder

mergeFrom(RefreshRuntimeTokenInternalResponse other)

public RefreshRuntimeTokenInternalResponse.Builder mergeFrom(RefreshRuntimeTokenInternalResponse other)
Parameter
NameDescription
otherRefreshRuntimeTokenInternalResponse
Returns
TypeDescription
RefreshRuntimeTokenInternalResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RefreshRuntimeTokenInternalResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RefreshRuntimeTokenInternalResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RefreshRuntimeTokenInternalResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RefreshRuntimeTokenInternalResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RefreshRuntimeTokenInternalResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RefreshRuntimeTokenInternalResponse.Builder
Overrides

setAccessToken(String value)

public RefreshRuntimeTokenInternalResponse.Builder setAccessToken(String value)

The OAuth 2.0 access token.

string access_token = 1;

Parameter
NameDescription
valueString

The accessToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for accessToken to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
RefreshRuntimeTokenInternalResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public RefreshRuntimeTokenInternalResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RefreshRuntimeTokenInternalResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RefreshRuntimeTokenInternalResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RefreshRuntimeTokenInternalResponse.Builder
Overrides