Send feedback
Class RefreshRuntimeTokenInternalResponse.Builder (1.1.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.1.1 keyboard_arrow_down
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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RefreshRuntimeTokenInternalResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public RefreshRuntimeTokenInternalResponse build ()
Returns
buildPartial()
public RefreshRuntimeTokenInternalResponse buildPartial ()
Returns
clear()
public RefreshRuntimeTokenInternalResponse . Builder clear ()
Returns
Overrides
clearAccessToken()
public RefreshRuntimeTokenInternalResponse . Builder clearAccessToken ()
The OAuth 2.0 access token.
string access_token = 1;
Returns
clearExpireTime()
public RefreshRuntimeTokenInternalResponse . Builder clearExpireTime ()
Output only. Token expiration time.
.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clearField(Descriptors.FieldDescriptor field)
public RefreshRuntimeTokenInternalResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RefreshRuntimeTokenInternalResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public RefreshRuntimeTokenInternalResponse . Builder clone ()
Returns
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
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getExpireTime()
public Timestamp getExpireTime ()
Output only. Token expiration time.
.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getExpireTimeBuilder()
public Timestamp . Builder getExpireTimeBuilder ()
Output only. Token expiration time.
.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getExpireTimeOrBuilder()
public TimestampOrBuilder getExpireTimeOrBuilder ()
Output only. Token expiration time.
.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
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
Returns
mergeFrom(RefreshRuntimeTokenInternalResponse other)
public RefreshRuntimeTokenInternalResponse . Builder mergeFrom ( RefreshRuntimeTokenInternalResponse other )
Parameter
Returns
public RefreshRuntimeTokenInternalResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RefreshRuntimeTokenInternalResponse . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RefreshRuntimeTokenInternalResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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
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
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
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public RefreshRuntimeTokenInternalResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RefreshRuntimeTokenInternalResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RefreshRuntimeTokenInternalResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]