Class SearchOrganizationsResponse.Builder (1.2.12)

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
TypeDescription
Descriptor

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
NameDescription
valuesIterable<? extends com.google.cloud.resourcemanager.v3.Organization>
Returns
TypeDescription
SearchOrganizationsResponse.Builder

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
NameDescription
valueOrganization
Returns
TypeDescription
SearchOrganizationsResponse.Builder

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
NameDescription
builderForValueOrganization.Builder
Returns
TypeDescription
SearchOrganizationsResponse.Builder

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
NameDescription
indexint
valueOrganization
Returns
TypeDescription
SearchOrganizationsResponse.Builder

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
NameDescription
indexint
builderForValueOrganization.Builder
Returns
TypeDescription
SearchOrganizationsResponse.Builder

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
TypeDescription
Organization.Builder

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
NameDescription
indexint
Returns
TypeDescription
Organization.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchOrganizationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SearchOrganizationsResponse.Builder
Overrides

build()

public SearchOrganizationsResponse build()
Returns
TypeDescription
SearchOrganizationsResponse

buildPartial()

public SearchOrganizationsResponse buildPartial()
Returns
TypeDescription
SearchOrganizationsResponse

clear()

public SearchOrganizationsResponse.Builder clear()
Returns
TypeDescription
SearchOrganizationsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SearchOrganizationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SearchOrganizationsResponse.Builder
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
TypeDescription
SearchOrganizationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchOrganizationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SearchOrganizationsResponse.Builder
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
TypeDescription
SearchOrganizationsResponse.Builder

clone()

public SearchOrganizationsResponse.Builder clone()
Returns
TypeDescription
SearchOrganizationsResponse.Builder
Overrides

getDefaultInstanceForType()

public SearchOrganizationsResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchOrganizationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Organization

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
NameDescription
indexint
Returns
TypeDescription
Organization.Builder

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
TypeDescription
List<Builder>

getOrganizationsCount()

public int getOrganizationsCount()

The list of Organizations that matched the search query, possibly paginated.

repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;

Returns
TypeDescription
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;

Returns
TypeDescription
List<Organization>

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
NameDescription
indexint
Returns
TypeDescription
OrganizationOrBuilder

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
TypeDescription
List<? extends com.google.cloud.resourcemanager.v3.OrganizationOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SearchOrganizationsResponse other)

public SearchOrganizationsResponse.Builder mergeFrom(SearchOrganizationsResponse other)
Parameter
NameDescription
otherSearchOrganizationsResponse
Returns
TypeDescription
SearchOrganizationsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchOrganizationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchOrganizationsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SearchOrganizationsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SearchOrganizationsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchOrganizationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchOrganizationsResponse.Builder
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
NameDescription
indexint
Returns
TypeDescription
SearchOrganizationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SearchOrganizationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SearchOrganizationsResponse.Builder
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
SearchOrganizationsResponse.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
SearchOrganizationsResponse.Builder

This builder for chaining.

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
NameDescription
indexint
valueOrganization
Returns
TypeDescription
SearchOrganizationsResponse.Builder

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
NameDescription
indexint
builderForValueOrganization.Builder
Returns
TypeDescription
SearchOrganizationsResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SearchOrganizationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SearchOrganizationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchOrganizationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchOrganizationsResponse.Builder
Overrides