Class VerifyRuleTextRequest.Builder (0.32.0)

public static final class VerifyRuleTextRequest.Builder extends GeneratedMessage.Builder<VerifyRuleTextRequest.Builder> implements VerifyRuleTextRequestOrBuilder

Request message for VerifyRuleText method.

Protobuf type google.cloud.chronicle.v1.VerifyRuleTextRequest

Static Methods

getDescriptor()

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

Methods

build()

public VerifyRuleTextRequest build()
Returns
Type Description
VerifyRuleTextRequest

buildPartial()

public VerifyRuleTextRequest buildPartial()
Returns
Type Description
VerifyRuleTextRequest

clear()

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

clearInstance()

public VerifyRuleTextRequest.Builder clearInstance()

Required. The name of the parent resource, which is the SecOps instance associated with the request. Format: projects/{project}/locations/{location}/instances/{instance}

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

Returns
Type Description
VerifyRuleTextRequest.Builder

This builder for chaining.

clearRuleText()

public VerifyRuleTextRequest.Builder clearRuleText()

Required. The rule text to verify as a UTF-8 string.

string rule_text = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
VerifyRuleTextRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public VerifyRuleTextRequest getDefaultInstanceForType()
Returns
Type Description
VerifyRuleTextRequest

getDescriptorForType()

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

getInstance()

public String getInstance()

Required. The name of the parent resource, which is the SecOps instance associated with the request. Format: projects/{project}/locations/{location}/instances/{instance}

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

Returns
Type Description
String

The instance.

getInstanceBytes()

public ByteString getInstanceBytes()

Required. The name of the parent resource, which is the SecOps instance associated with the request. Format: projects/{project}/locations/{location}/instances/{instance}

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

Returns
Type Description
ByteString

The bytes for instance.

getRuleText()

public String getRuleText()

Required. The rule text to verify as a UTF-8 string.

string rule_text = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The ruleText.

getRuleTextBytes()

public ByteString getRuleTextBytes()

Required. The rule text to verify as a UTF-8 string.

string rule_text = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for ruleText.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VerifyRuleTextRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setInstance(String value)

public VerifyRuleTextRequest.Builder setInstance(String value)

Required. The name of the parent resource, which is the SecOps instance associated with the request. Format: projects/{project}/locations/{location}/instances/{instance}

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

Parameter
Name Description
value String

The instance to set.

Returns
Type Description
VerifyRuleTextRequest.Builder

This builder for chaining.

setInstanceBytes(ByteString value)

public VerifyRuleTextRequest.Builder setInstanceBytes(ByteString value)

Required. The name of the parent resource, which is the SecOps instance associated with the request. Format: projects/{project}/locations/{location}/instances/{instance}

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

Parameter
Name Description
value ByteString

The bytes for instance to set.

Returns
Type Description
VerifyRuleTextRequest.Builder

This builder for chaining.

setRuleText(String value)

public VerifyRuleTextRequest.Builder setRuleText(String value)

Required. The rule text to verify as a UTF-8 string.

string rule_text = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The ruleText to set.

Returns
Type Description
VerifyRuleTextRequest.Builder

This builder for chaining.

setRuleTextBytes(ByteString value)

public VerifyRuleTextRequest.Builder setRuleTextBytes(ByteString value)

Required. The rule text to verify as a UTF-8 string.

string rule_text = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for ruleText to set.

Returns
Type Description
VerifyRuleTextRequest.Builder

This builder for chaining.