Class DeleteTriggerRequest.Builder (1.41.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteTriggerRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteTriggerRequest.Builder
Overrides

build()

public DeleteTriggerRequest build()
Returns
TypeDescription
DeleteTriggerRequest

buildPartial()

public DeleteTriggerRequest buildPartial()
Returns
TypeDescription
DeleteTriggerRequest

clear()

public DeleteTriggerRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DeleteTriggerRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DeleteTriggerRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DeleteTriggerRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteTriggerRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
DeleteTriggerRequest.Builder

This builder for chaining.

clone()

public DeleteTriggerRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
boolean

The allowMissing.

getDefaultInstanceForType()

public DeleteTriggerRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteTriggerRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The validateOnly.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteTriggerRequest other)

public DeleteTriggerRequest.Builder mergeFrom(DeleteTriggerRequest other)
Parameter
NameDescription
otherDeleteTriggerRequest
Returns
TypeDescription
DeleteTriggerRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteTriggerRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteTriggerRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeleteTriggerRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeleteTriggerRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteTriggerRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The allowMissing to set.

Returns
TypeDescription
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
NameDescription
valueString

The etag to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
DeleteTriggerRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteTriggerRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteTriggerRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteTriggerRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The validateOnly to set.

Returns
TypeDescription
DeleteTriggerRequest.Builder

This builder for chaining.