Class ListSupportEventSubscriptionsRequest.Builder (0.78.0)

public static final class ListSupportEventSubscriptionsRequest.Builder extends GeneratedMessage.Builder<ListSupportEventSubscriptionsRequest.Builder> implements ListSupportEventSubscriptionsRequestOrBuilder

Request message for ListSupportEventSubscriptions.

Protobuf type google.cloud.support.v2beta.ListSupportEventSubscriptionsRequest

Static Methods

getDescriptor()

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

Methods

build()

public ListSupportEventSubscriptionsRequest build()
Returns
Type Description
ListSupportEventSubscriptionsRequest

buildPartial()

public ListSupportEventSubscriptionsRequest buildPartial()
Returns
Type Description
ListSupportEventSubscriptionsRequest

clear()

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

clearFilter()

public ListSupportEventSubscriptionsRequest.Builder clearFilter()

Optional. Filter expression based on AIP-160. Supported fields:

  • pub_sub_topic
  • state

    Examples:

  • pub_sub_topic="projects/example-project/topics/example-topic"
  • state=WORKING
  • pub_sub_topic="projects/example-project/topics/example-topic" AND state=WORKING

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListSupportEventSubscriptionsRequest.Builder

This builder for chaining.

clearPageSize()

public ListSupportEventSubscriptionsRequest.Builder clearPageSize()

Optional. The maximum number of support event subscriptions to return.

int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListSupportEventSubscriptionsRequest.Builder

This builder for chaining.

clearPageToken()

public ListSupportEventSubscriptionsRequest.Builder clearPageToken()

Optional. A token identifying the page of results to return. If unspecified, the first page is retrieved.

When paginating, all other parameters provided to ListSupportEventSubscriptions must match the call that provided the page token.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListSupportEventSubscriptionsRequest.Builder

This builder for chaining.

clearParent()

public ListSupportEventSubscriptionsRequest.Builder clearParent()

Required. The fully qualified name of the Cloud resource to list support event subscriptions under. Format: organizations/{organization_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListSupportEventSubscriptionsRequest.Builder

This builder for chaining.

clearShowDeleted()

public ListSupportEventSubscriptionsRequest.Builder clearShowDeleted()

Optional. Whether to show deleted subscriptions. By default, deleted subscriptions are not returned.

bool show_deleted = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListSupportEventSubscriptionsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListSupportEventSubscriptionsRequest getDefaultInstanceForType()
Returns
Type Description
ListSupportEventSubscriptionsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFilter()

public String getFilter()

Optional. Filter expression based on AIP-160. Supported fields:

  • pub_sub_topic
  • state

    Examples:

  • pub_sub_topic="projects/example-project/topics/example-topic"
  • state=WORKING
  • pub_sub_topic="projects/example-project/topics/example-topic" AND state=WORKING

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Optional. Filter expression based on AIP-160. Supported fields:

  • pub_sub_topic
  • state

    Examples:

  • pub_sub_topic="projects/example-project/topics/example-topic"
  • state=WORKING
  • pub_sub_topic="projects/example-project/topics/example-topic" AND state=WORKING

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for filter.

getPageSize()

public int getPageSize()

Optional. The maximum number of support event subscriptions to return.

int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. A token identifying the page of results to return. If unspecified, the first page is retrieved.

When paginating, all other parameters provided to ListSupportEventSubscriptions must match the call that provided the page token.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A token identifying the page of results to return. If unspecified, the first page is retrieved.

When paginating, all other parameters provided to ListSupportEventSubscriptions must match the call that provided the page token.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The fully qualified name of the Cloud resource to list support event subscriptions under. Format: organizations/{organization_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The fully qualified name of the Cloud resource to list support event subscriptions under. Format: organizations/{organization_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getShowDeleted()

public boolean getShowDeleted()

Optional. Whether to show deleted subscriptions. By default, deleted subscriptions are not returned.

bool show_deleted = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The showDeleted.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSupportEventSubscriptionsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setFilter(String value)

public ListSupportEventSubscriptionsRequest.Builder setFilter(String value)

Optional. Filter expression based on AIP-160. Supported fields:

  • pub_sub_topic
  • state

    Examples:

  • pub_sub_topic="projects/example-project/topics/example-topic"
  • state=WORKING
  • pub_sub_topic="projects/example-project/topics/example-topic" AND state=WORKING

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListSupportEventSubscriptionsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListSupportEventSubscriptionsRequest.Builder setFilterBytes(ByteString value)

Optional. Filter expression based on AIP-160. Supported fields:

  • pub_sub_topic
  • state

    Examples:

  • pub_sub_topic="projects/example-project/topics/example-topic"
  • state=WORKING
  • pub_sub_topic="projects/example-project/topics/example-topic" AND state=WORKING

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListSupportEventSubscriptionsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListSupportEventSubscriptionsRequest.Builder setPageSize(int value)

Optional. The maximum number of support event subscriptions to return.

int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListSupportEventSubscriptionsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListSupportEventSubscriptionsRequest.Builder setPageToken(String value)

Optional. A token identifying the page of results to return. If unspecified, the first page is retrieved.

When paginating, all other parameters provided to ListSupportEventSubscriptions must match the call that provided the page token.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListSupportEventSubscriptionsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListSupportEventSubscriptionsRequest.Builder setPageTokenBytes(ByteString value)

Optional. A token identifying the page of results to return. If unspecified, the first page is retrieved.

When paginating, all other parameters provided to ListSupportEventSubscriptions must match the call that provided the page token.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListSupportEventSubscriptionsRequest.Builder

This builder for chaining.

setParent(String value)

public ListSupportEventSubscriptionsRequest.Builder setParent(String value)

Required. The fully qualified name of the Cloud resource to list support event subscriptions under. Format: organizations/{organization_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListSupportEventSubscriptionsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListSupportEventSubscriptionsRequest.Builder setParentBytes(ByteString value)

Required. The fully qualified name of the Cloud resource to list support event subscriptions under. Format: organizations/{organization_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListSupportEventSubscriptionsRequest.Builder

This builder for chaining.

setShowDeleted(boolean value)

public ListSupportEventSubscriptionsRequest.Builder setShowDeleted(boolean value)

Optional. Whether to show deleted subscriptions. By default, deleted subscriptions are not returned.

bool show_deleted = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The showDeleted to set.

Returns
Type Description
ListSupportEventSubscriptionsRequest.Builder

This builder for chaining.