Class RetrieveAuthorizationCodeRequest.Builder (1.5.0)

public static final class RetrieveAuthorizationCodeRequest.Builder extends GeneratedMessageV3.Builder<RetrieveAuthorizationCodeRequest.Builder> implements RetrieveAuthorizationCodeRequestOrBuilder

Request for the RetrieveAuthorizationCode method.

Protobuf type google.cloud.domains.v1.RetrieveAuthorizationCodeRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RetrieveAuthorizationCodeRequest build()
Returns
TypeDescription
RetrieveAuthorizationCodeRequest

buildPartial()

public RetrieveAuthorizationCodeRequest buildPartial()
Returns
TypeDescription
RetrieveAuthorizationCodeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRegistration()

public RetrieveAuthorizationCodeRequest.Builder clearRegistration()

Required. The name of the Registration whose authorization code is being retrieved, in the format projects/*/locations/*/registrations/*.

string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
RetrieveAuthorizationCodeRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public RetrieveAuthorizationCodeRequest getDefaultInstanceForType()
Returns
TypeDescription
RetrieveAuthorizationCodeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRegistration()

public String getRegistration()

Required. The name of the Registration whose authorization code is being retrieved, in the format projects/*/locations/*/registrations/*.

string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The registration.

getRegistrationBytes()

public ByteString getRegistrationBytes()

Required. The name of the Registration whose authorization code is being retrieved, in the format projects/*/locations/*/registrations/*.

string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for registration.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RetrieveAuthorizationCodeRequest other)

public RetrieveAuthorizationCodeRequest.Builder mergeFrom(RetrieveAuthorizationCodeRequest other)
Parameter
NameDescription
otherRetrieveAuthorizationCodeRequest
Returns
TypeDescription
RetrieveAuthorizationCodeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setRegistration(String value)

public RetrieveAuthorizationCodeRequest.Builder setRegistration(String value)

Required. The name of the Registration whose authorization code is being retrieved, in the format projects/*/locations/*/registrations/*.

string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The registration to set.

Returns
TypeDescription
RetrieveAuthorizationCodeRequest.Builder

This builder for chaining.

setRegistrationBytes(ByteString value)

public RetrieveAuthorizationCodeRequest.Builder setRegistrationBytes(ByteString value)

Required. The name of the Registration whose authorization code is being retrieved, in the format projects/*/locations/*/registrations/*.

string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for registration to set.

Returns
TypeDescription
RetrieveAuthorizationCodeRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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