Interface BatchCreateNotesRequestOrBuilder (2.6.0)

public interface BatchCreateNotesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsNotes(String key)

public abstract boolean containsNotes(String key)

The notes to create. Max allowed length is 1000.

map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getNotes()

public abstract Map<String,Note> getNotes()

Use #getNotesMap() instead.

Returns
TypeDescription
Map<String,Note>

getNotesCount()

public abstract int getNotesCount()

The notes to create. Max allowed length is 1000.

map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getNotesMap()

public abstract Map<String,Note> getNotesMap()

The notes to create. Max allowed length is 1000.

map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Map<String,Note>

getNotesOrDefault(String key, Note defaultValue)

public abstract Note getNotesOrDefault(String key, Note defaultValue)

The notes to create. Max allowed length is 1000.

map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
keyString
defaultValueNote
Returns
TypeDescription
Note

getNotesOrThrow(String key)

public abstract Note getNotesOrThrow(String key)

The notes to create. Max allowed length is 1000.

map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
keyString
Returns
TypeDescription
Note

getParent()

public abstract String getParent()

The name of the project in the form of projects/[PROJECT_ID], under which the notes are to be created.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

The name of the project in the form of projects/[PROJECT_ID], under which the notes are to be created.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.