Interface BatchCreateNotesRequestOrBuilder (2.45.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
Name Description
key String
Returns
Type Description
boolean

getNotes() (deprecated)

public abstract Map<String,Note> getNotes()

Use #getNotesMap() instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue Note
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for parent.