public static final class BatchCreateNotesRequest.Builder extends GeneratedMessageV3.Builder<BatchCreateNotesRequest.Builder> implements BatchCreateNotesRequestOrBuilder
Request to create notes in batch.
Protobuf type grafeas.v1.BatchCreateNotesRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateNotesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BatchCreateNotesRequest build()
buildPartial()
public BatchCreateNotesRequest buildPartial()
clear()
public BatchCreateNotesRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchCreateNotesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNotes()
public BatchCreateNotesRequest.Builder clearNotes()
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchCreateNotesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public BatchCreateNotesRequest.Builder clone()
Overrides
containsNotes(String key)
public 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
|
getDefaultInstanceForType()
public BatchCreateNotesRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableNotes() (deprecated)
public Map<String,Note> getMutableNotes()
Use alternate mutation accessors instead.
getNotes() (deprecated)
public Map<String,Note> getNotes()
getNotesCount()
public 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 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];
getNotesOrDefault(String key, Note defaultValue)
public 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 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 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 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
---|
Name | Description |
number | int
|
Returns |
---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor | |
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
---|
Name | Description |
number | int
|
Returns |
---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor | |
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
public BatchCreateNotesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchCreateNotesRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(BatchCreateNotesRequest other)
public BatchCreateNotesRequest.Builder mergeFrom(BatchCreateNotesRequest other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateNotesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllNotes(Map<String,Note> values)
public BatchCreateNotesRequest.Builder putAllNotes(Map<String,Note> values)
The notes to create. Max allowed length is 1000.
map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED];
putNotes(String key, Note value)
public BatchCreateNotesRequest.Builder putNotes(String key, Note value)
The notes to create. Max allowed length is 1000.
map<string, .grafeas.v1.Note> notes = 2 [(.google.api.field_behavior) = REQUIRED];
putNotesBuilderIfAbsent(String key)
public Note.Builder putNotesBuilderIfAbsent(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
|
removeNotes(String key)
public BatchCreateNotesRequest.Builder removeNotes(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
|
setField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateNotesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The parent to set.
|
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchCreateNotesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateNotesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides