Class AssignmentProtocol.Builder (0.52.0)

public static final class AssignmentProtocol.Builder extends GeneratedMessageV3.Builder<AssignmentProtocol.Builder> implements AssignmentProtocolOrBuilder

Assignment protocol for a license pool.

Protobuf type google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AssignmentProtocol build()
Returns
Type Description
AssignmentProtocol

buildPartial()

public AssignmentProtocol buildPartial()
Returns
Type Description
AssignmentProtocol

clear()

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

clearAssignmentType()

public AssignmentProtocol.Builder clearAssignmentType()
Returns
Type Description
AssignmentProtocol.Builder

clearAutoAssignmentType()

public AssignmentProtocol.Builder clearAutoAssignmentType()

Allow automatic assignments triggered by data plane operations.

.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.AutoAssignmentType auto_assignment_type = 3;

Returns
Type Description
AssignmentProtocol.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearManualAssignmentType()

public AssignmentProtocol.Builder clearManualAssignmentType()

Allow manual assignments triggered by administrative operations only.

.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.ManualAssignmentType manual_assignment_type = 2;

Returns
Type Description
AssignmentProtocol.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAssignmentTypeCase()

public AssignmentProtocol.AssignmentTypeCase getAssignmentTypeCase()
Returns
Type Description
AssignmentProtocol.AssignmentTypeCase

getAutoAssignmentType()

public AssignmentProtocol.AutoAssignmentType getAutoAssignmentType()

Allow automatic assignments triggered by data plane operations.

.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.AutoAssignmentType auto_assignment_type = 3;

Returns
Type Description
AssignmentProtocol.AutoAssignmentType

The autoAssignmentType.

getAutoAssignmentTypeBuilder()

public AssignmentProtocol.AutoAssignmentType.Builder getAutoAssignmentTypeBuilder()

Allow automatic assignments triggered by data plane operations.

.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.AutoAssignmentType auto_assignment_type = 3;

Returns
Type Description
AssignmentProtocol.AutoAssignmentType.Builder

getAutoAssignmentTypeOrBuilder()

public AssignmentProtocol.AutoAssignmentTypeOrBuilder getAutoAssignmentTypeOrBuilder()

Allow automatic assignments triggered by data plane operations.

.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.AutoAssignmentType auto_assignment_type = 3;

Returns
Type Description
AssignmentProtocol.AutoAssignmentTypeOrBuilder

getDefaultInstanceForType()

public AssignmentProtocol getDefaultInstanceForType()
Returns
Type Description
AssignmentProtocol

getDescriptorForType()

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

getManualAssignmentType()

public AssignmentProtocol.ManualAssignmentType getManualAssignmentType()

Allow manual assignments triggered by administrative operations only.

.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.ManualAssignmentType manual_assignment_type = 2;

Returns
Type Description
AssignmentProtocol.ManualAssignmentType

The manualAssignmentType.

getManualAssignmentTypeBuilder()

public AssignmentProtocol.ManualAssignmentType.Builder getManualAssignmentTypeBuilder()

Allow manual assignments triggered by administrative operations only.

.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.ManualAssignmentType manual_assignment_type = 2;

Returns
Type Description
AssignmentProtocol.ManualAssignmentType.Builder

getManualAssignmentTypeOrBuilder()

public AssignmentProtocol.ManualAssignmentTypeOrBuilder getManualAssignmentTypeOrBuilder()

Allow manual assignments triggered by administrative operations only.

.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.ManualAssignmentType manual_assignment_type = 2;

Returns
Type Description
AssignmentProtocol.ManualAssignmentTypeOrBuilder

hasAutoAssignmentType()

public boolean hasAutoAssignmentType()

Allow automatic assignments triggered by data plane operations.

.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.AutoAssignmentType auto_assignment_type = 3;

Returns
Type Description
boolean

Whether the autoAssignmentType field is set.

hasManualAssignmentType()

public boolean hasManualAssignmentType()

Allow manual assignments triggered by administrative operations only.

.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.ManualAssignmentType manual_assignment_type = 2;

Returns
Type Description
boolean

Whether the manualAssignmentType field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAutoAssignmentType(AssignmentProtocol.AutoAssignmentType value)

public AssignmentProtocol.Builder mergeAutoAssignmentType(AssignmentProtocol.AutoAssignmentType value)

Allow automatic assignments triggered by data plane operations.

.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.AutoAssignmentType auto_assignment_type = 3;

Parameter
Name Description
value AssignmentProtocol.AutoAssignmentType
Returns
Type Description
AssignmentProtocol.Builder

mergeFrom(AssignmentProtocol other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeManualAssignmentType(AssignmentProtocol.ManualAssignmentType value)

public AssignmentProtocol.Builder mergeManualAssignmentType(AssignmentProtocol.ManualAssignmentType value)

Allow manual assignments triggered by administrative operations only.

.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.ManualAssignmentType manual_assignment_type = 2;

Parameter
Name Description
value AssignmentProtocol.ManualAssignmentType
Returns
Type Description
AssignmentProtocol.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAutoAssignmentType(AssignmentProtocol.AutoAssignmentType value)

public AssignmentProtocol.Builder setAutoAssignmentType(AssignmentProtocol.AutoAssignmentType value)

Allow automatic assignments triggered by data plane operations.

.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.AutoAssignmentType auto_assignment_type = 3;

Parameter
Name Description
value AssignmentProtocol.AutoAssignmentType
Returns
Type Description
AssignmentProtocol.Builder

setAutoAssignmentType(AssignmentProtocol.AutoAssignmentType.Builder builderForValue)

public AssignmentProtocol.Builder setAutoAssignmentType(AssignmentProtocol.AutoAssignmentType.Builder builderForValue)

Allow automatic assignments triggered by data plane operations.

.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.AutoAssignmentType auto_assignment_type = 3;

Parameter
Name Description
builderForValue AssignmentProtocol.AutoAssignmentType.Builder
Returns
Type Description
AssignmentProtocol.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setManualAssignmentType(AssignmentProtocol.ManualAssignmentType value)

public AssignmentProtocol.Builder setManualAssignmentType(AssignmentProtocol.ManualAssignmentType value)

Allow manual assignments triggered by administrative operations only.

.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.ManualAssignmentType manual_assignment_type = 2;

Parameter
Name Description
value AssignmentProtocol.ManualAssignmentType
Returns
Type Description
AssignmentProtocol.Builder

setManualAssignmentType(AssignmentProtocol.ManualAssignmentType.Builder builderForValue)

public AssignmentProtocol.Builder setManualAssignmentType(AssignmentProtocol.ManualAssignmentType.Builder builderForValue)

Allow manual assignments triggered by administrative operations only.

.google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol.ManualAssignmentType manual_assignment_type = 2;

Parameter
Name Description
builderForValue AssignmentProtocol.ManualAssignmentType.Builder
Returns
Type Description
AssignmentProtocol.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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