Class ManagementSettings.Builder (1.0.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.v1beta1.ManagementSettings

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ManagementSettings build()
Returns
TypeDescription
ManagementSettings

buildPartial()

public ManagementSettings buildPartial()
Returns
TypeDescription
ManagementSettings

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRenewalMethod()

public ManagementSettings.Builder clearRenewalMethod()

Output only. The renewal method for this Registration.

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

Returns
TypeDescription
ManagementSettings.Builder

This builder for chaining.

clearTransferLockState()

public ManagementSettings.Builder clearTransferLockState()

Controls whether the domain can be transferred to another registrar.

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

Returns
TypeDescription
ManagementSettings.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ManagementSettings getDefaultInstanceForType()
Returns
TypeDescription
ManagementSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRenewalMethod()

public ManagementSettings.RenewalMethod getRenewalMethod()

Output only. The renewal method for this Registration.

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

Returns
TypeDescription
ManagementSettings.RenewalMethod

The renewalMethod.

getRenewalMethodValue()

public int getRenewalMethodValue()

Output only. The renewal method for this Registration.

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

Returns
TypeDescription
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.v1beta1.TransferLockState transfer_lock_state = 4;

Returns
TypeDescription
TransferLockState

The transferLockState.

getTransferLockStateValue()

public int getTransferLockStateValue()

Controls whether the domain can be transferred to another registrar.

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

Returns
TypeDescription
int

The enum numeric value on the wire for transferLockState.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ManagementSettings other)

public ManagementSettings.Builder mergeFrom(ManagementSettings other)
Parameter
NameDescription
otherManagementSettings
Returns
TypeDescription
ManagementSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ManagementSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueManagementSettings.RenewalMethod

The renewalMethod to set.

Returns
TypeDescription
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.v1beta1.ManagementSettings.RenewalMethod renewal_method = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v1beta1.TransferLockState transfer_lock_state = 4;

Parameter
NameDescription
valueTransferLockState

The transferLockState to set.

Returns
TypeDescription
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.v1beta1.TransferLockState transfer_lock_state = 4;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
ManagementSettings.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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