public static final class EnumerateLicensedUsersResponse.Builder extends GeneratedMessageV3.Builder<EnumerateLicensedUsersResponse.Builder> implements EnumerateLicensedUsersResponseOrBuilder
Response message for
LicenseManagementService.EnumerateLicensedUsers.
Protobuf type
google.cloud.commerce.consumer.procurement.v1.EnumerateLicensedUsersResponse
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
addAllLicensedUsers(Iterable<? extends LicensedUser> values)
public EnumerateLicensedUsersResponse.Builder addAllLicensedUsers(Iterable<? extends LicensedUser> values)
The list of licensed users.
repeated .google.cloud.commerce.consumer.procurement.v1.LicensedUser licensed_users = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.commerce.consumer.procurement.v1.LicensedUser>
|
addLicensedUsers(LicensedUser value)
public EnumerateLicensedUsersResponse.Builder addLicensedUsers(LicensedUser value)
The list of licensed users.
repeated .google.cloud.commerce.consumer.procurement.v1.LicensedUser licensed_users = 1;
addLicensedUsers(LicensedUser.Builder builderForValue)
public EnumerateLicensedUsersResponse.Builder addLicensedUsers(LicensedUser.Builder builderForValue)
The list of licensed users.
repeated .google.cloud.commerce.consumer.procurement.v1.LicensedUser licensed_users = 1;
addLicensedUsers(int index, LicensedUser value)
public EnumerateLicensedUsersResponse.Builder addLicensedUsers(int index, LicensedUser value)
The list of licensed users.
repeated .google.cloud.commerce.consumer.procurement.v1.LicensedUser licensed_users = 1;
addLicensedUsers(int index, LicensedUser.Builder builderForValue)
public EnumerateLicensedUsersResponse.Builder addLicensedUsers(int index, LicensedUser.Builder builderForValue)
The list of licensed users.
repeated .google.cloud.commerce.consumer.procurement.v1.LicensedUser licensed_users = 1;
addLicensedUsersBuilder()
public LicensedUser.Builder addLicensedUsersBuilder()
The list of licensed users.
repeated .google.cloud.commerce.consumer.procurement.v1.LicensedUser licensed_users = 1;
addLicensedUsersBuilder(int index)
public LicensedUser.Builder addLicensedUsersBuilder(int index)
The list of licensed users.
repeated .google.cloud.commerce.consumer.procurement.v1.LicensedUser licensed_users = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EnumerateLicensedUsersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public EnumerateLicensedUsersResponse build()
buildPartial()
public EnumerateLicensedUsersResponse buildPartial()
clear()
public EnumerateLicensedUsersResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public EnumerateLicensedUsersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLicensedUsers()
public EnumerateLicensedUsersResponse.Builder clearLicensedUsers()
The list of licensed users.
repeated .google.cloud.commerce.consumer.procurement.v1.LicensedUser licensed_users = 1;
clearNextPageToken()
public EnumerateLicensedUsersResponse.Builder clearNextPageToken()
A token that 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;
clearOneof(Descriptors.OneofDescriptor oneof)
public EnumerateLicensedUsersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public EnumerateLicensedUsersResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public EnumerateLicensedUsersResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLicensedUsers(int index)
public LicensedUser getLicensedUsers(int index)
The list of licensed users.
repeated .google.cloud.commerce.consumer.procurement.v1.LicensedUser licensed_users = 1;
Parameter |
Name |
Description |
index |
int
|
getLicensedUsersBuilder(int index)
public LicensedUser.Builder getLicensedUsersBuilder(int index)
The list of licensed users.
repeated .google.cloud.commerce.consumer.procurement.v1.LicensedUser licensed_users = 1;
Parameter |
Name |
Description |
index |
int
|
getLicensedUsersBuilderList()
public List<LicensedUser.Builder> getLicensedUsersBuilderList()
The list of licensed users.
repeated .google.cloud.commerce.consumer.procurement.v1.LicensedUser licensed_users = 1;
getLicensedUsersCount()
public int getLicensedUsersCount()
The list of licensed users.
repeated .google.cloud.commerce.consumer.procurement.v1.LicensedUser licensed_users = 1;
Returns |
Type |
Description |
int |
|
getLicensedUsersList()
public List<LicensedUser> getLicensedUsersList()
The list of licensed users.
repeated .google.cloud.commerce.consumer.procurement.v1.LicensedUser licensed_users = 1;
getLicensedUsersOrBuilder(int index)
public LicensedUserOrBuilder getLicensedUsersOrBuilder(int index)
The list of licensed users.
repeated .google.cloud.commerce.consumer.procurement.v1.LicensedUser licensed_users = 1;
Parameter |
Name |
Description |
index |
int
|
getLicensedUsersOrBuilderList()
public List<? extends LicensedUserOrBuilder> getLicensedUsersOrBuilderList()
The list of licensed users.
repeated .google.cloud.commerce.consumer.procurement.v1.LicensedUser licensed_users = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.commerce.consumer.procurement.v1.LicensedUserOrBuilder> |
|
getNextPageToken()
public String getNextPageToken()
A token that 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 that 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(EnumerateLicensedUsersResponse other)
public EnumerateLicensedUsersResponse.Builder mergeFrom(EnumerateLicensedUsersResponse other)
public EnumerateLicensedUsersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EnumerateLicensedUsersResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EnumerateLicensedUsersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeLicensedUsers(int index)
public EnumerateLicensedUsersResponse.Builder removeLicensedUsers(int index)
The list of licensed users.
repeated .google.cloud.commerce.consumer.procurement.v1.LicensedUser licensed_users = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public EnumerateLicensedUsersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setLicensedUsers(int index, LicensedUser value)
public EnumerateLicensedUsersResponse.Builder setLicensedUsers(int index, LicensedUser value)
The list of licensed users.
repeated .google.cloud.commerce.consumer.procurement.v1.LicensedUser licensed_users = 1;
setLicensedUsers(int index, LicensedUser.Builder builderForValue)
public EnumerateLicensedUsersResponse.Builder setLicensedUsers(int index, LicensedUser.Builder builderForValue)
The list of licensed users.
repeated .google.cloud.commerce.consumer.procurement.v1.LicensedUser licensed_users = 1;
setNextPageToken(String value)
public EnumerateLicensedUsersResponse.Builder setNextPageToken(String value)
A token that 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 EnumerateLicensedUsersResponse.Builder setNextPageTokenBytes(ByteString value)
A token that 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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EnumerateLicensedUsersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EnumerateLicensedUsersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides