public static final class SearchAllResourcesResponse.Builder extends GeneratedMessageV3.Builder<SearchAllResourcesResponse.Builder> implements SearchAllResourcesResponseOrBuilder
Search all resources response.Protobuf type
google.cloud.asset.v1.SearchAllResourcesResponse
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<SearchAllResourcesResponse.Builder>
public SearchAllResourcesResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<SearchAllResourcesResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<SearchAllResourcesResponse.Builder>
public SearchAllResourcesResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public SearchAllResourcesResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public SearchAllResourcesResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public SearchAllResourcesResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<SearchAllResourcesResponse.Builder>
public SearchAllResourcesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<SearchAllResourcesResponse.Builder>
public SearchAllResourcesResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<SearchAllResourcesResponse.Builder>
public SearchAllResourcesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<SearchAllResourcesResponse.Builder>
public SearchAllResourcesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<SearchAllResourcesResponse.Builder>
public SearchAllResourcesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<SearchAllResourcesResponse.Builder>
public SearchAllResourcesResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<SearchAllResourcesResponse.Builder>
public SearchAllResourcesResponse.Builder mergeFrom(SearchAllResourcesResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<SearchAllResourcesResponse.Builder>
public SearchAllResourcesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<SearchAllResourcesResponse.Builder>
IOException
public List<ResourceSearchResult> getResultsList()
A list of Resources that match the search query. It contains the resource standard metadata information.
repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
getResultsList
in interface SearchAllResourcesResponseOrBuilder
public int getResultsCount()
A list of Resources that match the search query. It contains the resource standard metadata information.
repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
getResultsCount
in interface SearchAllResourcesResponseOrBuilder
public ResourceSearchResult getResults(int index)
A list of Resources that match the search query. It contains the resource standard metadata information.
repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
getResults
in interface SearchAllResourcesResponseOrBuilder
public SearchAllResourcesResponse.Builder setResults(int index, ResourceSearchResult value)
A list of Resources that match the search query. It contains the resource standard metadata information.
repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
public SearchAllResourcesResponse.Builder setResults(int index, ResourceSearchResult.Builder builderForValue)
A list of Resources that match the search query. It contains the resource standard metadata information.
repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
public SearchAllResourcesResponse.Builder addResults(ResourceSearchResult value)
A list of Resources that match the search query. It contains the resource standard metadata information.
repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
public SearchAllResourcesResponse.Builder addResults(int index, ResourceSearchResult value)
A list of Resources that match the search query. It contains the resource standard metadata information.
repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
public SearchAllResourcesResponse.Builder addResults(ResourceSearchResult.Builder builderForValue)
A list of Resources that match the search query. It contains the resource standard metadata information.
repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
public SearchAllResourcesResponse.Builder addResults(int index, ResourceSearchResult.Builder builderForValue)
A list of Resources that match the search query. It contains the resource standard metadata information.
repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
public SearchAllResourcesResponse.Builder addAllResults(Iterable<? extends ResourceSearchResult> values)
A list of Resources that match the search query. It contains the resource standard metadata information.
repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
public SearchAllResourcesResponse.Builder clearResults()
A list of Resources that match the search query. It contains the resource standard metadata information.
repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
public SearchAllResourcesResponse.Builder removeResults(int index)
A list of Resources that match the search query. It contains the resource standard metadata information.
repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
public ResourceSearchResult.Builder getResultsBuilder(int index)
A list of Resources that match the search query. It contains the resource standard metadata information.
repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
public ResourceSearchResultOrBuilder getResultsOrBuilder(int index)
A list of Resources that match the search query. It contains the resource standard metadata information.
repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
getResultsOrBuilder
in interface SearchAllResourcesResponseOrBuilder
public List<? extends ResourceSearchResultOrBuilder> getResultsOrBuilderList()
A list of Resources that match the search query. It contains the resource standard metadata information.
repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
getResultsOrBuilderList
in interface SearchAllResourcesResponseOrBuilder
public ResourceSearchResult.Builder addResultsBuilder()
A list of Resources that match the search query. It contains the resource standard metadata information.
repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
public ResourceSearchResult.Builder addResultsBuilder(int index)
A list of Resources that match the search query. It contains the resource standard metadata information.
repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
public List<ResourceSearchResult.Builder> getResultsBuilderList()
A list of Resources that match the search query. It contains the resource standard metadata information.
repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
public String getNextPageToken()
If there are more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
string next_page_token = 2;
getNextPageToken
in interface SearchAllResourcesResponseOrBuilder
public ByteString getNextPageTokenBytes()
If there are more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
string next_page_token = 2;
getNextPageTokenBytes
in interface SearchAllResourcesResponseOrBuilder
public SearchAllResourcesResponse.Builder setNextPageToken(String value)
If there are more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
string next_page_token = 2;
value
- The nextPageToken to set.public SearchAllResourcesResponse.Builder clearNextPageToken()
If there are more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
string next_page_token = 2;
public SearchAllResourcesResponse.Builder setNextPageTokenBytes(ByteString value)
If there are more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
string next_page_token = 2;
value
- The bytes for nextPageToken to set.public final SearchAllResourcesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<SearchAllResourcesResponse.Builder>
public final SearchAllResourcesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<SearchAllResourcesResponse.Builder>
Copyright © 2022 Google LLC. All rights reserved.