Class GenerateIdTokenResponse.Builder (2.51.0)

public static final class GenerateIdTokenResponse.Builder extends GeneratedMessageV3.Builder<GenerateIdTokenResponse.Builder> implements GenerateIdTokenResponseOrBuilder

Protobuf type google.iam.credentials.v1.GenerateIdTokenResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GenerateIdTokenResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenerateIdTokenResponse.Builder
Overrides

build()

public GenerateIdTokenResponse build()
Returns
Type Description
GenerateIdTokenResponse

buildPartial()

public GenerateIdTokenResponse buildPartial()
Returns
Type Description
GenerateIdTokenResponse

clear()

public GenerateIdTokenResponse.Builder clear()
Returns
Type Description
GenerateIdTokenResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GenerateIdTokenResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GenerateIdTokenResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GenerateIdTokenResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GenerateIdTokenResponse.Builder
Overrides

clearToken()

public GenerateIdTokenResponse.Builder clearToken()

The OpenId Connect ID token.

string token = 1;

Returns
Type Description
GenerateIdTokenResponse.Builder

This builder for chaining.

clone()

public GenerateIdTokenResponse.Builder clone()
Returns
Type Description
GenerateIdTokenResponse.Builder
Overrides

getDefaultInstanceForType()

public GenerateIdTokenResponse getDefaultInstanceForType()
Returns
Type Description
GenerateIdTokenResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getToken()

public String getToken()

The OpenId Connect ID token.

string token = 1;

Returns
Type Description
String

The token.

getTokenBytes()

public ByteString getTokenBytes()

The OpenId Connect ID token.

string token = 1;

Returns
Type Description
ByteString

The bytes for token.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GenerateIdTokenResponse other)

public GenerateIdTokenResponse.Builder mergeFrom(GenerateIdTokenResponse other)
Parameter
Name Description
other GenerateIdTokenResponse
Returns
Type Description
GenerateIdTokenResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GenerateIdTokenResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateIdTokenResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GenerateIdTokenResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GenerateIdTokenResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateIdTokenResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenerateIdTokenResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GenerateIdTokenResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenerateIdTokenResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GenerateIdTokenResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GenerateIdTokenResponse.Builder
Overrides

setToken(String value)

public GenerateIdTokenResponse.Builder setToken(String value)

The OpenId Connect ID token.

string token = 1;

Parameter
Name Description
value String

The token to set.

Returns
Type Description
GenerateIdTokenResponse.Builder

This builder for chaining.

setTokenBytes(ByteString value)

public GenerateIdTokenResponse.Builder setTokenBytes(ByteString value)

The OpenId Connect ID token.

string token = 1;

Parameter
Name Description
value ByteString

The bytes for token to set.

Returns
Type Description
GenerateIdTokenResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final GenerateIdTokenResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenerateIdTokenResponse.Builder
Overrides