Class AssignmentProtocol.AutoAssignmentType.Builder (0.53.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

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
Returns
Type Description
AssignmentProtocol.AutoAssignmentType.Builder
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()
Returns
Type Description
AssignmentProtocol.AutoAssignmentType.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AssignmentProtocol.AutoAssignmentType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AssignmentProtocol.AutoAssignmentType.Builder
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];

Returns
Type Description
AssignmentProtocol.AutoAssignmentType.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public AssignmentProtocol.AutoAssignmentType.Builder clone()
Returns
Type Description
AssignmentProtocol.AutoAssignmentType.Builder
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
Returns
Type Description
AssignmentProtocol.AutoAssignmentType.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AssignmentProtocol.AutoAssignmentType.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AssignmentProtocol.AutoAssignmentType.Builder
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
Returns
Type Description
AssignmentProtocol.AutoAssignmentType.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public AssignmentProtocol.AutoAssignmentType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AssignmentProtocol.AutoAssignmentType.Builder
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
Returns
Type Description
AssignmentProtocol.AutoAssignmentType.Builder

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
Returns
Type Description
AssignmentProtocol.AutoAssignmentType.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
Returns
Type Description
AssignmentProtocol.AutoAssignmentType.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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