public final Field getField(String name) {

    GetFieldRequest request = GetFieldRequest.newBuilder().setName(name).build();
    return getField(request);
  }
public final Field getField ( String name ) { GetFieldRequest request = GetFieldRequest . newBuilder ( ) . setName ( name ) . build ( ) ; return getField ( request ) ; }
Gets the metadata and configuration for a Field.

<p>Sample code:

<pre><code>
try (FirestoreAdminClient firestoreAdminClient = FirestoreAdminClient.create()) {
FieldName name = FieldName.of("[PROJECT]", "[DATABASE]", "[COLLECTION_ID]", "[FIELD_ID]");
Field response = firestoreAdminClient.getField(name.toString());
}
</code></pre>

@param name A name of the form
`projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
@throws com.google.api.gax.rpc.ApiException if the remote call fails