Enum LeaseType (0.5.0)

public enum LeaseType extends Enum<LeaseType> implements ProtocolMessageEnum

The lease type.

Protobuf enum google.cloud.visionai.v1.LeaseType

Implements

ProtocolMessageEnum

Static Fields

Name Description
LEASE_TYPE_READER

Lease for stream reader.

LEASE_TYPE_READER = 1;

LEASE_TYPE_READER_VALUE

Lease for stream reader.

LEASE_TYPE_READER = 1;

LEASE_TYPE_UNSPECIFIED

Lease type unspecified.

LEASE_TYPE_UNSPECIFIED = 0;

LEASE_TYPE_UNSPECIFIED_VALUE

Lease type unspecified.

LEASE_TYPE_UNSPECIFIED = 0;

LEASE_TYPE_WRITER

Lease for stream writer.

LEASE_TYPE_WRITER = 2;

LEASE_TYPE_WRITER_VALUE

Lease for stream writer.

LEASE_TYPE_WRITER = 2;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()