Class ListRuleExecutionErrorsRequest.Builder (0.32.0)

public static final class ListRuleExecutionErrorsRequest.Builder extends GeneratedMessage.Builder<ListRuleExecutionErrorsRequest.Builder> implements ListRuleExecutionErrorsRequestOrBuilder

Request message for ListRuleExecutionErrors.

Protobuf type google.cloud.chronicle.v1.ListRuleExecutionErrorsRequest

Static Methods

getDescriptor()

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

Methods

build()

public ListRuleExecutionErrorsRequest build()
Returns
Type Description
ListRuleExecutionErrorsRequest

buildPartial()

public ListRuleExecutionErrorsRequest buildPartial()
Returns
Type Description
ListRuleExecutionErrorsRequest

clear()

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

clearFilter()

public ListRuleExecutionErrorsRequest.Builder clearFilter()

A filter that can be used to retrieve specific rule execution errors. Only the following filters are allowed: ` rule = "{Rule.name}" curated_rule = "{CuratedRule.name}" The value for rule or curated_rule must be a valid rule resource name or a valid curated rule resource name specified in quotes.

For 'rule', an optional 'revision_id' can be specified which can be used to fetch errors for a given revision of the rule. A '-' is also allowed to fetch errors across all revisions of the rule. If unspecified, only errors corresponding to the most recent revision of the rule will be returned. So these variations are all allowed: rule = "{Rule.name}" rule = "{Rule.name}@{Rule.revision_id}" rule = "{Rule.name}@-" ` Revision IDs are not supported for curated rules.

string filter = 4;

Returns
Type Description
ListRuleExecutionErrorsRequest.Builder

This builder for chaining.

clearPageSize()

public ListRuleExecutionErrorsRequest.Builder clearPageSize()

The maximum number of rule execution errors to return. The service may return fewer than this value. If unspecified, at most 1000 rule execution errors will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.

int32 page_size = 2;

Returns
Type Description
ListRuleExecutionErrorsRequest.Builder

This builder for chaining.

clearPageToken()

public ListRuleExecutionErrorsRequest.Builder clearPageToken()

A page token, received from a previous ListRuleExecutionErrors call. Provide this to retrieve the subsequent page.

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

string page_token = 3;

Returns
Type Description
ListRuleExecutionErrorsRequest.Builder

This builder for chaining.

clearParent()

public ListRuleExecutionErrorsRequest.Builder clearParent()

Required. The instance to list rule execution errors from. Format: projects/{project}/locations/{location}/instances/{instance}

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

Returns
Type Description
ListRuleExecutionErrorsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListRuleExecutionErrorsRequest getDefaultInstanceForType()
Returns
Type Description
ListRuleExecutionErrorsRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

A filter that can be used to retrieve specific rule execution errors. Only the following filters are allowed: ` rule = "{Rule.name}" curated_rule = "{CuratedRule.name}" The value for rule or curated_rule must be a valid rule resource name or a valid curated rule resource name specified in quotes.

For 'rule', an optional 'revision_id' can be specified which can be used to fetch errors for a given revision of the rule. A '-' is also allowed to fetch errors across all revisions of the rule. If unspecified, only errors corresponding to the most recent revision of the rule will be returned. So these variations are all allowed: rule = "{Rule.name}" rule = "{Rule.name}@{Rule.revision_id}" rule = "{Rule.name}@-" ` Revision IDs are not supported for curated rules.

string filter = 4;

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

A filter that can be used to retrieve specific rule execution errors. Only the following filters are allowed: ` rule = "{Rule.name}" curated_rule = "{CuratedRule.name}" The value for rule or curated_rule must be a valid rule resource name or a valid curated rule resource name specified in quotes.

For 'rule', an optional 'revision_id' can be specified which can be used to fetch errors for a given revision of the rule. A '-' is also allowed to fetch errors across all revisions of the rule. If unspecified, only errors corresponding to the most recent revision of the rule will be returned. So these variations are all allowed: rule = "{Rule.name}" rule = "{Rule.name}@{Rule.revision_id}" rule = "{Rule.name}@-" ` Revision IDs are not supported for curated rules.

string filter = 4;

Returns
Type Description
ByteString

The bytes for filter.

getPageSize()

public int getPageSize()

The maximum number of rule execution errors to return. The service may return fewer than this value. If unspecified, at most 1000 rule execution errors will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

A page token, received from a previous ListRuleExecutionErrors call. Provide this to retrieve the subsequent page.

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

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A page token, received from a previous ListRuleExecutionErrors call. Provide this to retrieve the subsequent page.

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

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The instance to list rule execution errors from. Format: projects/{project}/locations/{location}/instances/{instance}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The instance to list rule execution errors from. Format: projects/{project}/locations/{location}/instances/{instance}

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

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListRuleExecutionErrorsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setFilter(String value)

public ListRuleExecutionErrorsRequest.Builder setFilter(String value)

A filter that can be used to retrieve specific rule execution errors. Only the following filters are allowed: ` rule = "{Rule.name}" curated_rule = "{CuratedRule.name}" The value for rule or curated_rule must be a valid rule resource name or a valid curated rule resource name specified in quotes.

For 'rule', an optional 'revision_id' can be specified which can be used to fetch errors for a given revision of the rule. A '-' is also allowed to fetch errors across all revisions of the rule. If unspecified, only errors corresponding to the most recent revision of the rule will be returned. So these variations are all allowed: rule = "{Rule.name}" rule = "{Rule.name}@{Rule.revision_id}" rule = "{Rule.name}@-" ` Revision IDs are not supported for curated rules.

string filter = 4;

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListRuleExecutionErrorsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListRuleExecutionErrorsRequest.Builder setFilterBytes(ByteString value)

A filter that can be used to retrieve specific rule execution errors. Only the following filters are allowed: ` rule = "{Rule.name}" curated_rule = "{CuratedRule.name}" The value for rule or curated_rule must be a valid rule resource name or a valid curated rule resource name specified in quotes.

For 'rule', an optional 'revision_id' can be specified which can be used to fetch errors for a given revision of the rule. A '-' is also allowed to fetch errors across all revisions of the rule. If unspecified, only errors corresponding to the most recent revision of the rule will be returned. So these variations are all allowed: rule = "{Rule.name}" rule = "{Rule.name}@{Rule.revision_id}" rule = "{Rule.name}@-" ` Revision IDs are not supported for curated rules.

string filter = 4;

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListRuleExecutionErrorsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListRuleExecutionErrorsRequest.Builder setPageSize(int value)

The maximum number of rule execution errors to return. The service may return fewer than this value. If unspecified, at most 1000 rule execution errors will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListRuleExecutionErrorsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListRuleExecutionErrorsRequest.Builder setPageToken(String value)

A page token, received from a previous ListRuleExecutionErrors call. Provide this to retrieve the subsequent page.

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

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListRuleExecutionErrorsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListRuleExecutionErrorsRequest.Builder setPageTokenBytes(ByteString value)

A page token, received from a previous ListRuleExecutionErrors call. Provide this to retrieve the subsequent page.

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

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListRuleExecutionErrorsRequest.Builder

This builder for chaining.

setParent(String value)

public ListRuleExecutionErrorsRequest.Builder setParent(String value)

Required. The instance to list rule execution errors from. Format: projects/{project}/locations/{location}/instances/{instance}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListRuleExecutionErrorsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListRuleExecutionErrorsRequest.Builder setParentBytes(ByteString value)

Required. The instance to list rule execution errors from. Format: projects/{project}/locations/{location}/instances/{instance}

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
ListRuleExecutionErrorsRequest.Builder

This builder for chaining.