Class DeleteAttestorRequest.Builder (1.20.0)

public static final class DeleteAttestorRequest.Builder extends GeneratedMessageV3.Builder<DeleteAttestorRequest.Builder> implements DeleteAttestorRequestOrBuilder

Request message for [BinauthzManagementService.DeleteAttestor][].

Protobuf type google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteAttestorRequest build()
Returns
TypeDescription
DeleteAttestorRequest

buildPartial()

public DeleteAttestorRequest buildPartial()
Returns
TypeDescription
DeleteAttestorRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteAttestorRequest.Builder clearName()

Required. The name of the attestors to delete, in the format projects/*/attestors/*.

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

Returns
TypeDescription
DeleteAttestorRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteAttestorRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteAttestorRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the attestors to delete, in the format projects/*/attestors/*.

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 attestors to delete, in the format projects/*/attestors/*.

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(DeleteAttestorRequest other)

public DeleteAttestorRequest.Builder mergeFrom(DeleteAttestorRequest other)
Parameter
NameDescription
otherDeleteAttestorRequest
Returns
TypeDescription
DeleteAttestorRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteAttestorRequest.Builder setName(String value)

Required. The name of the attestors to delete, in the format projects/*/attestors/*.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteAttestorRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteAttestorRequest.Builder setNameBytes(ByteString value)

Required. The name of the attestors to delete, in the format projects/*/attestors/*.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteAttestorRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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