public com.google.protobuf.ByteString getIndexBytes() {
      java.lang.Object ref = index_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        index_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
<pre>
Optional. The name of the index.
Format:
`projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}`
</pre>

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

@return The bytes for index.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/RemoveIndexAssetRequest.java