@java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, clientId_);
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getClientSecret());
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tenantId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tenantId_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sharepointSiteName_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, sharepointSiteName_);
      }
      if (folderSourceCase_ == 5) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, folderSource_);
      }
      if (folderSourceCase_ == 6) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, folderSource_);
      }
      if (driveSourceCase_ == 7) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, driveSource_);
      }
      if (driveSourceCase_ == 8) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, driveSource_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, fileId_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }
<pre>
Output only. The SharePoint file id. Output only.
</pre>

<code>string file_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>

@return The bytes for fileId.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/SharePointSources.java