public static final class SearchOrganizationsResponse.Builder extends GeneratedMessageV3.Builder<SearchOrganizationsResponse.Builder> implements SearchOrganizationsResponseOrBuilder
The response returned from the SearchOrganizations
method.
Protobuf type google.cloud.resourcemanager.v3.SearchOrganizationsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllOrganizations(Iterable<? extends Organization> values)
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;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.resourcemanager.v3.Organization>
|
Returns
addOrganizations(Organization value)
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;
Parameter
Returns
addOrganizations(Organization.Builder builderForValue)
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;
Parameter
Returns
addOrganizations(int index, Organization value)
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;
Parameters
Returns
addOrganizations(int index, Organization.Builder builderForValue)
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;
Parameters
Returns
addOrganizationsBuilder()
public Organization.Builder addOrganizationsBuilder()
The list of Organizations that matched the search query, possibly
paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
Returns
addOrganizationsBuilder(int index)
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;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchOrganizationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SearchOrganizationsResponse build()
Returns
buildPartial()
public SearchOrganizationsResponse buildPartial()
Returns
clear()
public SearchOrganizationsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchOrganizationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchOrganizationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearOrganizations()
public SearchOrganizationsResponse.Builder clearOrganizations()
The list of Organizations that matched the search query, possibly
paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
Returns
clone()
public SearchOrganizationsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SearchOrganizationsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public 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;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getOrganizations(int index)
public Organization getOrganizations(int index)
The list of Organizations that matched the search query, possibly
paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
Parameter
Returns
getOrganizationsBuilder(int index)
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;
Parameter
Returns
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;
Returns
getOrganizationsCount()
public int getOrganizationsCount()
The list of Organizations that matched the search query, possibly
paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
Returns
getOrganizationsList()
public List<Organization> getOrganizationsList()
The list of Organizations that matched the search query, possibly
paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
Returns
getOrganizationsOrBuilder(int index)
public OrganizationOrBuilder getOrganizationsOrBuilder(int index)
The list of Organizations that matched the search query, possibly
paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
Parameter
Returns
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;
Returns
Type | Description |
List<? extends com.google.cloud.resourcemanager.v3.OrganizationOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SearchOrganizationsResponse other)
public SearchOrganizationsResponse.Builder mergeFrom(SearchOrganizationsResponse other)
Parameter
Returns
public SearchOrganizationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SearchOrganizationsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchOrganizationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeOrganizations(int index)
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;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SearchOrganizationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
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;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public SearchOrganizationsResponse.Builder setNextPageTokenBytes(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;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setOrganizations(int index, Organization value)
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;
Parameters
Returns
setOrganizations(int index, Organization.Builder builderForValue)
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;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchOrganizationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchOrganizationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides