Class ListSupportEventSubscriptionsResponse.Builder (0.78.0)

public static final class ListSupportEventSubscriptionsResponse.Builder extends GeneratedMessage.Builder<ListSupportEventSubscriptionsResponse.Builder> implements ListSupportEventSubscriptionsResponseOrBuilder

Response message for ListSupportEventSubscriptions.

Protobuf type google.cloud.support.v2.ListSupportEventSubscriptionsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllSupportEventSubscriptions(Iterable<? extends SupportEventSubscription> values)

public ListSupportEventSubscriptionsResponse.Builder addAllSupportEventSubscriptions(Iterable<? extends SupportEventSubscription> values)

The support event subscriptions.

repeated .google.cloud.support.v2.SupportEventSubscription support_event_subscriptions = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.support.v2.SupportEventSubscription>
Returns
Type Description
ListSupportEventSubscriptionsResponse.Builder

addSupportEventSubscriptions(SupportEventSubscription value)

public ListSupportEventSubscriptionsResponse.Builder addSupportEventSubscriptions(SupportEventSubscription value)

The support event subscriptions.

repeated .google.cloud.support.v2.SupportEventSubscription support_event_subscriptions = 1;

Parameter
Name Description
value SupportEventSubscription
Returns
Type Description
ListSupportEventSubscriptionsResponse.Builder

addSupportEventSubscriptions(SupportEventSubscription.Builder builderForValue)

public ListSupportEventSubscriptionsResponse.Builder addSupportEventSubscriptions(SupportEventSubscription.Builder builderForValue)

The support event subscriptions.

repeated .google.cloud.support.v2.SupportEventSubscription support_event_subscriptions = 1;

Parameter
Name Description
builderForValue SupportEventSubscription.Builder
Returns
Type Description
ListSupportEventSubscriptionsResponse.Builder

addSupportEventSubscriptions(int index, SupportEventSubscription value)

public ListSupportEventSubscriptionsResponse.Builder addSupportEventSubscriptions(int index, SupportEventSubscription value)

The support event subscriptions.

repeated .google.cloud.support.v2.SupportEventSubscription support_event_subscriptions = 1;

Parameters
Name Description
index int
value SupportEventSubscription
Returns
Type Description
ListSupportEventSubscriptionsResponse.Builder

addSupportEventSubscriptions(int index, SupportEventSubscription.Builder builderForValue)

public ListSupportEventSubscriptionsResponse.Builder addSupportEventSubscriptions(int index, SupportEventSubscription.Builder builderForValue)

The support event subscriptions.

repeated .google.cloud.support.v2.SupportEventSubscription support_event_subscriptions = 1;

Parameters
Name Description
index int
builderForValue SupportEventSubscription.Builder
Returns
Type Description
ListSupportEventSubscriptionsResponse.Builder

addSupportEventSubscriptionsBuilder()

public SupportEventSubscription.Builder addSupportEventSubscriptionsBuilder()

The support event subscriptions.

repeated .google.cloud.support.v2.SupportEventSubscription support_event_subscriptions = 1;

Returns
Type Description
SupportEventSubscription.Builder

addSupportEventSubscriptionsBuilder(int index)

public SupportEventSubscription.Builder addSupportEventSubscriptionsBuilder(int index)

The support event subscriptions.

repeated .google.cloud.support.v2.SupportEventSubscription support_event_subscriptions = 1;

Parameter
Name Description
index int
Returns
Type Description
SupportEventSubscription.Builder

build()

public ListSupportEventSubscriptionsResponse build()
Returns
Type Description
ListSupportEventSubscriptionsResponse

buildPartial()

public ListSupportEventSubscriptionsResponse buildPartial()
Returns
Type Description
ListSupportEventSubscriptionsResponse

clear()

public ListSupportEventSubscriptionsResponse.Builder clear()
Returns
Type Description
ListSupportEventSubscriptionsResponse.Builder
Overrides

clearNextPageToken()

public ListSupportEventSubscriptionsResponse.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;

Returns
Type Description
ListSupportEventSubscriptionsResponse.Builder

This builder for chaining.

clearSupportEventSubscriptions()

public ListSupportEventSubscriptionsResponse.Builder clearSupportEventSubscriptions()

The support event subscriptions.

repeated .google.cloud.support.v2.SupportEventSubscription support_event_subscriptions = 1;

Returns
Type Description
ListSupportEventSubscriptionsResponse.Builder

getDefaultInstanceForType()

public ListSupportEventSubscriptionsResponse getDefaultInstanceForType()
Returns
Type Description
ListSupportEventSubscriptionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

getSupportEventSubscriptions(int index)

public SupportEventSubscription getSupportEventSubscriptions(int index)

The support event subscriptions.

repeated .google.cloud.support.v2.SupportEventSubscription support_event_subscriptions = 1;

Parameter
Name Description
index int
Returns
Type Description
SupportEventSubscription

getSupportEventSubscriptionsBuilder(int index)

public SupportEventSubscription.Builder getSupportEventSubscriptionsBuilder(int index)

The support event subscriptions.

repeated .google.cloud.support.v2.SupportEventSubscription support_event_subscriptions = 1;

Parameter
Name Description
index int
Returns
Type Description
SupportEventSubscription.Builder

getSupportEventSubscriptionsBuilderList()

public List<SupportEventSubscription.Builder> getSupportEventSubscriptionsBuilderList()

The support event subscriptions.

repeated .google.cloud.support.v2.SupportEventSubscription support_event_subscriptions = 1;

Returns
Type Description
List<Builder>

getSupportEventSubscriptionsCount()

public int getSupportEventSubscriptionsCount()

The support event subscriptions.

repeated .google.cloud.support.v2.SupportEventSubscription support_event_subscriptions = 1;

Returns
Type Description
int

getSupportEventSubscriptionsList()

public List<SupportEventSubscription> getSupportEventSubscriptionsList()

The support event subscriptions.

repeated .google.cloud.support.v2.SupportEventSubscription support_event_subscriptions = 1;

Returns
Type Description
List<SupportEventSubscription>

getSupportEventSubscriptionsOrBuilder(int index)

public SupportEventSubscriptionOrBuilder getSupportEventSubscriptionsOrBuilder(int index)

The support event subscriptions.

repeated .google.cloud.support.v2.SupportEventSubscription support_event_subscriptions = 1;

Parameter
Name Description
index int
Returns
Type Description
SupportEventSubscriptionOrBuilder

getSupportEventSubscriptionsOrBuilderList()

public List<? extends SupportEventSubscriptionOrBuilder> getSupportEventSubscriptionsOrBuilderList()

The support event subscriptions.

repeated .google.cloud.support.v2.SupportEventSubscription support_event_subscriptions = 1;

Returns
Type Description
List<? extends com.google.cloud.support.v2.SupportEventSubscriptionOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSupportEventSubscriptionsResponse other)

public ListSupportEventSubscriptionsResponse.Builder mergeFrom(ListSupportEventSubscriptionsResponse other)
Parameter
Name Description
other ListSupportEventSubscriptionsResponse
Returns
Type Description
ListSupportEventSubscriptionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListSupportEventSubscriptionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListSupportEventSubscriptionsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListSupportEventSubscriptionsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListSupportEventSubscriptionsResponse.Builder
Overrides

removeSupportEventSubscriptions(int index)

public ListSupportEventSubscriptionsResponse.Builder removeSupportEventSubscriptions(int index)

The support event subscriptions.

repeated .google.cloud.support.v2.SupportEventSubscription support_event_subscriptions = 1;

Parameter
Name Description
index int
Returns
Type Description
ListSupportEventSubscriptionsResponse.Builder

setNextPageToken(String value)

public ListSupportEventSubscriptionsResponse.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.

Returns
Type Description
ListSupportEventSubscriptionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListSupportEventSubscriptionsResponse.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.

Returns
Type Description
ListSupportEventSubscriptionsResponse.Builder

This builder for chaining.

setSupportEventSubscriptions(int index, SupportEventSubscription value)

public ListSupportEventSubscriptionsResponse.Builder setSupportEventSubscriptions(int index, SupportEventSubscription value)

The support event subscriptions.

repeated .google.cloud.support.v2.SupportEventSubscription support_event_subscriptions = 1;

Parameters
Name Description
index int
value SupportEventSubscription
Returns
Type Description
ListSupportEventSubscriptionsResponse.Builder

setSupportEventSubscriptions(int index, SupportEventSubscription.Builder builderForValue)

public ListSupportEventSubscriptionsResponse.Builder setSupportEventSubscriptions(int index, SupportEventSubscription.Builder builderForValue)

The support event subscriptions.

repeated .google.cloud.support.v2.SupportEventSubscription support_event_subscriptions = 1;

Parameters
Name Description
index int
builderForValue SupportEventSubscription.Builder
Returns
Type Description
ListSupportEventSubscriptionsResponse.Builder