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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateNoteRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateNoteRequest build()
buildPartial()
public UpdateNoteRequest buildPartial()
clear()
public UpdateNoteRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateNoteRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public UpdateNoteRequest.Builder clearName()
The name of the note in the form of
projects/[PROVIDER_ID]/notes/[NOTE_ID]
.
string name = 1;
clearNote()
public UpdateNoteRequest.Builder clearNote()
The updated note.
.grafeas.v1beta1.Note note = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateNoteRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateNoteRequest.Builder clearUpdateMask()
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
clone()
public UpdateNoteRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateNoteRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
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;
getNoteOrBuilder()
public NoteOrBuilder getNoteOrBuilder()
The updated note.
.grafeas.v1beta1.Note note = 2;
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;
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public UpdateNoteRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateNoteRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(UpdateNoteRequest other)
public UpdateNoteRequest.Builder mergeFrom(UpdateNoteRequest other)
mergeNote(Note value)
public UpdateNoteRequest.Builder mergeNote(Note value)
The updated note.
.grafeas.v1beta1.Note note = 2;
Parameter |
---|
Name | Description |
value | Note
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateNoteRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateNoteRequest.Builder mergeUpdateMask(FieldMask value)
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateNoteRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setNote(Note value)
public UpdateNoteRequest.Builder setNote(Note value)
The updated note.
.grafeas.v1beta1.Note note = 2;
Parameter |
---|
Name | Description |
value | Note
|
setNote(Note.Builder builderForValue)
public UpdateNoteRequest.Builder setNote(Note.Builder builderForValue)
The updated note.
.grafeas.v1beta1.Note note = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateNoteRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateNoteRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateNoteRequest.Builder setUpdateMask(FieldMask value)
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
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
|