Class UpdateNoteRequest.Builder (2.28.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
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;

Returns
TypeDescription
UpdateNoteRequest.Builder

This builder for chaining.

clearNote()

public UpdateNoteRequest.Builder clearNote()

The updated note.

.grafeas.v1beta1.Note note = 2;

Returns
TypeDescription
UpdateNoteRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateNoteRequest.Builder clearUpdateMask()

The fields to update.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
UpdateNoteRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateNoteRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateNoteRequest

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.

getNote()

public Note getNote()

The updated note.

.grafeas.v1beta1.Note note = 2;

Returns
TypeDescription
Note

The note.

getNoteBuilder()

public Note.Builder getNoteBuilder()

The updated note.

.grafeas.v1beta1.Note note = 2;

Returns
TypeDescription
Note.Builder

getNoteOrBuilder()

public NoteOrBuilder getNoteOrBuilder()

The updated note.

.grafeas.v1beta1.Note note = 2;

Returns
TypeDescription
NoteOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The fields to update.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The fields to update.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The fields to update.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMaskOrBuilder

hasNote()

public boolean hasNote()

The updated note.

.grafeas.v1beta1.Note note = 2;

Returns
TypeDescription
boolean

Whether the note field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The fields to update.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(UpdateNoteRequest other)

public UpdateNoteRequest.Builder mergeFrom(UpdateNoteRequest other)
Parameter
NameDescription
otherUpdateNoteRequest
Returns
TypeDescription
UpdateNoteRequest.Builder

mergeNote(Note value)

public UpdateNoteRequest.Builder mergeNote(Note value)

The updated note.

.grafeas.v1beta1.Note note = 2;

Parameter
NameDescription
valueNote
Returns
TypeDescription
UpdateNoteRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateNoteRequest.Builder mergeUpdateMask(FieldMask value)

The fields to update.

.google.protobuf.FieldMask update_mask = 3;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateNoteRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateNoteRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
UpdateNoteRequest.Builder

This builder for chaining.

setNote(Note value)

public UpdateNoteRequest.Builder setNote(Note value)

The updated note.

.grafeas.v1beta1.Note note = 2;

Parameter
NameDescription
valueNote
Returns
TypeDescription
UpdateNoteRequest.Builder

setNote(Note.Builder builderForValue)

public UpdateNoteRequest.Builder setNote(Note.Builder builderForValue)

The updated note.

.grafeas.v1beta1.Note note = 2;

Parameter
NameDescription
builderForValueNote.Builder
Returns
TypeDescription
UpdateNoteRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateNoteRequest.Builder setUpdateMask(FieldMask value)

The fields to update.

.google.protobuf.FieldMask update_mask = 3;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateNoteRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateNoteRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The fields to update.

.google.protobuf.FieldMask update_mask = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateNoteRequest.Builder