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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AssignmentProtocol.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AssignmentProtocol build()
buildPartial()
public AssignmentProtocol buildPartial()
clear()
public AssignmentProtocol.Builder clear()
Overrides
clearAssignmentType()
public AssignmentProtocol.Builder clearAssignmentType()
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;
clearField(Descriptors.FieldDescriptor field)
public AssignmentProtocol.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public AssignmentProtocol.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AssignmentProtocol.Builder clone()
Overrides
getAssignmentTypeCase()
public AssignmentProtocol.AssignmentTypeCase getAssignmentTypeCase()
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;
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;
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;
getDefaultInstanceForType()
public AssignmentProtocol getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(AssignmentProtocol other)
public AssignmentProtocol.Builder mergeFrom(AssignmentProtocol other)
public AssignmentProtocol.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AssignmentProtocol.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AssignmentProtocol.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public AssignmentProtocol.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AssignmentProtocol.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AssignmentProtocol.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides