public Builder setAsset(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      asset_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
<pre>
Required. The resource name of the asset.
Format:
`projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`
</pre>

<code>
string asset = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
</code>

@param value The asset to set.
@return This builder for chaining.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/IndexedAsset.java