Class AssignmentProtocol.AutoAssignmentType (0.52.0)

public static final class AssignmentProtocol.AutoAssignmentType extends GeneratedMessageV3 implements AssignmentProtocol.AutoAssignmentTypeOrBuilder

Configuration for automatic assignments handled by data plane operations.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AssignmentProtocol.AutoAssignmentType

Static Fields

INACTIVE_LICENSE_TTL_FIELD_NUMBER

public static final int INACTIVE_LICENSE_TTL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AssignmentProtocol.AutoAssignmentType getDefaultInstance()
Returns
Type Description
AssignmentProtocol.AutoAssignmentType

getDescriptor()

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

newBuilder()

public static AssignmentProtocol.AutoAssignmentType.Builder newBuilder()
Returns
Type Description
AssignmentProtocol.AutoAssignmentType.Builder

newBuilder(AssignmentProtocol.AutoAssignmentType prototype)

public static AssignmentProtocol.AutoAssignmentType.Builder newBuilder(AssignmentProtocol.AutoAssignmentType prototype)
Parameter
Name Description
prototype AssignmentProtocol.AutoAssignmentType
Returns
Type Description
AssignmentProtocol.AutoAssignmentType.Builder

parseDelimitedFrom(InputStream input)

public static AssignmentProtocol.AutoAssignmentType parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AssignmentProtocol.AutoAssignmentType
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AssignmentProtocol.AutoAssignmentType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AssignmentProtocol.AutoAssignmentType
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AssignmentProtocol.AutoAssignmentType parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AssignmentProtocol.AutoAssignmentType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AssignmentProtocol.AutoAssignmentType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AssignmentProtocol.AutoAssignmentType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AssignmentProtocol.AutoAssignmentType parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AssignmentProtocol.AutoAssignmentType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AssignmentProtocol.AutoAssignmentType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AssignmentProtocol.AutoAssignmentType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AssignmentProtocol.AutoAssignmentType parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AssignmentProtocol.AutoAssignmentType
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AssignmentProtocol.AutoAssignmentType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AssignmentProtocol.AutoAssignmentType
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AssignmentProtocol.AutoAssignmentType parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AssignmentProtocol.AutoAssignmentType
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AssignmentProtocol.AutoAssignmentType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AssignmentProtocol.AutoAssignmentType
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AssignmentProtocol.AutoAssignmentType parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AssignmentProtocol.AutoAssignmentType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AssignmentProtocol.AutoAssignmentType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AssignmentProtocol.AutoAssignmentType
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AssignmentProtocol.AutoAssignmentType> parser()
Returns
Type Description
Parser<AutoAssignmentType>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

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

getParserForType()

public Parser<AssignmentProtocol.AutoAssignmentType> getParserForType()
Returns
Type Description
Parser<AutoAssignmentType>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AssignmentProtocol.AutoAssignmentType.Builder newBuilderForType()
Returns
Type Description
AssignmentProtocol.AutoAssignmentType.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AssignmentProtocol.AutoAssignmentType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AssignmentProtocol.AutoAssignmentType.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AssignmentProtocol.AutoAssignmentType.Builder toBuilder()
Returns
Type Description
AssignmentProtocol.AutoAssignmentType.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException