public
static
final
class
CreateNoteRequest
.
Builder
extends
GeneratedMessage
.
Builder<CreateNoteRequest
.
Builder
>
implements
CreateNoteRequestOrBuilder
Request to create a new note.
Protobuf type grafeas.v1.CreateNoteRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateNoteRequest.BuilderImplements
CreateNoteRequestOrBuilderStatic Methods
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
Methods
build()
public
CreateNoteRequest
build
()
buildPartial()
public
CreateNoteRequest
buildPartial
()
clear()
public
CreateNoteRequest
.
Builder
clear
()
clearNote()
public
CreateNoteRequest
.
Builder
clearNote
()
The note to create.
.grafeas.v1.Note note = 3 [(.google.api.field_behavior) = REQUIRED];
clearNoteId()
public
CreateNoteRequest
.
Builder
clearNoteId
()
The ID to use for this note.
string note_id = 2 [(.google.api.field_behavior) = REQUIRED];
clearParent()
public
CreateNoteRequest
.
Builder
clearParent
()
The name of the project in the form of projects/[PROJECT_ID]
, under which
the note is to be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getDefaultInstanceForType()
public
CreateNoteRequest
getDefaultInstanceForType
()
getDescriptorForType()
public
Descriptors
.
Descriptor
getDescriptorForType
()
getNote()
public
Note
getNote
()
The note to create.
.grafeas.v1.Note note = 3 [(.google.api.field_behavior) = REQUIRED];
getNoteBuilder()
public
Note
.
Builder
getNoteBuilder
()
The note to create.
.grafeas.v1.Note note = 3 [(.google.api.field_behavior) = REQUIRED];
getNoteId()
public
String
getNoteId
()
The ID to use for this note.
string note_id = 2 [(.google.api.field_behavior) = REQUIRED];
getNoteIdBytes()
public
ByteString
getNoteIdBytes
()
The ID to use for this note.
string note_id = 2 [(.google.api.field_behavior) = REQUIRED];
getNoteOrBuilder()
public
NoteOrBuilder
getNoteOrBuilder
()
The note to create.
.grafeas.v1.Note note = 3 [(.google.api.field_behavior) = REQUIRED];
getParent()
public
String
getParent
()
The name of the project in the form of projects/[PROJECT_ID]
, under which
the note is to be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes()
public
ByteString
getParentBytes
()
The name of the project in the form of projects/[PROJECT_ID]
, under which
the note is to be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
hasNote()
public
boolean
hasNote
()
The note to create.
.grafeas.v1.Note note = 3 [(.google.api.field_behavior) = REQUIRED];
internalGetFieldAccessorTable()
protected
GeneratedMessage
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
CreateNoteRequest
.
Builder
mergeFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
mergeFrom(Message other)
public
CreateNoteRequest
.
Builder
mergeFrom
(
Message
other
)
mergeFrom(CreateNoteRequest other)
public
CreateNoteRequest
.
Builder
mergeFrom
(
CreateNoteRequest
other
)
mergeNote(Note value)
public
CreateNoteRequest
.
Builder
mergeNote
(
Note
value
)
The note to create.
.grafeas.v1.Note note = 3 [(.google.api.field_behavior) = REQUIRED];
setNote(Note value)
public
CreateNoteRequest
.
Builder
setNote
(
Note
value
)
The note to create.
.grafeas.v1.Note note = 3 [(.google.api.field_behavior) = REQUIRED];
setNote(Note.Builder builderForValue)
public
CreateNoteRequest
.
Builder
setNote
(
Note
.
Builder
builderForValue
)
The note to create.
.grafeas.v1.Note note = 3 [(.google.api.field_behavior) = REQUIRED];
setNoteId(String value)
public
CreateNoteRequest
.
Builder
setNoteId
(
String
value
)
The ID to use for this note.
string note_id = 2 [(.google.api.field_behavior) = REQUIRED];
setNoteIdBytes(ByteString value)
public
CreateNoteRequest
.
Builder
setNoteIdBytes
(
ByteString
value
)
The ID to use for this note.
string note_id = 2 [(.google.api.field_behavior) = REQUIRED];
setParent(String value)
public
CreateNoteRequest
.
Builder
setParent
(
String
value
)
The name of the project in the form of projects/[PROJECT_ID]
, under which
the note is to be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
setParentBytes(ByteString value)
public
CreateNoteRequest
.
Builder
setParentBytes
(
ByteString
value
)
The name of the project in the form of projects/[PROJECT_ID]
, under which
the note is to be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

