public
final
class
CreateNoteRequest
extends
GeneratedMessage
implements
CreateNoteRequestOrBuilder
Request to create a new note.
Protobuf type grafeas.v1.CreateNoteRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CreateNoteRequestImplements
CreateNoteRequestOrBuilderStatic Fields
NOTE_FIELD_NUMBER
public
static
final
int
NOTE_FIELD_NUMBER
NOTE_ID_FIELD_NUMBER
public
static
final
int
NOTE_ID_FIELD_NUMBER
PARENT_FIELD_NUMBER
public
static
final
int
PARENT_FIELD_NUMBER
Static Methods
getDefaultInstance()
public
static
CreateNoteRequest
getDefaultInstance
()
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
newBuilder()
public
static
CreateNoteRequest
.
Builder
newBuilder
()
newBuilder(CreateNoteRequest prototype)
public
static
CreateNoteRequest
.
Builder
newBuilder
(
CreateNoteRequest
prototype
)
parseDelimitedFrom(InputStream input)
public
static
CreateNoteRequest
parseDelimitedFrom
(
InputStream
input
)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
CreateNoteRequest
parseDelimitedFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(byte[] data)
public
static
CreateNoteRequest
parseFrom
(
byte
[]
data
)
data
byte
[]
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public
static
CreateNoteRequest
parseFrom
(
byte
[]
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteString data)
public
static
CreateNoteRequest
parseFrom
(
ByteString
data
)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public
static
CreateNoteRequest
parseFrom
(
ByteString
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(CodedInputStream input)
public
static
CreateNoteRequest
parseFrom
(
CodedInputStream
input
)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
static
CreateNoteRequest
parseFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(InputStream input)
public
static
CreateNoteRequest
parseFrom
(
InputStream
input
)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
CreateNoteRequest
parseFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteBuffer data)
public
static
CreateNoteRequest
parseFrom
(
ByteBuffer
data
)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public
static
CreateNoteRequest
parseFrom
(
ByteBuffer
data
,
ExtensionRegistryLite
extensionRegistry
)
parser()
public
static
Parser<CreateNoteRequest>
parser
()
Methods
equals(Object obj)
public
boolean
equals
(
Object
obj
)
getDefaultInstanceForType()
public
CreateNoteRequest
getDefaultInstanceForType
()
getNote()
public
Note
getNote
()
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) = { ... }
getParserForType()
public
Parser<CreateNoteRequest>
getParserForType
()
getSerializedSize()
public
int
getSerializedSize
()
hasNote()
public
boolean
hasNote
()
The note to create.
.grafeas.v1.Note note = 3 [(.google.api.field_behavior) = REQUIRED];
hashCode()
public
int
hashCode
()
internalGetFieldAccessorTable()
protected
GeneratedMessage
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
newBuilderForType()
public
CreateNoteRequest
.
Builder
newBuilderForType
()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected
CreateNoteRequest
.
Builder
newBuilderForType
(
AbstractMessage
.
BuilderParent
parent
)
toBuilder()
public
CreateNoteRequest
.
Builder
toBuilder
()
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)

