public static final class UpdateNoteRequest.Builder extends GeneratedMessageV3.Builder<UpdateNoteRequest.Builder> implements UpdateNoteRequestOrBuilder
Request to update a note.
Protobuf type grafeas.v1beta1.UpdateNoteRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateNoteRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateNoteRequest build()
Returns
buildPartial()
public UpdateNoteRequest buildPartial()
Returns
clear()
public UpdateNoteRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateNoteRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearNote()
public UpdateNoteRequest.Builder clearNote()
The updated note.
.grafeas.v1beta1.Note note = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateNoteRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateNoteRequest.Builder clearUpdateMask()
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
Returns
clone()
public UpdateNoteRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateNoteRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
getNoteOrBuilder()
public NoteOrBuilder getNoteOrBuilder()
The updated note.
.grafeas.v1beta1.Note note = 2;
Returns
getUpdateMask()
public FieldMask getUpdateMask()
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public UpdateNoteRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateNoteRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(UpdateNoteRequest other)
public UpdateNoteRequest.Builder mergeFrom(UpdateNoteRequest other)
Parameter
Returns
mergeNote(Note value)
public UpdateNoteRequest.Builder mergeNote(Note value)
The updated note.
.grafeas.v1beta1.Note note = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateNoteRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateNoteRequest.Builder mergeUpdateMask(FieldMask value)
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateNoteRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setNote(Note value)
public UpdateNoteRequest.Builder setNote(Note value)
The updated note.
.grafeas.v1beta1.Note note = 2;
Parameter
Returns
setNote(Note.Builder builderForValue)
public UpdateNoteRequest.Builder setNote(Note.Builder builderForValue)
The updated note.
.grafeas.v1beta1.Note note = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateNoteRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateNoteRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateNoteRequest.Builder setUpdateMask(FieldMask value)
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
Parameter
Returns
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