public static final class RetrieveAuthorizationCodeRequest.Builder extends GeneratedMessageV3.Builder<RetrieveAuthorizationCodeRequest.Builder> implements RetrieveAuthorizationCodeRequestOrBuilder
Request for the RetrieveAuthorizationCode
method.
Protobuf type google.cloud.domains.v1alpha2.RetrieveAuthorizationCodeRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RetrieveAuthorizationCodeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RetrieveAuthorizationCodeRequest build()
Returns
buildPartial()
public RetrieveAuthorizationCodeRequest buildPartial()
Returns
clear()
public RetrieveAuthorizationCodeRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public RetrieveAuthorizationCodeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RetrieveAuthorizationCodeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public RetrieveAuthorizationCodeRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public RetrieveAuthorizationCodeRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Type | Description |
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
Type | Description |
ByteString | The bytes for registration.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(RetrieveAuthorizationCodeRequest other)
public RetrieveAuthorizationCodeRequest.Builder mergeFrom(RetrieveAuthorizationCodeRequest other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RetrieveAuthorizationCodeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RetrieveAuthorizationCodeRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RetrieveAuthorizationCodeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RetrieveAuthorizationCodeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Name | Description |
value | String
The registration to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for registration to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RetrieveAuthorizationCodeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RetrieveAuthorizationCodeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides