Class Service.DeleteAttestorRequest.Builder (1.4.0)

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

Request message for [BinauthzManagementService.DeleteAttestor][].

Protobuf type google.cloud.binaryauthorization.v1.DeleteAttestorRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Service.DeleteAttestorRequest build()
Returns
TypeDescription
Service.DeleteAttestorRequest

buildPartial()

public Service.DeleteAttestorRequest buildPartial()
Returns
TypeDescription
Service.DeleteAttestorRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public Service.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
Service.DeleteAttestorRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public Service.DeleteAttestorRequest getDefaultInstanceForType()
Returns
TypeDescription
Service.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(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(Service.DeleteAttestorRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public Service.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
Service.DeleteAttestorRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Service.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
Service.DeleteAttestorRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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