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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RefreshRuntimeTokenInternalResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RefreshRuntimeTokenInternalResponse build()
buildPartial()
public RefreshRuntimeTokenInternalResponse buildPartial()
clear()
public RefreshRuntimeTokenInternalResponse.Builder clear()
Overrides
clearAccessToken()
public RefreshRuntimeTokenInternalResponse.Builder clearAccessToken()
The OAuth 2.0 access token.
string access_token = 1;
clearExpireTime()
public RefreshRuntimeTokenInternalResponse.Builder clearExpireTime()
Output only. Token expiration time.
.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public RefreshRuntimeTokenInternalResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RefreshRuntimeTokenInternalResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public RefreshRuntimeTokenInternalResponse.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
getExpireTimeOrBuilder()
public TimestampOrBuilder getExpireTimeOrBuilder()
Output only. Token expiration time.
.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(RefreshRuntimeTokenInternalResponse other)
public RefreshRuntimeTokenInternalResponse.Builder mergeFrom(RefreshRuntimeTokenInternalResponse other)
public RefreshRuntimeTokenInternalResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RefreshRuntimeTokenInternalResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RefreshRuntimeTokenInternalResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
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];
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public RefreshRuntimeTokenInternalResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RefreshRuntimeTokenInternalResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RefreshRuntimeTokenInternalResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides