Class DeleteStoredInfoTypeRequest.Builder (3.34.0)

public static final class DeleteStoredInfoTypeRequest.Builder extends GeneratedMessageV3.Builder<DeleteStoredInfoTypeRequest.Builder> implements DeleteStoredInfoTypeRequestOrBuilder

Request message for DeleteStoredInfoType.

Protobuf type google.privacy.dlp.v2.DeleteStoredInfoTypeRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteStoredInfoTypeRequest build()
Returns
TypeDescription
DeleteStoredInfoTypeRequest

buildPartial()

public DeleteStoredInfoTypeRequest buildPartial()
Returns
TypeDescription
DeleteStoredInfoTypeRequest

clear()

public DeleteStoredInfoTypeRequest.Builder clear()
Returns
TypeDescription
DeleteStoredInfoTypeRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeleteStoredInfoTypeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeleteStoredInfoTypeRequest.Builder
Overrides

clearName()

public DeleteStoredInfoTypeRequest.Builder clearName()

Required. Resource name of the organization and storedInfoType to be deleted, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

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

Returns
TypeDescription
DeleteStoredInfoTypeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteStoredInfoTypeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeleteStoredInfoTypeRequest.Builder
Overrides

clone()

public DeleteStoredInfoTypeRequest.Builder clone()
Returns
TypeDescription
DeleteStoredInfoTypeRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteStoredInfoTypeRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteStoredInfoTypeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Resource name of the organization and storedInfoType to be deleted, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Resource name of the organization and storedInfoType to be deleted, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteStoredInfoTypeRequest other)

public DeleteStoredInfoTypeRequest.Builder mergeFrom(DeleteStoredInfoTypeRequest other)
Parameter
NameDescription
otherDeleteStoredInfoTypeRequest
Returns
TypeDescription
DeleteStoredInfoTypeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteStoredInfoTypeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteStoredInfoTypeRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteStoredInfoTypeRequest.Builder setName(String value)

Required. Resource name of the organization and storedInfoType to be deleted, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteStoredInfoTypeRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteStoredInfoTypeRequest.Builder setNameBytes(ByteString value)

Required. Resource name of the organization and storedInfoType to be deleted, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteStoredInfoTypeRequest.Builder

This builder for chaining.

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

public DeleteStoredInfoTypeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteStoredInfoTypeRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteStoredInfoTypeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteStoredInfoTypeRequest.Builder
Overrides