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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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