Class GenerateIdTokenResponse.Builder (2.9.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GenerateIdTokenResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GenerateIdTokenResponse.Builder
Overrides

build()

public GenerateIdTokenResponse build()
Returns
TypeDescription
GenerateIdTokenResponse

buildPartial()

public GenerateIdTokenResponse buildPartial()
Returns
TypeDescription
GenerateIdTokenResponse

clear()

public GenerateIdTokenResponse.Builder clear()
Returns
TypeDescription
GenerateIdTokenResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GenerateIdTokenResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GenerateIdTokenResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GenerateIdTokenResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GenerateIdTokenResponse.Builder
Overrides

clearToken()

public GenerateIdTokenResponse.Builder clearToken()

The OpenId Connect ID token.

string token = 1;

Returns
TypeDescription
GenerateIdTokenResponse.Builder

This builder for chaining.

clone()

public GenerateIdTokenResponse.Builder clone()
Returns
TypeDescription
GenerateIdTokenResponse.Builder
Overrides

getDefaultInstanceForType()

public GenerateIdTokenResponse getDefaultInstanceForType()
Returns
TypeDescription
GenerateIdTokenResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getToken()

public String getToken()

The OpenId Connect ID token.

string token = 1;

Returns
TypeDescription
String

The token.

getTokenBytes()

public ByteString getTokenBytes()

The OpenId Connect ID token.

string token = 1;

Returns
TypeDescription
ByteString

The bytes for token.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GenerateIdTokenResponse other)

public GenerateIdTokenResponse.Builder mergeFrom(GenerateIdTokenResponse other)
Parameter
NameDescription
otherGenerateIdTokenResponse
Returns
TypeDescription
GenerateIdTokenResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GenerateIdTokenResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateIdTokenResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GenerateIdTokenResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GenerateIdTokenResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateIdTokenResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GenerateIdTokenResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GenerateIdTokenResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GenerateIdTokenResponse.Builder
Overrides

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

public GenerateIdTokenResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GenerateIdTokenResponse.Builder
Overrides

setToken(String value)

public GenerateIdTokenResponse.Builder setToken(String value)

The OpenId Connect ID token.

string token = 1;

Parameter
NameDescription
valueString

The token to set.

Returns
TypeDescription
GenerateIdTokenResponse.Builder

This builder for chaining.

setTokenBytes(ByteString value)

public GenerateIdTokenResponse.Builder setTokenBytes(ByteString value)

The OpenId Connect ID token.

string token = 1;

Parameter
NameDescription
valueByteString

The bytes for token to set.

Returns
TypeDescription
GenerateIdTokenResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final GenerateIdTokenResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GenerateIdTokenResponse.Builder
Overrides