public static final class SearchResult.Builder extends GeneratedMessageV3.Builder<SearchResult.Builder> implements SearchResultOrBuilder
Represents the search results.
Protobuf type google.cloud.apihub.v1.SearchResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SearchResult build()
buildPartial()
public SearchResult buildPartial()
clear()
public SearchResult.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchResult.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public SearchResult.Builder clone()
Overrides
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 GeneratedMessageV3.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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SearchResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides