public static final class UpdateNoteRequest.Builder extends GeneratedMessage.Builder<UpdateNoteRequest.Builder> implements UpdateNoteRequestOrBuilderRequest to update a note.
Protobuf type grafeas.v1.UpdateNoteRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateNoteRequest.BuilderImplements
UpdateNoteRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 | |
|---|---|
| Type | Description |
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 | Description |
UpdateNoteRequest.Builder |
|
clearUpdateMask()
public UpdateNoteRequest.Builder clearUpdateMask()The fields to update.
.google.protobuf.FieldMask update_mask = 3;
| Returns | |
|---|---|
| Type | Description |
UpdateNoteRequest.Builder |
|
getDefaultInstanceForType()
public UpdateNoteRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateNoteRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() 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 | |
|---|---|
| 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getNote()
public Note getNote()The updated note.
.grafeas.v1.Note note = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Note |
The note. |
getNoteBuilder()
public Note.Builder getNoteBuilder()The updated note.
.grafeas.v1.Note note = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Note.Builder |
|
getNoteOrBuilder()
public NoteOrBuilder getNoteOrBuilder()The updated note.
.grafeas.v1.Note note = 2 [(.google.api.field_behavior) = REQUIRED];
| 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.v1.Note note = 2 [(.google.api.field_behavior) = REQUIRED];
| 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateNoteRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateNoteRequest.Builder |
|
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.v1.Note note = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Note |
| Returns | |
|---|---|
| Type | Description |
UpdateNoteRequest.Builder |
|
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 |
|
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe 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.v1.Note note = 2 [(.google.api.field_behavior) = REQUIRED];
| 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.v1.Note note = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Note.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateNoteRequest.Builder |
|
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 |
|