Class ManagementSettings.Builder (1.44.0)

public static final class ManagementSettings.Builder extends GeneratedMessageV3.Builder<ManagementSettings.Builder> implements ManagementSettingsOrBuilder

Defines renewal, billing, and transfer settings for a Registration.

Protobuf type google.cloud.domains.v1.ManagementSettings

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ManagementSettings build()
Returns
Type Description
ManagementSettings

buildPartial()

public ManagementSettings buildPartial()
Returns
Type Description
ManagementSettings

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRenewalMethod()

public ManagementSettings.Builder clearRenewalMethod()

Output only. The renewal method for this Registration.

.google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ManagementSettings.Builder

This builder for chaining.

clearTransferLockState()

public ManagementSettings.Builder clearTransferLockState()

Controls whether the domain can be transferred to another registrar.

.google.cloud.domains.v1.TransferLockState transfer_lock_state = 4;

Returns
Type Description
ManagementSettings.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ManagementSettings getDefaultInstanceForType()
Returns
Type Description
ManagementSettings

getDescriptorForType()

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

getRenewalMethod()

public ManagementSettings.RenewalMethod getRenewalMethod()

Output only. The renewal method for this Registration.

.google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ManagementSettings.RenewalMethod

The renewalMethod.

getRenewalMethodValue()

public int getRenewalMethodValue()

Output only. The renewal method for this Registration.

.google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for renewalMethod.

getTransferLockState()

public TransferLockState getTransferLockState()

Controls whether the domain can be transferred to another registrar.

.google.cloud.domains.v1.TransferLockState transfer_lock_state = 4;

Returns
Type Description
TransferLockState

The transferLockState.

getTransferLockStateValue()

public int getTransferLockStateValue()

Controls whether the domain can be transferred to another registrar.

.google.cloud.domains.v1.TransferLockState transfer_lock_state = 4;

Returns
Type Description
int

The enum numeric value on the wire for transferLockState.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ManagementSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setRenewalMethod(ManagementSettings.RenewalMethod value)

public ManagementSettings.Builder setRenewalMethod(ManagementSettings.RenewalMethod value)

Output only. The renewal method for this Registration.

.google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ManagementSettings.RenewalMethod

The renewalMethod to set.

Returns
Type Description
ManagementSettings.Builder

This builder for chaining.

setRenewalMethodValue(int value)

public ManagementSettings.Builder setRenewalMethodValue(int value)

Output only. The renewal method for this Registration.

.google.cloud.domains.v1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for renewalMethod to set.

Returns
Type Description
ManagementSettings.Builder

This builder for chaining.

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

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

setTransferLockState(TransferLockState value)

public ManagementSettings.Builder setTransferLockState(TransferLockState value)

Controls whether the domain can be transferred to another registrar.

.google.cloud.domains.v1.TransferLockState transfer_lock_state = 4;

Parameter
Name Description
value TransferLockState

The transferLockState to set.

Returns
Type Description
ManagementSettings.Builder

This builder for chaining.

setTransferLockStateValue(int value)

public ManagementSettings.Builder setTransferLockStateValue(int value)

Controls whether the domain can be transferred to another registrar.

.google.cloud.domains.v1.TransferLockState transfer_lock_state = 4;

Parameter
Name Description
value int

The enum numeric value on the wire for transferLockState to set.

Returns
Type Description
ManagementSettings.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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