public final class CreateNoteRequest extends GeneratedMessageV3 implements CreateNoteRequestOrBuilder
Request to create a new note.
Protobuf type grafeas.v1beta1.CreateNoteRequest
Static Fields
NOTE_FIELD_NUMBER
public static final int NOTE_FIELD_NUMBER
Field Value
NOTE_ID_FIELD_NUMBER
public static final int NOTE_ID_FIELD_NUMBER
Field Value
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CreateNoteRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CreateNoteRequest.Builder newBuilder()
Returns
newBuilder(CreateNoteRequest prototype)
public static CreateNoteRequest.Builder newBuilder(CreateNoteRequest prototype)
Parameter
Returns
public static CreateNoteRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateNoteRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CreateNoteRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateNoteRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CreateNoteRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateNoteRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateNoteRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CreateNoteRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateNoteRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateNoteRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CreateNoteRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateNoteRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CreateNoteRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CreateNoteRequest getDefaultInstanceForType()
Returns
getNote()
The note to create.
.grafeas.v1beta1.Note note = 3;
Returns
Type | Description |
Note | The note.
|
getNoteId()
public String getNoteId()
The ID to use for this note.
string note_id = 2;
Returns
Type | Description |
String | The noteId.
|
getNoteIdBytes()
public ByteString getNoteIdBytes()
The ID to use for this note.
string note_id = 2;
Returns
getNoteOrBuilder()
public NoteOrBuilder getNoteOrBuilder()
The note to create.
.grafeas.v1beta1.Note note = 3;
Returns
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;
Returns
Type | Description |
String | The parent.
|
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;
Returns
getParserForType()
public Parser<CreateNoteRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasNote()
The note to create.
.grafeas.v1beta1.Note note = 3;
Returns
Type | Description |
boolean | Whether the note field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CreateNoteRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateNoteRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CreateNoteRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions