Class DeleteExclusionRequest.Builder (3.20.7)

public static final class DeleteExclusionRequest.Builder extends GeneratedMessageV3.Builder<DeleteExclusionRequest.Builder> implements DeleteExclusionRequestOrBuilder

The parameters to DeleteExclusion.

Protobuf type google.logging.v2.DeleteExclusionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteExclusionRequest build()
Returns
Type Description
DeleteExclusionRequest

buildPartial()

public DeleteExclusionRequest buildPartial()
Returns
Type Description
DeleteExclusionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteExclusionRequest.Builder clearName()

Required. The resource name of an existing exclusion to delete:

 "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
 "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
 "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
 "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"

For example:

"projects/my-project/exclusions/my-exclusion"

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

Returns
Type Description
DeleteExclusionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteExclusionRequest getDefaultInstanceForType()
Returns
Type Description
DeleteExclusionRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The resource name of an existing exclusion to delete:

 "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
 "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
 "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
 "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"

For example:

"projects/my-project/exclusions/my-exclusion"

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of an existing exclusion to delete:

 "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
 "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
 "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
 "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"

For example:

"projects/my-project/exclusions/my-exclusion"

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteExclusionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteExclusionRequest.Builder setName(String value)

Required. The resource name of an existing exclusion to delete:

 "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
 "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
 "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
 "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"

For example:

"projects/my-project/exclusions/my-exclusion"

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteExclusionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteExclusionRequest.Builder setNameBytes(ByteString value)

Required. The resource name of an existing exclusion to delete:

 "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
 "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
 "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
 "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"

For example:

"projects/my-project/exclusions/my-exclusion"

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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