Class UpdateNoteRequest.Builder (2.37.0)

public static final class UpdateNoteRequest.Builder extends GeneratedMessageV3.Builder<UpdateNoteRequest.Builder> implements UpdateNoteRequestOrBuilder

Request to update a note.

Protobuf type grafeas.v1.UpdateNoteRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateNoteRequest build()
Returns
TypeDescription
UpdateNoteRequest

buildPartial()

public UpdateNoteRequest buildPartial()
Returns
TypeDescription
UpdateNoteRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public UpdateNoteRequest.Builder clearName()

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

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

Returns
TypeDescription
UpdateNoteRequest.Builder

This builder for chaining.

clearNote()

public UpdateNoteRequest.Builder clearNote()

The updated note.

.grafeas.v1.Note note = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type