Interface SearchResultOrBuilder (0.2.0)

public interface SearchResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getResource()

public abstract ApiHubResource getResource()

This represents the ApiHubResource. Note: Only selected fields of the resources are populated in response.

.google.cloud.apihub.v1.ApiHubResource resource = 1;

Returns
Type Description
ApiHubResource

The resource.

getResourceOrBuilder()

public abstract ApiHubResourceOrBuilder getResourceOrBuilder()

This represents the ApiHubResource. Note: Only selected fields of the resources are populated in response.

.google.cloud.apihub.v1.ApiHubResource resource = 1;

Returns
Type Description
ApiHubResourceOrBuilder

hasResource()

public abstract boolean hasResource()

This represents the ApiHubResource. Note: Only selected fields of the resources are populated in response.

.google.cloud.apihub.v1.ApiHubResource resource = 1;

Returns
Type Description
boolean

Whether the resource field is set.