Class SearchOrganizationsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<SearchOrganizationsResponse.Builder> implements SearchOrganizationsResponseOrBuilder
The response returned from the `SearchOrganizations` method.
Protobuf typegoogle.cloud.resourcemanager.v3.SearchOrganizationsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchOrganizationsResponse.BuilderaddAllOrganizations(Iterable<? extends Organization> values)The list of Organizations that matched the search query, possibly paginated.SearchOrganizationsResponse.BuilderaddOrganizations(int index, Organization value)The list of Organizations that matched the search query, possibly paginated.SearchOrganizationsResponse.BuilderaddOrganizations(int index, Organization.Builder builderForValue)The list of Organizations that matched the search query, possibly paginated.SearchOrganizationsResponse.BuilderaddOrganizations(Organization value)The list of Organizations that matched the search query, possibly paginated.SearchOrganizationsResponse.BuilderaddOrganizations(Organization.Builder builderForValue)The list of Organizations that matched the search query, possibly paginated.Organization.BuilderaddOrganizationsBuilder()The list of Organizations that matched the search query, possibly paginated.Organization.BuilderaddOrganizationsBuilder(int index)The list of Organizations that matched the search query, possibly paginated.SearchOrganizationsResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SearchOrganizationsResponsebuild()SearchOrganizationsResponsebuildPartial()SearchOrganizationsResponse.Builderclear()SearchOrganizationsResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)SearchOrganizationsResponse.BuilderclearNextPageToken()A pagination token to be used to retrieve the next page of results.SearchOrganizationsResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)SearchOrganizationsResponse.BuilderclearOrganizations()The list of Organizations that matched the search query, possibly paginated.SearchOrganizationsResponse.Builderclone()SearchOrganizationsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetNextPageToken()A pagination token to be used to retrieve the next page of results.com.google.protobuf.ByteStringgetNextPageTokenBytes()A pagination token to be used to retrieve the next page of results.OrganizationgetOrganizations(int index)The list of Organizations that matched the search query, possibly paginated.Organization.BuildergetOrganizationsBuilder(int index)The list of Organizations that matched the search query, possibly paginated.List<Organization.Builder>getOrganizationsBuilderList()The list of Organizations that matched the search query, possibly paginated.intgetOrganizationsCount()The list of Organizations that matched the search query, possibly paginated.List<Organization>getOrganizationsList()The list of Organizations that matched the search query, possibly paginated.OrganizationOrBuildergetOrganizationsOrBuilder(int index)The list of Organizations that matched the search query, possibly paginated.List<? extends OrganizationOrBuilder>getOrganizationsOrBuilderList()The list of Organizations that matched the search query, possibly paginated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()SearchOrganizationsResponse.BuildermergeFrom(SearchOrganizationsResponse other)SearchOrganizationsResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SearchOrganizationsResponse.BuildermergeFrom(com.google.protobuf.Message other)SearchOrganizationsResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SearchOrganizationsResponse.BuilderremoveOrganizations(int index)The list of Organizations that matched the search query, possibly paginated.SearchOrganizationsResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SearchOrganizationsResponse.BuildersetNextPageToken(String value)A pagination token to be used to retrieve the next page of results.SearchOrganizationsResponse.BuildersetNextPageTokenBytes(com.google.protobuf.ByteString value)A pagination token to be used to retrieve the next page of results.SearchOrganizationsResponse.BuildersetOrganizations(int index, Organization value)The list of Organizations that matched the search query, possibly paginated.SearchOrganizationsResponse.BuildersetOrganizations(int index, Organization.Builder builderForValue)The list of Organizations that matched the search query, possibly paginated.SearchOrganizationsResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)SearchOrganizationsResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsResponse.Builder>
-
clear
public SearchOrganizationsResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<SearchOrganizationsResponse.Builder>
-
getDefaultInstanceForType
public SearchOrganizationsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SearchOrganizationsResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SearchOrganizationsResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SearchOrganizationsResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsResponse.Builder>
-
setField
public SearchOrganizationsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsResponse.Builder>
-
clearField
public SearchOrganizationsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsResponse.Builder>
-
clearOneof
public SearchOrganizationsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsResponse.Builder>
-
setRepeatedField
public SearchOrganizationsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsResponse.Builder>
-
addRepeatedField
public SearchOrganizationsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsResponse.Builder>
-
mergeFrom
public SearchOrganizationsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchOrganizationsResponse.Builder>
-
mergeFrom
public SearchOrganizationsResponse.Builder mergeFrom(SearchOrganizationsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public List<Organization> 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
public Organization getOrganizations(int index)
The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;- Specified by:
getOrganizationsin interfaceSearchOrganizationsResponseOrBuilder
-
setOrganizations
public SearchOrganizationsResponse.Builder setOrganizations(int index, Organization value)
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
public SearchOrganizationsResponse.Builder addOrganizations(Organization value)
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 value)
The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
-
addOrganizations
public SearchOrganizationsResponse.Builder addOrganizations(Organization.Builder builderForValue)
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
public SearchOrganizationsResponse.Builder clearOrganizations()
The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
-
removeOrganizations
public SearchOrganizationsResponse.Builder removeOrganizations(int index)
The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
-
getOrganizationsBuilder
public Organization.Builder getOrganizationsBuilder(int index)
The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
-
getOrganizationsOrBuilder
public OrganizationOrBuilder getOrganizationsOrBuilder(int index)
The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;- Specified by:
getOrganizationsOrBuilderin interfaceSearchOrganizationsResponseOrBuilder
-
getOrganizationsOrBuilderList
public List<? extends OrganizationOrBuilder> 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
public Organization.Builder addOrganizationsBuilder()
The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
-
addOrganizationsBuilder
public Organization.Builder addOrganizationsBuilder(int index)
The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
-
getOrganizationsBuilderList
public List<Organization.Builder> getOrganizationsBuilderList()
The list of Organizations that matched the search query, possibly paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
-
getNextPageToken
public String 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
public SearchOrganizationsResponse.Builder setNextPageToken(String 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 nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public SearchOrganizationsResponse.Builder 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.
-
setUnknownFields
public final SearchOrganizationsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsResponse.Builder>
-
mergeUnknownFields
public final SearchOrganizationsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsResponse.Builder>
-
-