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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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>
|
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;
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;
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;
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;
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(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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchOrganizationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SearchOrganizationsResponse build()
buildPartial()
public SearchOrganizationsResponse buildPartial()
clear()
public SearchOrganizationsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchOrganizationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchOrganizationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public SearchOrganizationsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public SearchOrganizationsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
getOrganizationsCount()
public int getOrganizationsCount()
The list of Organizations that matched the search query, possibly
paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
Returns |
---|
Type | Description |
int | |
getOrganizationsList()
public List<Organization> getOrganizationsList()
The list of Organizations that matched the search query, possibly
paginated.
repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;
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 |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SearchOrganizationsResponse other)
public SearchOrganizationsResponse.Builder mergeFrom(SearchOrganizationsResponse other)
public SearchOrganizationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchOrganizationsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchOrganizationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public SearchOrganizationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchOrganizationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchOrganizationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides