Class AssignmentProtocol.AutoAssignmentType.Builder (0.56.0)

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

Configuration for automatic assignments handled by data plane operations.

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

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()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AssignmentProtocol.AutoAssignmentType build()
Returns
Type Description
AssignmentProtocol.AutoAssignmentType

buildPartial()

public AssignmentProtocol.AutoAssignmentType buildPartial()
Returns
Type Description
AssignmentProtocol.AutoAssignmentType

clear()

public AssignmentProtocol.AutoAssignmentType.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearInactiveLicenseTtl()

public AssignmentProtocol.AutoAssignmentType.Builder clearInactiveLicenseTtl()

Optional. The time to live for an inactive license. After this time has passed, the license will be automatically unassigned from the user. Must be at least 7 days, if set. If unset, the license will never expire.

.google.protobuf.Duration inactive_license_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public AssignmentProtocol.AutoAssignmentType.Builder clone()
Overrides

getDefaultInstanceForType()

public AssignmentProtocol.AutoAssignmentType getDefaultInstanceForType()
Returns
Type Description
AssignmentProtocol.AutoAssignmentType

getDescriptorForType()

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

getInactiveLicenseTtl()

public Duration getInactiveLicenseTtl()

Optional. The time to live for an inactive license. After this time has passed, the license will be automatically unassigned from the user. Must be at least 7 days, if set. If unset, the license will never expire.

.google.protobuf.Duration inactive_license_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The inactiveLicenseTtl.

getInactiveLicenseTtlBuilder()

public Duration.Builder getInactiveLicenseTtlBuilder()

Optional. The time to live for an inactive license. After this time has passed, the license will be automatically unassigned from the user. Must be at least 7 days, if set. If unset, the license will never expire.

.google.protobuf.Duration inactive_license_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getInactiveLicenseTtlOrBuilder()

public DurationOrBuilder getInactiveLicenseTtlOrBuilder()

Optional. The time to live for an inactive license. After this time has passed, the license will be automatically unassigned from the user. Must be at least 7 days, if set. If unset, the license will never expire.

.google.protobuf.Duration inactive_license_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

hasInactiveLicenseTtl()

public boolean hasInactiveLicenseTtl()

Optional. The time to live for an inactive license. After this time has passed, the license will be automatically unassigned from the user. Must be at least 7 days, if set. If unset, the license will never expire.

.google.protobuf.Duration inactive_license_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the inactiveLicenseTtl field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AssignmentProtocol.AutoAssignmentType other)

public AssignmentProtocol.AutoAssignmentType.Builder mergeFrom(AssignmentProtocol.AutoAssignmentType other)
Parameter
Name Description
other AssignmentProtocol.AutoAssignmentType

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInactiveLicenseTtl(Duration value)

public AssignmentProtocol.AutoAssignmentType.Builder mergeInactiveLicenseTtl(Duration value)

Optional. The time to live for an inactive license. After this time has passed, the license will be automatically unassigned from the user. Must be at least 7 days, if set. If unset, the license will never expire.

.google.protobuf.Duration inactive_license_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInactiveLicenseTtl(Duration value)

public AssignmentProtocol.AutoAssignmentType.Builder setInactiveLicenseTtl(Duration value)

Optional. The time to live for an inactive license. After this time has passed, the license will be automatically unassigned from the user. Must be at least 7 days, if set. If unset, the license will never expire.

.google.protobuf.Duration inactive_license_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration

setInactiveLicenseTtl(Duration.Builder builderForValue)

public AssignmentProtocol.AutoAssignmentType.Builder setInactiveLicenseTtl(Duration.Builder builderForValue)

Optional. The time to live for an inactive license. After this time has passed, the license will be automatically unassigned from the user. Must be at least 7 days, if set. If unset, the license will never expire.

.google.protobuf.Duration inactive_license_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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