Class DeleteTriggerRequest.Builder (1.44.0)

public static final class DeleteTriggerRequest.Builder extends GeneratedMessageV3.Builder<DeleteTriggerRequest.Builder> implements DeleteTriggerRequestOrBuilder

The request message for the DeleteTrigger method.

Protobuf type google.cloud.eventarc.v1.DeleteTriggerRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteTriggerRequest build()
Returns
Type Description
DeleteTriggerRequest

buildPartial()

public DeleteTriggerRequest buildPartial()
Returns
Type Description
DeleteTriggerRequest

clear()

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

clearAllowMissing()

public DeleteTriggerRequest.Builder clearAllowMissing()

If set to true, and the trigger is not found, the request will succeed but no action will be taken on the server.

bool allow_missing = 3;

Returns
Type Description
DeleteTriggerRequest.Builder

This builder for chaining.

clearEtag()

public DeleteTriggerRequest.Builder clearEtag()

If provided, the trigger will only be deleted if the etag matches the current etag on the resource.

string etag = 2;

Returns
Type Description
DeleteTriggerRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteTriggerRequest.Builder clearName()

Required. The name of the trigger to be deleted.

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

Returns
Type Description
DeleteTriggerRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValidateOnly()

public DeleteTriggerRequest.Builder clearValidateOnly()

Required. If set, validate the request and preview the review, but do not post it.

bool validate_only = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DeleteTriggerRequest.Builder

This builder for chaining.

clone()

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

getAllowMissing()

public boolean getAllowMissing()

If set to true, and the trigger is not found, the request will succeed but no action will be taken on the server.

bool allow_missing = 3;

Returns
Type Description
boolean

The allowMissing.

getDefaultInstanceForType()

public DeleteTriggerRequest getDefaultInstanceForType()
Returns
Type Description
DeleteTriggerRequest

getDescriptorForType()

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

getEtag()

public String getEtag()

If provided, the trigger will only be deleted if the etag matches the current etag on the resource.

string etag = 2;

Returns
Type Description
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

If provided, the trigger will only be deleted if the etag matches the current etag on the resource.

string etag = 2;

Returns
Type Description
ByteString

The bytes for etag.

getName()

public String getName()

Required. The name of the trigger to be deleted.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the trigger to be deleted.

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

Returns
Type Description
ByteString

The bytes for name.

getValidateOnly()

public boolean getValidateOnly()

Required. If set, validate the request and preview the review, but do not post it.

bool validate_only = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

The validateOnly.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteTriggerRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAllowMissing(boolean value)

public DeleteTriggerRequest.Builder setAllowMissing(boolean value)

If set to true, and the trigger is not found, the request will succeed but no action will be taken on the server.

bool allow_missing = 3;

Parameter
Name Description
value boolean

The allowMissing to set.

Returns
Type Description
DeleteTriggerRequest.Builder

This builder for chaining.

setEtag(String value)

public DeleteTriggerRequest.Builder setEtag(String value)

If provided, the trigger will only be deleted if the etag matches the current etag on the resource.

string etag = 2;

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
DeleteTriggerRequest.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public DeleteTriggerRequest.Builder setEtagBytes(ByteString value)

If provided, the trigger will only be deleted if the etag matches the current etag on the resource.

string etag = 2;

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
DeleteTriggerRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteTriggerRequest.Builder setName(String value)

Required. The name of the trigger to be deleted.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteTriggerRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteTriggerRequest.Builder setNameBytes(ByteString value)

Required. The name of the trigger to be deleted.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeleteTriggerRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValidateOnly(boolean value)

public DeleteTriggerRequest.Builder setValidateOnly(boolean value)

Required. If set, validate the request and preview the review, but do not post it.

bool validate_only = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
DeleteTriggerRequest.Builder

This builder for chaining.