@InternalApi public static class FieldSelector.Helper extends Object
Modifier and Type | Method and Description |
---|---|
static String |
listSelector(String[] topLevelFields,
String containerName,
List<? extends FieldSelector> required,
FieldSelector[] others,
String... extraResourceFields)
Returns a composite selector given a number of top level fields as strings, a number of
resource fields and a container name.
|
static String |
listSelector(String containerName,
List<? extends FieldSelector> required,
FieldSelector... others)
Returns a composite selector given a number of resource fields and a container name.
|
static String |
listSelector(String containerName,
List<? extends FieldSelector> required,
FieldSelector[] others,
String... extraResourceFields)
Returns a composite selector given a number of resource fields and a container name.
|
static String |
selector(List<? extends FieldSelector> required,
FieldSelector... others)
Returns a composite selector given a number of resource fields.
|
public static String selector(List<? extends FieldSelector> required, FieldSelector... others)
public static String listSelector(String containerName, List<? extends FieldSelector> required, FieldSelector... others)
public static String listSelector(String containerName, List<? extends FieldSelector> required, FieldSelector[] others, String... extraResourceFields)
extraResourceFields
parameter to specify some extra resource
fields as strings. The string selector returned by this method can be used for field
selection in API calls that return a list of resources. This method is not supposed to be
used directly by users.public static String listSelector(String[] topLevelFields, String containerName, List<? extends FieldSelector> required, FieldSelector[] others, String... extraResourceFields)
extraResourceFields
parameter to specify some extra resource fields as strings. The string selector returned by
this method can be used for field selection in API calls that return a list of resources.
This method is not supposed to be used directly by users.Copyright © 2019 Google LLC. All rights reserved.