Interface ExploreSchemaRequestOrBuilder (0.7.0)

public interface ExploreSchemaRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDepth()

public abstract int getDepth()

Optional. The maximum depth of BFS traversal hops to perform from the starting node types or label names. Defaults to 0 if unspecified.

int32 depth = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The depth.

getName()

public abstract String getName()

Required. The name of the singleton domain schema resource. Format: projects/{project}/locations/{location}/domains/{domain}/schema

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The name of the singleton domain schema resource. Format: projects/{project}/locations/{location}/domains/{domain}/schema

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getPageSize()

public abstract int getPageSize()

Optional. The maximum number of schema elements to return in a single page.

  • The service might return fewer elements than this value if adding another edge and its required endpoint nodes exceeds page_size.
  • If omitted or set to 0, default (100) will be used.
  • Minimum page_size is 3 to ensure at least one edge and its endpoint nodes fit on a page; values below 3 (e.g. 1 or 2) are changed to 3.
  • Maximum value is 500.

int32 page_size = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public abstract String getPageToken()

Optional. A page token received from a previous ExploreSchema call. Provide this to retrieve the subsequent page.

When paginating, all other parameters (except page_size) provided to ExploreSchema must match the call that provided the page token.

string page_token = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public abstract ByteString getPageTokenBytes()

Optional. A page token received from a previous ExploreSchema call. Provide this to retrieve the subsequent page.

When paginating, all other parameters (except page_size) provided to ExploreSchema must match the call that provided the page token.

string page_token = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getStartLabels(int index)

public abstract String getStartLabels(int index)

Optional. Starting label names to begin traversal. Substring, case-insensitive matches are performed against allowed label names in the schema. A maximum of 10 start_labels can be specified; providing more will result in an INVALID_ARGUMENT error. If start_labels is unset or empty, all authorized node types will be used as the starting set.

repeated string start_labels = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The startLabels at the given index.

getStartLabelsBytes(int index)

public abstract ByteString getStartLabelsBytes(int index)

Optional. Starting label names to begin traversal. Substring, case-insensitive matches are performed against allowed label names in the schema. A maximum of 10 start_labels can be specified; providing more will result in an INVALID_ARGUMENT error. If start_labels is unset or empty, all authorized node types will be used as the starting set.

repeated string start_labels = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the startLabels at the given index.

getStartLabelsCount()

public abstract int getStartLabelsCount()

Optional. Starting label names to begin traversal. Substring, case-insensitive matches are performed against allowed label names in the schema. A maximum of 10 start_labels can be specified; providing more will result in an INVALID_ARGUMENT error. If start_labels is unset or empty, all authorized node types will be used as the starting set.

repeated string start_labels = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of startLabels.

getStartLabelsList()

public abstract List<String> getStartLabelsList()

Optional. Starting label names to begin traversal. Substring, case-insensitive matches are performed against allowed label names in the schema. A maximum of 10 start_labels can be specified; providing more will result in an INVALID_ARGUMENT error. If start_labels is unset or empty, all authorized node types will be used as the starting set.

repeated string start_labels = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the startLabels.