Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

Java 17 is now generally available.

Class AppIdentityServicePb.GetAccessTokenResponse.Builder (2.0.0)

Stay organized with collections Save and categorize content based on your preferences.
public static final class AppIdentityServicePb.GetAccessTokenResponse.Builder extends GeneratedMessageV3.Builder<AppIdentityServicePb.GetAccessTokenResponse.Builder> implements AppIdentityServicePb.GetAccessTokenResponseOrBuilder

Inheritance

Object > com.google.protobuf.AbstractMessageLite.Builder > com.google.protobuf.AbstractMessage.Builder > com.google.protobuf.GeneratedMessageV3.Builder > AppIdentityServicePb.GetAccessTokenResponse.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
com.google.protobuf.Descriptors.Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor arg0, Object arg1)

public AppIdentityServicePb.GetAccessTokenResponse.Builder addRepeatedField(Descriptors.FieldDescriptor arg0, Object arg1)
Parameters
NameDescription
arg0com.google.protobuf.Descriptors.FieldDescriptor
arg1Object
Returns
TypeDescription
AppIdentityServicePb.GetAccessTokenResponse.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)

build()

public AppIdentityServicePb.GetAccessTokenResponse build()
Returns
TypeDescription
GetAccessTokenResponse

buildPartial()

public AppIdentityServicePb.GetAccessTokenResponse buildPartial()
Returns
TypeDescription
GetAccessTokenResponse

clear()

public AppIdentityServicePb.GetAccessTokenResponse.Builder clear()
Returns
TypeDescription
AppIdentityServicePb.GetAccessTokenResponse.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clear()

clearAccessToken()

public AppIdentityServicePb.GetAccessTokenResponse.Builder clearAccessToken()
Returns
TypeDescription
AppIdentityServicePb.GetAccessTokenResponse.Builder

clearExpirationTime()

public AppIdentityServicePb.GetAccessTokenResponse.Builder clearExpirationTime()
Returns
TypeDescription
AppIdentityServicePb.GetAccessTokenResponse.Builder

clearField(Descriptors.FieldDescriptor arg0)

public AppIdentityServicePb.GetAccessTokenResponse.Builder clearField(Descriptors.FieldDescriptor arg0)
Parameter
NameDescription
arg0com.google.protobuf.Descriptors.FieldDescriptor
Returns
TypeDescription
AppIdentityServicePb.GetAccessTokenResponse.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor)

clearOneof(Descriptors.OneofDescriptor arg0)

public AppIdentityServicePb.GetAccessTokenResponse.Builder clearOneof(Descriptors.OneofDescriptor arg0)
Parameter
NameDescription
arg0com.google.protobuf.Descriptors.OneofDescriptor
Returns
TypeDescription
AppIdentityServicePb.GetAccessTokenResponse.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor)

clone()

public AppIdentityServicePb.GetAccessTokenResponse.Builder clone()
Returns
TypeDescription
AppIdentityServicePb.GetAccessTokenResponse.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clone()

getAccessToken()

public String getAccessToken()
Returns
TypeDescription
String

getAccessTokenBytes()

public ByteString getAccessTokenBytes()
Returns
TypeDescription
com.google.protobuf.ByteString

getDefaultInstanceForType()

public AppIdentityServicePb.GetAccessTokenResponse getDefaultInstanceForType()
Returns
TypeDescription
GetAccessTokenResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
com.google.protobuf.Descriptors.Descriptor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.getDescriptorForType()

getExpirationTime()

public long getExpirationTime()
Returns
TypeDescription
long

hasAccessToken()

public boolean hasAccessToken()
Returns
TypeDescription
boolean

hasExpirationTime()

public boolean hasExpirationTime()
Returns
TypeDescription
boolean

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetFieldAccessorTable()

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.isInitialized()

mergeFrom(AppIdentityServicePb.GetAccessTokenResponse arg0)

public AppIdentityServicePb.GetAccessTokenResponse.Builder mergeFrom(AppIdentityServicePb.GetAccessTokenResponse arg0)
Parameter
NameDescription
arg0GetAccessTokenResponse
Returns
TypeDescription
AppIdentityServicePb.GetAccessTokenResponse.Builder

mergeFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)

public AppIdentityServicePb.GetAccessTokenResponse.Builder mergeFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0com.google.protobuf.CodedInputStream
arg1com.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
AppIdentityServicePb.GetAccessTokenResponse.Builder
Overrides
com.google.protobuf.AbstractMessage.Builder.mergeFrom(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
Exceptions
TypeDescription
IOException

mergeFrom(Message arg0)

public AppIdentityServicePb.GetAccessTokenResponse.Builder mergeFrom(Message arg0)
Parameter
NameDescription
arg0com.google.protobuf.Message
Returns
TypeDescription
AppIdentityServicePb.GetAccessTokenResponse.Builder
Overrides
com.google.protobuf.AbstractMessage.Builder.mergeFrom(com.google.protobuf.Message)

mergeUnknownFields(UnknownFieldSet arg0)

public final AppIdentityServicePb.GetAccessTokenResponse.Builder mergeUnknownFields(UnknownFieldSet arg0)
Parameter
NameDescription
arg0com.google.protobuf.UnknownFieldSet
Returns
TypeDescription
AppIdentityServicePb.GetAccessTokenResponse.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet)

setAccessToken(String arg0)

public AppIdentityServicePb.GetAccessTokenResponse.Builder setAccessToken(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
AppIdentityServicePb.GetAccessTokenResponse.Builder

setAccessTokenBytes(ByteString arg0)

public AppIdentityServicePb.GetAccessTokenResponse.Builder setAccessTokenBytes(ByteString arg0)
Parameter
NameDescription
arg0com.google.protobuf.ByteString
Returns
TypeDescription
AppIdentityServicePb.GetAccessTokenResponse.Builder

setExpirationTime(long arg0)

public AppIdentityServicePb.GetAccessTokenResponse.Builder setExpirationTime(long arg0)
Parameter
NameDescription
arg0long
Returns
TypeDescription
AppIdentityServicePb.GetAccessTokenResponse.Builder

setField(Descriptors.FieldDescriptor arg0, Object arg1)

public AppIdentityServicePb.GetAccessTokenResponse.Builder setField(Descriptors.FieldDescriptor arg0, Object arg1)
Parameters
NameDescription
arg0com.google.protobuf.Descriptors.FieldDescriptor
arg1Object
Returns
TypeDescription
AppIdentityServicePb.GetAccessTokenResponse.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)

setRepeatedField(Descriptors.FieldDescriptor arg0, int arg1, Object arg2)

public AppIdentityServicePb.GetAccessTokenResponse.Builder setRepeatedField(Descriptors.FieldDescriptor arg0, int arg1, Object arg2)
Parameters
NameDescription
arg0com.google.protobuf.Descriptors.FieldDescriptor
arg1int
arg2Object
Returns
TypeDescription
AppIdentityServicePb.GetAccessTokenResponse.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,int,java.lang.Object)

setUnknownFields(UnknownFieldSet arg0)

public final AppIdentityServicePb.GetAccessTokenResponse.Builder setUnknownFields(UnknownFieldSet arg0)
Parameter
NameDescription
arg0com.google.protobuf.UnknownFieldSet
Returns
TypeDescription
AppIdentityServicePb.GetAccessTokenResponse.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet)