Class ResetAuthorizationCodeRequest.Builder (1.15.0)

public static final class ResetAuthorizationCodeRequest.Builder extends GeneratedMessageV3.Builder<ResetAuthorizationCodeRequest.Builder> implements ResetAuthorizationCodeRequestOrBuilder

Request for the ResetAuthorizationCode method.

Protobuf type google.cloud.domains.v1alpha2.ResetAuthorizationCodeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResetAuthorizationCodeRequest build()
Returns
TypeDescription
ResetAuthorizationCodeRequest

buildPartial()

public ResetAuthorizationCodeRequest buildPartial()
Returns
TypeDescription
ResetAuthorizationCodeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRegistration()

public ResetAuthorizationCodeRequest.Builder clearRegistration()

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

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

Returns
TypeDescription
ResetAuthorizationCodeRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ResetAuthorizationCodeRequest getDefaultInstanceForType()
Returns
TypeDescription
ResetAuthorizationCodeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRegistration()

public String getRegistration()

Required. The name of the Registration whose authorization code is being reset, 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 reset, 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(ResetAuthorizationCodeRequest other)

public ResetAuthorizationCodeRequest.Builder mergeFrom(ResetAuthorizationCodeRequest other)
Parameter
NameDescription
otherResetAuthorizationCodeRequest
Returns
TypeDescription
ResetAuthorizationCodeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setRegistration(String value)

public ResetAuthorizationCodeRequest.Builder setRegistration(String value)

Required. The name of the Registration whose authorization code is being reset, 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
ResetAuthorizationCodeRequest.Builder

This builder for chaining.

setRegistrationBytes(ByteString value)

public ResetAuthorizationCodeRequest.Builder setRegistrationBytes(ByteString value)

Required. The name of the Registration whose authorization code is being reset, 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
ResetAuthorizationCodeRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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