public java.lang.String getReferenceValue() {
    java.lang.Object ref = "";
    if (valueTypeCase_ == 5) {
      ref = valueType_;
    }
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      if (valueTypeCase_ == 5) {
        valueType_ = s;
      }
      return s;
    }
  }
public java . lang . String getReferenceValue ( ) { java . lang . Object ref = "" ; if ( valueTypeCase_ == 5 ) { ref = valueType_ ; } if ( ref instanceof java . lang . String ) { return ( java . lang . String ) ref ; } else { com . google . protobuf . ByteString bs = ( com . google . protobuf . ByteString ) ref ; java . lang . String s = bs . toStringUtf8 ( ) ; if ( valueTypeCase_ == 5 ) { valueType_ = s ; } return s ; } }
<pre>
A reference to a document. For example:
`projects/{project_id}/databases/{database_id}/documents/{document_path}`.
</pre>

<code>string reference_value = 5;</code>