public static final class ListSubscriptionsResponse.Builder extends GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder> implements ListSubscriptionsResponseOrBuilder
The response message for
SubscriptionsService.ListSubscriptions.
Protobuf type google.apps.events.subscriptions.v1.ListSubscriptionsResponse
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
addAllSubscriptions(Iterable<? extends Subscription> values)
public ListSubscriptionsResponse.Builder addAllSubscriptions(Iterable<? extends Subscription> values)
List of subscriptions.
repeated .google.apps.events.subscriptions.v1.Subscription subscriptions = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.apps.events.subscriptions.v1.Subscription>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSubscriptionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSubscriptions(Subscription value)
public ListSubscriptionsResponse.Builder addSubscriptions(Subscription value)
List of subscriptions.
repeated .google.apps.events.subscriptions.v1.Subscription subscriptions = 1;
addSubscriptions(Subscription.Builder builderForValue)
public ListSubscriptionsResponse.Builder addSubscriptions(Subscription.Builder builderForValue)
List of subscriptions.
repeated .google.apps.events.subscriptions.v1.Subscription subscriptions = 1;
addSubscriptions(int index, Subscription value)
public ListSubscriptionsResponse.Builder addSubscriptions(int index, Subscription value)
List of subscriptions.
repeated .google.apps.events.subscriptions.v1.Subscription subscriptions = 1;
addSubscriptions(int index, Subscription.Builder builderForValue)
public ListSubscriptionsResponse.Builder addSubscriptions(int index, Subscription.Builder builderForValue)
List of subscriptions.
repeated .google.apps.events.subscriptions.v1.Subscription subscriptions = 1;
addSubscriptionsBuilder()
public Subscription.Builder addSubscriptionsBuilder()
List of subscriptions.
repeated .google.apps.events.subscriptions.v1.Subscription subscriptions = 1;
addSubscriptionsBuilder(int index)
public Subscription.Builder addSubscriptionsBuilder(int index)
List of subscriptions.
repeated .google.apps.events.subscriptions.v1.Subscription subscriptions = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public ListSubscriptionsResponse build()
buildPartial()
public ListSubscriptionsResponse buildPartial()
clear()
public ListSubscriptionsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSubscriptionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListSubscriptionsResponse.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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSubscriptionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSubscriptions()
public ListSubscriptionsResponse.Builder clearSubscriptions()
List of subscriptions.
repeated .google.apps.events.subscriptions.v1.Subscription subscriptions = 1;
clone()
public ListSubscriptionsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListSubscriptionsResponse getDefaultInstanceForType()
getDescriptorForType()
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.
|
getSubscriptions(int index)
public Subscription getSubscriptions(int index)
List of subscriptions.
repeated .google.apps.events.subscriptions.v1.Subscription subscriptions = 1;
Parameter |
Name |
Description |
index |
int
|
getSubscriptionsBuilder(int index)
public Subscription.Builder getSubscriptionsBuilder(int index)
List of subscriptions.
repeated .google.apps.events.subscriptions.v1.Subscription subscriptions = 1;
Parameter |
Name |
Description |
index |
int
|
getSubscriptionsBuilderList()
public List<Subscription.Builder> getSubscriptionsBuilderList()
List of subscriptions.
repeated .google.apps.events.subscriptions.v1.Subscription subscriptions = 1;
getSubscriptionsCount()
public int getSubscriptionsCount()
List of subscriptions.
repeated .google.apps.events.subscriptions.v1.Subscription subscriptions = 1;
Returns |
Type |
Description |
int |
|
getSubscriptionsList()
public List<Subscription> getSubscriptionsList()
List of subscriptions.
repeated .google.apps.events.subscriptions.v1.Subscription subscriptions = 1;
getSubscriptionsOrBuilder(int index)
public SubscriptionOrBuilder getSubscriptionsOrBuilder(int index)
List of subscriptions.
repeated .google.apps.events.subscriptions.v1.Subscription subscriptions = 1;
Parameter |
Name |
Description |
index |
int
|
getSubscriptionsOrBuilderList()
public List<? extends SubscriptionOrBuilder> getSubscriptionsOrBuilderList()
List of subscriptions.
repeated .google.apps.events.subscriptions.v1.Subscription subscriptions = 1;
Returns |
Type |
Description |
List<? extends com.google.apps.events.subscriptions.v1.SubscriptionOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListSubscriptionsResponse other)
public ListSubscriptionsResponse.Builder mergeFrom(ListSubscriptionsResponse other)
public ListSubscriptionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListSubscriptionsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSubscriptionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeSubscriptions(int index)
public ListSubscriptionsResponse.Builder removeSubscriptions(int index)
List of subscriptions.
repeated .google.apps.events.subscriptions.v1.Subscription subscriptions = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListSubscriptionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListSubscriptionsResponse.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 ListSubscriptionsResponse.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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSubscriptionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSubscriptions(int index, Subscription value)
public ListSubscriptionsResponse.Builder setSubscriptions(int index, Subscription value)
List of subscriptions.
repeated .google.apps.events.subscriptions.v1.Subscription subscriptions = 1;
setSubscriptions(int index, Subscription.Builder builderForValue)
public ListSubscriptionsResponse.Builder setSubscriptions(int index, Subscription.Builder builderForValue)
List of subscriptions.
repeated .google.apps.events.subscriptions.v1.Subscription subscriptions = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSubscriptionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides