Class DeleteNoteRequest.Builder (2.24.0)

public static final class DeleteNoteRequest.Builder extends GeneratedMessageV3.Builder<DeleteNoteRequest.Builder> implements DeleteNoteRequestOrBuilder

Request to delete a note.

Protobuf type grafeas.v1beta1.DeleteNoteRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteNoteRequest build()
Returns
TypeDescription
DeleteNoteRequest

buildPartial()

public DeleteNoteRequest buildPartial()
Returns
TypeDescription
DeleteNoteRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteNoteRequest.Builder clearName()

The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].

string name = 1;

Returns
TypeDescription
DeleteNoteRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteNoteRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteNoteRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].

string name = 1;

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 DeleteNoteRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteNoteRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

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

mergeFrom(DeleteNoteRequest other)

public DeleteNoteRequest.Builder mergeFrom(DeleteNoteRequest other)
Parameter
NameDescription
otherDeleteNoteRequest
Returns
TypeDescription
DeleteNoteRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteNoteRequest.Builder setName(String value)

The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteNoteRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteNoteRequest.Builder setNameBytes(ByteString value)

The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteNoteRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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