public static final class ListOrganizationsResponse.Builder extends GeneratedMessageV3.Builder<ListOrganizationsResponse.Builder> implements ListOrganizationsResponseOrBuilder
Response message for ListOrganizations RPC.
Protobuf type google.marketingplatform.admin.v1alpha.ListOrganizationsResponse
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public ListOrganizationsResponse.Builder addAllOrganizations(Iterable<? extends Organization> values)
The Organization resource that the user has access to, which includes the
org id and display name.
repeated .google.marketingplatform.admin.v1alpha.Organization organizations = 1;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.ads.marketingplatform.admin.v1alpha.Organization>
|
public ListOrganizationsResponse.Builder addOrganizations(Organization value)
The Organization resource that the user has access to, which includes the
org id and display name.
repeated .google.marketingplatform.admin.v1alpha.Organization organizations = 1;
public ListOrganizationsResponse.Builder addOrganizations(Organization.Builder builderForValue)
The Organization resource that the user has access to, which includes the
org id and display name.
repeated .google.marketingplatform.admin.v1alpha.Organization organizations = 1;
public ListOrganizationsResponse.Builder addOrganizations(int index, Organization value)
The Organization resource that the user has access to, which includes the
org id and display name.
repeated .google.marketingplatform.admin.v1alpha.Organization organizations = 1;
public ListOrganizationsResponse.Builder addOrganizations(int index, Organization.Builder builderForValue)
The Organization resource that the user has access to, which includes the
org id and display name.
repeated .google.marketingplatform.admin.v1alpha.Organization organizations = 1;
public Organization.Builder addOrganizationsBuilder()
The Organization resource that the user has access to, which includes the
org id and display name.
repeated .google.marketingplatform.admin.v1alpha.Organization organizations = 1;
public Organization.Builder addOrganizationsBuilder(int index)
The Organization resource that the user has access to, which includes the
org id and display name.
repeated .google.marketingplatform.admin.v1alpha.Organization organizations = 1;
| Parameter |
| Name |
Description |
index |
int
|
public ListOrganizationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListOrganizationsResponse build()
public ListOrganizationsResponse buildPartial()
public ListOrganizationsResponse.Builder clear()
Overrides
public ListOrganizationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListOrganizationsResponse.Builder clearNextPageToken()
A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
public ListOrganizationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListOrganizationsResponse.Builder clearOrganizations()
The Organization resource that the user has access to, which includes the
org id and display name.
repeated .google.marketingplatform.admin.v1alpha.Organization organizations = 1;
public ListOrganizationsResponse.Builder clone()
Overrides
public ListOrganizationsResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns |
| Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for nextPageToken.
|
public Organization getOrganizations(int index)
The Organization resource that the user has access to, which includes the
org id and display name.
repeated .google.marketingplatform.admin.v1alpha.Organization organizations = 1;
| Parameter |
| Name |
Description |
index |
int
|
public Organization.Builder getOrganizationsBuilder(int index)
The Organization resource that the user has access to, which includes the
org id and display name.
repeated .google.marketingplatform.admin.v1alpha.Organization organizations = 1;
| Parameter |
| Name |
Description |
index |
int
|
public List<Organization.Builder> getOrganizationsBuilderList()
The Organization resource that the user has access to, which includes the
org id and display name.
repeated .google.marketingplatform.admin.v1alpha.Organization organizations = 1;
public int getOrganizationsCount()
The Organization resource that the user has access to, which includes the
org id and display name.
repeated .google.marketingplatform.admin.v1alpha.Organization organizations = 1;
| Returns |
| Type |
Description |
int |
|
public List<Organization> getOrganizationsList()
The Organization resource that the user has access to, which includes the
org id and display name.
repeated .google.marketingplatform.admin.v1alpha.Organization organizations = 1;
public OrganizationOrBuilder getOrganizationsOrBuilder(int index)
The Organization resource that the user has access to, which includes the
org id and display name.
repeated .google.marketingplatform.admin.v1alpha.Organization organizations = 1;
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends OrganizationOrBuilder> getOrganizationsOrBuilderList()
The Organization resource that the user has access to, which includes the
org id and display name.
repeated .google.marketingplatform.admin.v1alpha.Organization organizations = 1;
| Returns |
| Type |
Description |
List<? extends com.google.ads.marketingplatform.admin.v1alpha.OrganizationOrBuilder> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListOrganizationsResponse.Builder mergeFrom(ListOrganizationsResponse other)
public ListOrganizationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListOrganizationsResponse.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public final ListOrganizationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ListOrganizationsResponse.Builder removeOrganizations(int index)
The Organization resource that the user has access to, which includes the
org id and display name.
repeated .google.marketingplatform.admin.v1alpha.Organization organizations = 1;
| Parameter |
| Name |
Description |
index |
int
|
public ListOrganizationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListOrganizationsResponse.Builder setNextPageToken(String value)
A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter |
| Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListOrganizationsResponse.Builder setNextPageTokenBytes(ByteString value)
A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
public ListOrganizationsResponse.Builder setOrganizations(int index, Organization value)
The Organization resource that the user has access to, which includes the
org id and display name.
repeated .google.marketingplatform.admin.v1alpha.Organization organizations = 1;
public ListOrganizationsResponse.Builder setOrganizations(int index, Organization.Builder builderForValue)
The Organization resource that the user has access to, which includes the
org id and display name.
repeated .google.marketingplatform.admin.v1alpha.Organization organizations = 1;
public ListOrganizationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListOrganizationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides