Class SearchOrganizationsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchOrganizationsResponse.Builder>
com.google.cloud.resourcemanager.v3.SearchOrganizationsResponse.Builder
- All Implemented Interfaces:
SearchOrganizationsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SearchOrganizationsResponse
public static final class SearchOrganizationsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SearchOrganizationsResponse.Builder>
implements SearchOrganizationsResponseOrBuilder
The response returned from the `SearchOrganizations` method.Protobuf type
google.cloud.resourcemanager.v3.SearchOrganizationsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllOrganizations(Iterable<? extends Organization> values) The list of Organizations that matched the search query, possibly paginated.addOrganizations(int index, Organization value) The list of Organizations that matched the search query, possibly paginated.addOrganizations(int index, Organization.Builder builderForValue) The list of Organizations that matched the search query, possibly paginated.addOrganizations(Organization value) The list of Organizations that matched the search query, possibly paginated.addOrganizations(Organization.Builder builderForValue) The list of Organizations that matched the search query, possibly paginated.The list of Organizations that matched the search query, possibly paginated.addOrganizationsBuilder(int index) The list of Organizations that matched the search query, possibly paginated.build()clear()A pagination token to be used to retrieve the next page of results.The list of Organizations that matched the search query, possibly paginated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA pagination token to be used to retrieve the next page of results.com.google.protobuf.ByteStringA pagination token to be used to retrieve the next page of results.getOrganizations(int index) The list of Organizations that matched the search query, possibly paginated.getOrganizationsBuilder(int index) The list of Organizations that matched the search query, possibly paginated.The list of Organizations that matched the search query, possibly paginated.intThe list of Organizations that matched the search query, possibly paginated.The list of Organizations that matched the search query, possibly paginated.getOrganizationsOrBuilder(int index) The list of Organizations that matched the search query, possibly paginated.List<? extends OrganizationOrBuilder>The list of Organizations that matched the search query, possibly paginated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeOrganizations(int index) The list of Organizations that matched the search query, possibly paginated.setNextPageToken(String value) A pagination token to be used to retrieve the next page of results.setNextPageTokenBytes(com.google.protobuf.ByteString value) A pagination token to be used to retrieve the next page of results.setOrganizations(int index, Organization value) The list of Organizations that matched the search query, possibly paginated.setOrganizations(int index, Organization.Builder builderForValue) The list of Organizations that matched the search query, possibly paginated.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SearchOrganizationsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SearchOrganizationsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SearchOrganizationsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchOrganizationsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SearchOrganizationsResponse.Builder>
-
mergeFrom
public SearchOrganizationsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchOrganizationsResponse.Builder>- Throws:
IOException
-
getOrganizationsList
The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;- Specified by:
getOrganizationsListin interfaceSearchOrganizationsResponseOrBuilder
-
getOrganizationsCount
public int getOrganizationsCount()The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;- Specified by:
getOrganizationsCountin interfaceSearchOrganizationsResponseOrBuilder
-
getOrganizations
The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;- Specified by:
getOrganizationsin interfaceSearchOrganizationsResponseOrBuilder
-
setOrganizations
The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1; -
setOrganizations
public SearchOrganizationsResponse.Builder setOrganizations(int index, Organization.Builder builderForValue) The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1; -
addOrganizations
The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1; -
addOrganizations
The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1; -
addOrganizations
The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1; -
addOrganizations
public SearchOrganizationsResponse.Builder addOrganizations(int index, Organization.Builder builderForValue) The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1; -
addAllOrganizations
public SearchOrganizationsResponse.Builder addAllOrganizations(Iterable<? extends Organization> values) The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1; -
clearOrganizations
The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1; -
removeOrganizations
The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1; -
getOrganizationsBuilder
The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1; -
getOrganizationsOrBuilder
The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;- Specified by:
getOrganizationsOrBuilderin interfaceSearchOrganizationsResponseOrBuilder
-
getOrganizationsOrBuilderList
The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;- Specified by:
getOrganizationsOrBuilderListin interfaceSearchOrganizationsResponseOrBuilder
-
addOrganizationsBuilder
The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1; -
addOrganizationsBuilder
The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1; -
getOrganizationsBuilderList
The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1; -
getNextPageToken
A pagination token to be used to retrieve the next page of results. If the result is too large to fit within the page size specified in the request, this field will be set with a token that can be used to fetch the next page of results. If this field is empty, it indicates that this response contains the last page of results.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceSearchOrganizationsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()A pagination token to be used to retrieve the next page of results. If the result is too large to fit within the page size specified in the request, this field will be set with a token that can be used to fetch the next page of results. If this field is empty, it indicates that this response contains the last page of results.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceSearchOrganizationsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
A pagination token to be used to retrieve the next page of results. If the result is too large to fit within the page size specified in the request, this field will be set with a token that can be used to fetch the next page of results. If this field is empty, it indicates that this response contains the last page of results.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
A pagination token to be used to retrieve the next page of results. If the result is too large to fit within the page size specified in the request, this field will be set with a token that can be used to fetch the next page of results. If this field is empty, it indicates that this response contains the last page of results.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public SearchOrganizationsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) A pagination token to be used to retrieve the next page of results. If the result is too large to fit within the page size specified in the request, this field will be set with a token that can be used to fetch the next page of results. If this field is empty, it indicates that this response contains the last page of results.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-