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.Builder
addAllOrganizations(Iterable<? extends Organization> values)
The list of Organizations that matched the search query, possibly paginated.SearchOrganizationsResponse.Builder
addOrganizations(int index, Organization value)
The list of Organizations that matched the search query, possibly paginated.SearchOrganizationsResponse.Builder
addOrganizations(int index, Organization.Builder builderForValue)
The list of Organizations that matched the search query, possibly paginated.SearchOrganizationsResponse.Builder
addOrganizations(Organization value)
The list of Organizations that matched the search query, possibly paginated.SearchOrganizationsResponse.Builder
addOrganizations(Organization.Builder builderForValue)
The list of Organizations that matched the search query, possibly paginated.Organization.Builder
addOrganizationsBuilder()
The list of Organizations that matched the search query, possibly paginated.Organization.Builder
addOrganizationsBuilder(int index)
The list of Organizations that matched the search query, possibly paginated.SearchOrganizationsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SearchOrganizationsResponse
build()
SearchOrganizationsResponse
buildPartial()
SearchOrganizationsResponse.Builder
clear()
SearchOrganizationsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
SearchOrganizationsResponse.Builder
clearNextPageToken()
A pagination token to be used to retrieve the next page of results.SearchOrganizationsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
SearchOrganizationsResponse.Builder
clearOrganizations()
The list of Organizations that matched the search query, possibly paginated.SearchOrganizationsResponse.Builder
clone()
SearchOrganizationsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNextPageToken()
A pagination token to be used to retrieve the next page of results.com.google.protobuf.ByteString
getNextPageTokenBytes()
A pagination token to be used to retrieve the next page of results.Organization
getOrganizations(int index)
The list of Organizations that matched the search query, possibly paginated.Organization.Builder
getOrganizationsBuilder(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.int
getOrganizationsCount()
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.OrganizationOrBuilder
getOrganizationsOrBuilder(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.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
SearchOrganizationsResponse.Builder
mergeFrom(SearchOrganizationsResponse other)
SearchOrganizationsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SearchOrganizationsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
SearchOrganizationsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
SearchOrganizationsResponse.Builder
removeOrganizations(int index)
The list of Organizations that matched the search query, possibly paginated.SearchOrganizationsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SearchOrganizationsResponse.Builder
setNextPageToken(String value)
A pagination token to be used to retrieve the next page of results.SearchOrganizationsResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A pagination token to be used to retrieve the next page of results.SearchOrganizationsResponse.Builder
setOrganizations(int index, Organization value)
The list of Organizations that matched the search query, possibly paginated.SearchOrganizationsResponse.Builder
setOrganizations(int index, Organization.Builder builderForValue)
The list of Organizations that matched the search query, possibly paginated.SearchOrganizationsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
SearchOrganizationsResponse.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsResponse.Builder>
-
clear
public SearchOrganizationsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsResponse.Builder>
-
getDefaultInstanceForType
public SearchOrganizationsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public SearchOrganizationsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SearchOrganizationsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SearchOrganizationsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsResponse.Builder>
-
setField
public SearchOrganizationsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsResponse.Builder>
-
clearField
public SearchOrganizationsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsResponse.Builder>
-
clearOneof
public SearchOrganizationsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsResponse.Builder>
-
setRepeatedField
public SearchOrganizationsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsResponse.Builder>
-
addRepeatedField
public SearchOrganizationsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsResponse.Builder>
-
mergeFrom
public SearchOrganizationsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SearchOrganizationsResponse.Builder>
-
mergeFrom
public SearchOrganizationsResponse.Builder mergeFrom(SearchOrganizationsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getOrganizationsList
in 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:
getOrganizationsCount
in 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:
getOrganizations
in 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:
getOrganizationsOrBuilder
in 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:
getOrganizationsOrBuilderList
in 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:
getNextPageToken
in 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:
getNextPageTokenBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsResponse.Builder>
-
mergeUnknownFields
public final SearchOrganizationsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsResponse.Builder>
-
-