Class UpdateNoteRequest.Builder (2.45.0)

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

Request to update a note.

Protobuf type grafeas.v1beta1.UpdateNoteRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateNoteRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateNoteRequest.Builder
Overrides

build()

public UpdateNoteRequest build()
Returns
Type Description
UpdateNoteRequest

buildPartial()

public UpdateNoteRequest buildPartial()
Returns
Type Description
UpdateNoteRequest

clear()

public UpdateNoteRequest.Builder clear()
Returns
Type Description
UpdateNoteRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateNoteRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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;

Returns
Type Description
UpdateNoteRequest.Builder

This builder for chaining.

clearNote()

public UpdateNoteRequest.Builder clearNote()

The updated note.

.grafeas.v1beta1.Note note = 2;

Returns
Type Description
UpdateNoteRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateNoteRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateNoteRequest.Builder
Overrides

clearUpdateMask()

public UpdateNoteRequest.Builder clearUpdateMask()

The fields to update.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
UpdateNoteRequest.Builder

clone()

public UpdateNoteRequest.Builder clone()
Returns
Type Description
UpdateNoteRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateNoteRequest getDefaultInstanceForType()
Returns
Type Description
UpdateNoteRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

getNote()

public Note getNote()

The updated note.

.grafeas.v1beta1.Note note = 2;

Returns
Type Description
Note

The note.

getNoteBuilder()

public Note.Builder getNoteBuilder()

The updated note.

.grafeas.v1beta1.Note note = 2;

Returns
Type Description
Note.Builder

getNoteOrBuilder()

public NoteOrBuilder getNoteOrBuilder()

The updated note.

.grafeas.v1beta1.Note note = 2;

Returns
Type Description
NoteOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The fields to update.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The fields to update.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The fields to update.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
FieldMaskOrBuilder

hasNote()

public boolean hasNote()

The updated note.

.grafeas.v1beta1.Note note = 2;

Returns
Type Description
boolean

Whether the note field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The fields to update.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateNoteRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateNoteRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateNoteRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateNoteRequest.Builder
Overrides

mergeFrom(UpdateNoteRequest other)

public UpdateNoteRequest.Builder mergeFrom(UpdateNoteRequest other)
Parameter
Name Description
other UpdateNoteRequest
Returns
Type Description
UpdateNoteRequest.Builder

mergeNote(Note value)

public UpdateNoteRequest.Builder mergeNote(Note value)

The updated note.

.grafeas.v1beta1.Note note = 2;

Parameter
Name Description
value Note
Returns
Type Description
UpdateNoteRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateNoteRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateNoteRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateNoteRequest.Builder mergeUpdateMask(FieldMask value)

The fields to update.

.google.protobuf.FieldMask update_mask = 3;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateNoteRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateNoteRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateNoteRequest.Builder
Overrides

setName(String value)

public UpdateNoteRequest.Builder setName(String value)

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

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
UpdateNoteRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public UpdateNoteRequest.Builder setNameBytes(ByteString value)

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

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
UpdateNoteRequest.Builder

This builder for chaining.

setNote(Note value)

public UpdateNoteRequest.Builder setNote(Note value)

The updated note.

.grafeas.v1beta1.Note note = 2;

Parameter
Name Description
value Note
Returns
Type Description
UpdateNoteRequest.Builder

setNote(Note.Builder builderForValue)

public UpdateNoteRequest.Builder setNote(Note.Builder builderForValue)

The updated note.

.grafeas.v1beta1.Note note = 2;

Parameter
Name Description
builderForValue Note.Builder
Returns
Type Description
UpdateNoteRequest.Builder

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

public UpdateNoteRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateNoteRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateNoteRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateNoteRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateNoteRequest.Builder setUpdateMask(FieldMask value)

The fields to update.

.google.protobuf.FieldMask update_mask = 3;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateNoteRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateNoteRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The fields to update.

.google.protobuf.FieldMask update_mask = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateNoteRequest.Builder