public static final class SearchAllResourcesResponse.Builder extends GeneratedMessageV3.Builder<SearchAllResourcesResponse.Builder> implements SearchAllResourcesResponseOrBuilder
Search all resources response.
Protobuf type google.cloud.asset.v1p1beta1.SearchAllResourcesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
public SearchAllResourcesResponse.Builder addAllResults(Iterable<? extends StandardResourceMetadata> values)
A list of resource that match the search query.
repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;
Parameter
Name |
Description |
values |
Iterable<? extends com.google.cloud.asset.v1p1beta1.StandardResourceMetadata>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchAllResourcesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public SearchAllResourcesResponse.Builder addResults(StandardResourceMetadata value)
A list of resource that match the search query.
repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;
Parameter
Returns
public SearchAllResourcesResponse.Builder addResults(StandardResourceMetadata.Builder builderForValue)
A list of resource that match the search query.
repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;
Parameter
Returns
public SearchAllResourcesResponse.Builder addResults(int index, StandardResourceMetadata value)
A list of resource that match the search query.
repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;
Parameters
Returns
public SearchAllResourcesResponse.Builder addResults(int index, StandardResourceMetadata.Builder builderForValue)
A list of resource that match the search query.
repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;
Parameters
Returns
addResultsBuilder()
public StandardResourceMetadata.Builder addResultsBuilder()
A list of resource that match the search query.
repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;
Returns
addResultsBuilder(int index)
public StandardResourceMetadata.Builder addResultsBuilder(int index)
A list of resource that match the search query.
repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;
Parameter
Name |
Description |
index |
int
|
Returns
build()
public SearchAllResourcesResponse build()
Returns
buildPartial()
public SearchAllResourcesResponse buildPartial()
Returns
clear()
public SearchAllResourcesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchAllResourcesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchAllResourcesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearResults()
public SearchAllResourcesResponse.Builder clearResults()
A list of resource that match the search query.
repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;
Returns
clone()
public SearchAllResourcesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SearchAllResourcesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
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;
Returns
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
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;
Returns
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
getResults(int index)
public StandardResourceMetadata getResults(int index)
A list of resource that match the search query.
repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getResultsBuilder(int index)
public StandardResourceMetadata.Builder getResultsBuilder(int index)
A list of resource that match the search query.
repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getResultsBuilderList()
public List<StandardResourceMetadata.Builder> getResultsBuilderList()
A list of resource that match the search query.
repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;
Returns
getResultsCount()
public int getResultsCount()
A list of resource that match the search query.
repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;
Returns
getResultsList()
public List<StandardResourceMetadata> getResultsList()
A list of resource that match the search query.
repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;
Returns
getResultsOrBuilder(int index)
public StandardResourceMetadataOrBuilder getResultsOrBuilder(int index)
A list of resource that match the search query.
repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getResultsOrBuilderList()
public List<? extends StandardResourceMetadataOrBuilder> getResultsOrBuilderList()
A list of resource that match the search query.
repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;
Returns
Type |
Description |
List<? extends com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SearchAllResourcesResponse other)
public SearchAllResourcesResponse.Builder mergeFrom(SearchAllResourcesResponse other)
Parameter
Returns
public SearchAllResourcesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SearchAllResourcesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchAllResourcesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeResults(int index)
public SearchAllResourcesResponse.Builder removeResults(int index)
A list of resource that match the search query.
repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;
Parameter
Name |
Description |
index |
int
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SearchAllResourcesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
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;
Parameter
Name |
Description |
value |
String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
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;
Parameter
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchAllResourcesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public SearchAllResourcesResponse.Builder setResults(int index, StandardResourceMetadata value)
A list of resource that match the search query.
repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;
Parameters
Returns
public SearchAllResourcesResponse.Builder setResults(int index, StandardResourceMetadata.Builder builderForValue)
A list of resource that match the search query.
repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchAllResourcesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides