Class ListOrganizationImpactsRequest.Builder (0.10.0)

public static final class ListOrganizationImpactsRequest.Builder extends GeneratedMessageV3.Builder<ListOrganizationImpactsRequest.Builder> implements ListOrganizationImpactsRequestOrBuilder

Message for requesting list of OrganizationImpacts

Protobuf type google.cloud.servicehealth.v1.ListOrganizationImpactsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListOrganizationImpactsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListOrganizationImpactsRequest.Builder
Overrides

build()

public ListOrganizationImpactsRequest build()
Returns
Type Description
ListOrganizationImpactsRequest

buildPartial()

public ListOrganizationImpactsRequest buildPartial()
Returns
Type Description
ListOrganizationImpactsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListOrganizationImpactsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListOrganizationImpactsRequest.Builder
Overrides

clearFilter()

public ListOrganizationImpactsRequest.Builder clearFilter()

Optional. A filter expression that filters resources listed in the response. The expression is in the form of field:value for checking if a repeated field contains a value.

Example: events:organizations%2F{organization_id}%2Flocations%2Fglobal%2ForganizationEvents%2Fevent-id

To get your {organization_id}, see Getting your organization resource ID.

Multiple filter queries are separated by spaces.

By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. Filter is supported for the following fields: events.

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

Returns
Type Description
ListOrganizationImpactsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListOrganizationImpactsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListOrganizationImpactsRequest.Builder
Overrides

clearPageSize()

public ListOrganizationImpactsRequest.Builder clearPageSize()

Optional. The maximum number of events that should be returned. Acceptable values are 1 to 100, inclusive. The default value is 10.

If more results are available, the service returns a next_page_token that can be used to get the next page of results in subsequent list requests. The service may return fewer impacts than the requested page_size.

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

Returns
Type Description
ListOrganizationImpactsRequest.Builder

This builder for chaining.

clearPageToken()

public ListOrganizationImpactsRequest.Builder clearPageToken()

Optional. A token identifying a page of results the server should return.

Provide page_token returned by a previous ListOrganizationImpacts call to retrieve the next page of results.

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

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

Returns
Type Description
ListOrganizationImpactsRequest.Builder

This builder for chaining.

clearParent()

public ListOrganizationImpactsRequest.Builder clearParent()

Required. Parent value using the form organizations/{organization_id}/locations/{location}/organizationImpacts.

organization_id - ID (number) of the project that contains the event. To get your organization_id, see Getting your organization resource ID.

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

Returns
Type Description
ListOrganizationImpactsRequest.Builder

This builder for chaining.

clone()

public ListOrganizationImpactsRequest.Builder clone()
Returns
Type Description
ListOrganizationImpactsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListOrganizationImpactsRequest getDefaultInstanceForType()
Returns
Type Description
ListOrganizationImpactsRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

Optional. A filter expression that filters resources listed in the response. The expression is in the form of field:value for checking if a repeated field contains a value.

Example: events:organizations%2F{organization_id}%2Flocations%2Fglobal%2ForganizationEvents%2Fevent-id

To get your {organization_id}, see Getting your organization resource ID.

Multiple filter queries are separated by spaces.

By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. Filter is supported for the following fields: events.

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

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Optional. A filter expression that filters resources listed in the response. The expression is in the form of field:value for checking if a repeated field contains a value.

Example: events:organizations%2F{organization_id}%2Flocations%2Fglobal%2ForganizationEvents%2Fevent-id

To get your {organization_id}, see Getting your organization resource ID.

Multiple filter queries are separated by spaces.

By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. Filter is supported for the following fields: events.

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

Returns
Type Description
ByteString

The bytes for filter.

getPageSize()

public int getPageSize()

Optional. The maximum number of events that should be returned. Acceptable values are 1 to 100, inclusive. The default value is 10.

If more results are available, the service returns a next_page_token that can be used to get the next page of results in subsequent list requests. The service may return fewer impacts than the requested page_size.

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

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. A token identifying a page of results the server should return.

Provide page_token returned by a previous ListOrganizationImpacts call to retrieve the next page of results.

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

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

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A token identifying a page of results the server should return.

Provide page_token returned by a previous ListOrganizationImpacts call to retrieve the next page of results.

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

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

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. Parent value using the form organizations/{organization_id}/locations/{location}/organizationImpacts.

organization_id - ID (number) of the project that contains the event. To get your organization_id, see Getting your organization resource ID.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Parent value using the form organizations/{organization_id}/locations/{location}/organizationImpacts.

organization_id - ID (number) of the project that contains the event. To get your organization_id, see Getting your organization resource ID.

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

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListOrganizationImpactsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListOrganizationImpactsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListOrganizationImpactsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListOrganizationImpactsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListOrganizationImpactsRequest.Builder
Overrides

setFilter(String value)

public ListOrganizationImpactsRequest.Builder setFilter(String value)

Optional. A filter expression that filters resources listed in the response. The expression is in the form of field:value for checking if a repeated field contains a value.

Example: events:organizations%2F{organization_id}%2Flocations%2Fglobal%2ForganizationEvents%2Fevent-id

To get your {organization_id}, see Getting your organization resource ID.

Multiple filter queries are separated by spaces.

By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. Filter is supported for the following fields: events.

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

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListOrganizationImpactsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListOrganizationImpactsRequest.Builder setFilterBytes(ByteString value)

Optional. A filter expression that filters resources listed in the response. The expression is in the form of field:value for checking if a repeated field contains a value.

Example: events:organizations%2F{organization_id}%2Flocations%2Fglobal%2ForganizationEvents%2Fevent-id

To get your {organization_id}, see Getting your organization resource ID.

Multiple filter queries are separated by spaces.

By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. Filter is supported for the following fields: events.

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

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListOrganizationImpactsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListOrganizationImpactsRequest.Builder setPageSize(int value)

Optional. The maximum number of events that should be returned. Acceptable values are 1 to 100, inclusive. The default value is 10.

If more results are available, the service returns a next_page_token that can be used to get the next page of results in subsequent list requests. The service may return fewer impacts than the requested page_size.

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

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListOrganizationImpactsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListOrganizationImpactsRequest.Builder setPageToken(String value)

Optional. A token identifying a page of results the server should return.

Provide page_token returned by a previous ListOrganizationImpacts call to retrieve the next page of results.

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

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

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListOrganizationImpactsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListOrganizationImpactsRequest.Builder setPageTokenBytes(ByteString value)

Optional. A token identifying a page of results the server should return.

Provide page_token returned by a previous ListOrganizationImpacts call to retrieve the next page of results.

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

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

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListOrganizationImpactsRequest.Builder

This builder for chaining.

setParent(String value)

public ListOrganizationImpactsRequest.Builder setParent(String value)

Required. Parent value using the form organizations/{organization_id}/locations/{location}/organizationImpacts.

organization_id - ID (number) of the project that contains the event. To get your organization_id, see Getting your organization resource 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
ListOrganizationImpactsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListOrganizationImpactsRequest.Builder setParentBytes(ByteString value)

Required. Parent value using the form organizations/{organization_id}/locations/{location}/organizationImpacts.

organization_id - ID (number) of the project that contains the event. To get your organization_id, see Getting your organization resource 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
ListOrganizationImpactsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListOrganizationImpactsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListOrganizationImpactsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListOrganizationImpactsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListOrganizationImpactsRequest.Builder
Overrides