Class BatchCreateNotesRequest.Builder (2.46.0)

public static final class BatchCreateNotesRequest.Builder extends GeneratedMessageV3.Builder<BatchCreateNotesRequest.Builder> implements BatchCreateNotesRequestOrBuilder

Request to create notes in batch.

Protobuf type grafeas.v1beta1.BatchCreateNotesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchCreateNotesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchCreateNotesRequest.Builder
Overrides

build()

public BatchCreateNotesRequest build()
Returns
Type Description
BatchCreateNotesRequest

buildPartial()

public BatchCreateNotesRequest buildPartial()
Returns
Type Description
BatchCreateNotesRequest

clear()

public BatchCreateNotesRequest.Builder clear()
Returns
Type Description
BatchCreateNotesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchCreateNotesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchCreateNotesRequest.Builder
Overrides

clearNotes()

public BatchCreateNotesRequest.Builder clearNotes()
Returns
Type Description
BatchCreateNotesRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchCreateNotesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchCreateNotesRequest.Builder
Overrides

clearParent()

public BatchCreateNotesRequest.Builder clearParent()

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

string parent = 1;

Returns
Type Description
BatchCreateNotesRequest.Builder

This builder for chaining.

clone()

public BatchCreateNotesRequest.Builder clone()
Returns
Type Description
BatchCreateNotesRequest.Builder
Overrides

containsNotes(String key)

public boolean containsNotes(String key)

The notes to create.

map<string, .grafeas.v1beta1.Note> notes = 2;

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public BatchCreateNotesRequest getDefaultInstanceForType()
Returns
Type Description
BatchCreateNotesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMutableNotes() (deprecated)

public Map<String,Note> getMutableNotes()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,Note>

getNotes() (deprecated)

public Map<String,Note> getNotes()

Use #getNotesMap() instead.

Returns
Type Description
Map<String,Note>

getNotesCount()

public int getNotesCount()

The notes to create.

map<string, .grafeas.v1beta1.Note> notes = 2;

Returns
Type Description
int

getNotesMap()

public Map<String,Note> getNotesMap()

The notes to create.

map<string, .grafeas.v1beta1.Note> notes = 2;

Returns
Type Description
Map<String,Note>

getNotesOrDefault(String key, Note defaultValue)

public Note getNotesOrDefault(String key, Note defaultValue)

The notes to create.

map<string, .grafeas.v1beta1.Note> notes = 2;

Parameters
Name Description
key String
defaultValue Note
Returns
Type Description
Note

getNotesOrThrow(String key)

public Note getNotesOrThrow(String key)

The notes to create.

map<string, .grafeas.v1beta1.Note> notes = 2;

Parameter
Name Description
key String
Returns
Type Description
Note

getParent()

public 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;

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 notes are to be created.

string parent = 1;

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchCreateNotesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateNotesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchCreateNotesRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchCreateNotesRequest.Builder
Overrides

mergeFrom(BatchCreateNotesRequest other)

public BatchCreateNotesRequest.Builder mergeFrom(BatchCreateNotesRequest other)
Parameter
Name Description
other BatchCreateNotesRequest
Returns
Type Description
BatchCreateNotesRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchCreateNotesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchCreateNotesRequest.Builder
Overrides

putAllNotes(Map<String,Note> values)

public BatchCreateNotesRequest.Builder putAllNotes(Map<String,Note> values)

The notes to create.

map<string, .grafeas.v1beta1.Note> notes = 2;

Parameter
Name Description
values Map<String,Note>
Returns
Type Description
BatchCreateNotesRequest.Builder

putNotes(String key, Note value)

public BatchCreateNotesRequest.Builder putNotes(String key, Note value)

The notes to create.

map<string, .grafeas.v1beta1.Note> notes = 2;

Parameters
Name Description
key String
value Note
Returns
Type Description
BatchCreateNotesRequest.Builder

removeNotes(String key)

public BatchCreateNotesRequest.Builder removeNotes(String key)

The notes to create.

map<string, .grafeas.v1beta1.Note> notes = 2;

Parameter
Name Description
key String
Returns
Type Description
BatchCreateNotesRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchCreateNotesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchCreateNotesRequest.Builder
Overrides

setParent(String value)

public BatchCreateNotesRequest.Builder setParent(String value)

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

string parent = 1;

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
BatchCreateNotesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchCreateNotesRequest.Builder setParentBytes(ByteString value)

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

string parent = 1;

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
BatchCreateNotesRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchCreateNotesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchCreateNotesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchCreateNotesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchCreateNotesRequest.Builder
Overrides