Class RefreshRuntimeTokenInternalResponse (1.53.0)

public final class RefreshRuntimeTokenInternalResponse extends GeneratedMessageV3 implements RefreshRuntimeTokenInternalResponseOrBuilder

Response with a new access token.

Protobuf type google.cloud.notebooks.v1.RefreshRuntimeTokenInternalResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RefreshRuntimeTokenInternalResponse

Static Fields

ACCESS_TOKEN_FIELD_NUMBER

public static final int ACCESS_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

EXPIRE_TIME_FIELD_NUMBER

public static final int EXPIRE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RefreshRuntimeTokenInternalResponse getDefaultInstance()
Returns
Type Description
RefreshRuntimeTokenInternalResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RefreshRuntimeTokenInternalResponse.Builder newBuilder()
Returns
Type Description
RefreshRuntimeTokenInternalResponse.Builder

newBuilder(RefreshRuntimeTokenInternalResponse prototype)

public static RefreshRuntimeTokenInternalResponse.Builder newBuilder(RefreshRuntimeTokenInternalResponse prototype)
Parameter
Name Description
prototype RefreshRuntimeTokenInternalResponse
Returns
Type Description
RefreshRuntimeTokenInternalResponse.Builder

parseDelimitedFrom(InputStream input)

public static RefreshRuntimeTokenInternalResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RefreshRuntimeTokenInternalResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RefreshRuntimeTokenInternalResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RefreshRuntimeTokenInternalResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RefreshRuntimeTokenInternalResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RefreshRuntimeTokenInternalResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RefreshRuntimeTokenInternalResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RefreshRuntimeTokenInternalResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RefreshRuntimeTokenInternalResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RefreshRuntimeTokenInternalResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RefreshRuntimeTokenInternalResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RefreshRuntimeTokenInternalResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RefreshRuntimeTokenInternalResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RefreshRuntimeTokenInternalResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RefreshRuntimeTokenInternalResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RefreshRuntimeTokenInternalResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RefreshRuntimeTokenInternalResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RefreshRuntimeTokenInternalResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RefreshRuntimeTokenInternalResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RefreshRuntimeTokenInternalResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RefreshRuntimeTokenInternalResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RefreshRuntimeTokenInternalResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RefreshRuntimeTokenInternalResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RefreshRuntimeTokenInternalResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RefreshRuntimeTokenInternalResponse> parser()
Returns
Type Description
Parser<RefreshRuntimeTokenInternalResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

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

getParserForType()

public Parser<RefreshRuntimeTokenInternalResponse> getParserForType()
Returns
Type Description
Parser<RefreshRuntimeTokenInternalResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RefreshRuntimeTokenInternalResponse.Builder newBuilderForType()
Returns
Type Description
RefreshRuntimeTokenInternalResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RefreshRuntimeTokenInternalResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RefreshRuntimeTokenInternalResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RefreshRuntimeTokenInternalResponse.Builder toBuilder()
Returns
Type Description
RefreshRuntimeTokenInternalResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException