Class SearchResult.Builder (0.41.0)
0.41.0 (latest)
0.40.0
0.38.0
0.36.0
0.35.0
0.34.0
0.33.0
0.31.0
0.29.0
0.28.0
0.27.0
0.26.0
0.25.0
0.23.0
0.21.0
0.20.0
0.17.0
0.16.0
0.15.0
0.13.0
0.12.0
0.11.0
0.10.0
0.9.0
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.2.0
0.1.0
public static final class SearchResult . Builder extends GeneratedMessage . Builder<SearchResult . Builder > implements SearchResultOrBuilder
Represents the search results.
Protobuf type google.cloud.apihub.v1.SearchResult
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
build()
public SearchResult build ()
buildPartial()
public SearchResult buildPartial ()
clear()
public SearchResult . Builder clear ()
Overrides
clearResource()
public SearchResult . Builder clearResource ()
This represents the ApiHubResource.
Note: Only selected fields of the resources are populated in response.
.google.cloud.apihub.v1.ApiHubResource resource = 1;
getDefaultInstanceForType()
public SearchResult getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getResource()
public ApiHubResource getResource ()
This represents the ApiHubResource.
Note: Only selected fields of the resources are populated in response.
.google.cloud.apihub.v1.ApiHubResource resource = 1;
getResourceBuilder()
public ApiHubResource . Builder getResourceBuilder ()
This represents the ApiHubResource.
Note: Only selected fields of the resources are populated in response.
.google.cloud.apihub.v1.ApiHubResource resource = 1;
getResourceOrBuilder()
public ApiHubResourceOrBuilder getResourceOrBuilder ()
This represents the ApiHubResource.
Note: Only selected fields of the resources are populated in response.
.google.cloud.apihub.v1.ApiHubResource resource = 1;
hasResource()
public 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.
internalGetFieldAccessorTable()
protected GeneratedMessage . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(SearchResult other)
public SearchResult . Builder mergeFrom ( SearchResult other )
public SearchResult . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public SearchResult . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeResource(ApiHubResource value)
public SearchResult . Builder mergeResource ( ApiHubResource value )
This represents the ApiHubResource.
Note: Only selected fields of the resources are populated in response.
.google.cloud.apihub.v1.ApiHubResource resource = 1;
setResource(ApiHubResource value)
public SearchResult . Builder setResource ( ApiHubResource value )
This represents the ApiHubResource.
Note: Only selected fields of the resources are populated in response.
.google.cloud.apihub.v1.ApiHubResource resource = 1;
setResource(ApiHubResource.Builder builderForValue)
public SearchResult . Builder setResource ( ApiHubResource . Builder builderForValue )
This represents the ApiHubResource.
Note: Only selected fields of the resources are populated in response.
.google.cloud.apihub.v1.ApiHubResource resource = 1;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-29 UTC."],[],[]]