Class ExploreSchemaRequest (0.7.0)

public final class ExploreSchemaRequest extends GeneratedMessage implements ExploreSchemaRequestOrBuilder

Request for ExploreSchema.

Protobuf type google.cloud.apptopology.v1.ExploreSchemaRequest

Static Fields

DEPTH_FIELD_NUMBER

public static final int DEPTH_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PAGE_SIZE_FIELD_NUMBER

public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
Type Description
int

PAGE_TOKEN_FIELD_NUMBER

public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

START_LABELS_FIELD_NUMBER

public static final int START_LABELS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExploreSchemaRequest getDefaultInstance()
Returns
Type Description
ExploreSchemaRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ExploreSchemaRequest.Builder newBuilder()
Returns
Type Description
ExploreSchemaRequest.Builder

newBuilder(ExploreSchemaRequest prototype)

public static ExploreSchemaRequest.Builder newBuilder(ExploreSchemaRequest prototype)
Parameter
Name Description
prototype ExploreSchemaRequest
Returns
Type Description
ExploreSchemaRequest.Builder

parseDelimitedFrom(InputStream input)

public static ExploreSchemaRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExploreSchemaRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExploreSchemaRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExploreSchemaRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExploreSchemaRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExploreSchemaRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExploreSchemaRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExploreSchemaRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExploreSchemaRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExploreSchemaRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExploreSchemaRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExploreSchemaRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExploreSchemaRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExploreSchemaRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExploreSchemaRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExploreSchemaRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExploreSchemaRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExploreSchemaRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExploreSchemaRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExploreSchemaRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExploreSchemaRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExploreSchemaRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExploreSchemaRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExploreSchemaRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExploreSchemaRequest> parser()
Returns
Type Description
Parser<ExploreSchemaRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ExploreSchemaRequest getDefaultInstanceForType()
Returns
Type Description
ExploreSchemaRequest

getDepth()

public 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 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 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 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 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 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.

getParserForType()

public Parser<ExploreSchemaRequest> getParserForType()
Returns
Type Description
Parser<ExploreSchemaRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartLabels(int index)

public 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 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 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 ProtocolStringList 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
ProtocolStringList

A list containing the startLabels.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExploreSchemaRequest.Builder newBuilderForType()
Returns
Type Description
ExploreSchemaRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ExploreSchemaRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExploreSchemaRequest.Builder
Overrides

toBuilder()

public ExploreSchemaRequest.Builder toBuilder()
Returns
Type Description
ExploreSchemaRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException