@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(series_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, series_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, owner_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(4, getExpireTime());
    }
    if (leaseType_ != com.google.cloud.visionai.v1.LeaseType.LEASE_TYPE_UNSPECIFIED.getNumber()) {
      output.writeEnum(5, leaseType_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
The lease type.
</pre>

<code>.google.cloud.visionai.v1.LeaseType lease_type = 5;</code>

@return The leaseType.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/Lease.java