Package io.grafeas.v1beta1
Class BatchCreateNotesRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BatchCreateNotesRequest.Builder>
-
- io.grafeas.v1beta1.BatchCreateNotesRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,BatchCreateNotesRequestOrBuilder
,Cloneable
- Enclosing class:
- BatchCreateNotesRequest
public static final class BatchCreateNotesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchCreateNotesRequest.Builder> implements BatchCreateNotesRequestOrBuilder
Request to create notes in batch.
Protobuf typegrafeas.v1beta1.BatchCreateNotesRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BatchCreateNotesRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BatchCreateNotesRequest
build()
BatchCreateNotesRequest
buildPartial()
BatchCreateNotesRequest.Builder
clear()
BatchCreateNotesRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
BatchCreateNotesRequest.Builder
clearNotes()
BatchCreateNotesRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
BatchCreateNotesRequest.Builder
clearParent()
The name of the project in the form of `projects/[PROJECT_ID]`, under which the notes are to be created.BatchCreateNotesRequest.Builder
clone()
boolean
containsNotes(String key)
The notes to create.BatchCreateNotesRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Map<String,Note>
getMutableNotes()
Deprecated.Map<String,Note>
getNotes()
Deprecated.int
getNotesCount()
The notes to create.Map<String,Note>
getNotesMap()
The notes to create.Note
getNotesOrDefault(String key, Note defaultValue)
The notes to create.Note
getNotesOrThrow(String key)
The notes to create.String
getParent()
The name of the project in the form of `projects/[PROJECT_ID]`, under which the notes are to be created.com.google.protobuf.ByteString
getParentBytes()
The name of the project in the form of `projects/[PROJECT_ID]`, under which the notes are to be created.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
BatchCreateNotesRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BatchCreateNotesRequest.Builder
mergeFrom(com.google.protobuf.Message other)
BatchCreateNotesRequest.Builder
mergeFrom(BatchCreateNotesRequest other)
BatchCreateNotesRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
BatchCreateNotesRequest.Builder
putAllNotes(Map<String,Note> values)
The notes to create.BatchCreateNotesRequest.Builder
putNotes(String key, Note value)
The notes to create.BatchCreateNotesRequest.Builder
removeNotes(String key)
The notes to create.BatchCreateNotesRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
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.BatchCreateNotesRequest.Builder
setParentBytes(com.google.protobuf.ByteString value)
The name of the project in the form of `projects/[PROJECT_ID]`, under which the notes are to be created.BatchCreateNotesRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
BatchCreateNotesRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateNotesRequest.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateNotesRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateNotesRequest.Builder>
-
clear
public BatchCreateNotesRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateNotesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateNotesRequest.Builder>
-
getDefaultInstanceForType
public BatchCreateNotesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchCreateNotesRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchCreateNotesRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchCreateNotesRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateNotesRequest.Builder>
-
setField
public BatchCreateNotesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateNotesRequest.Builder>
-
clearField
public BatchCreateNotesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateNotesRequest.Builder>
-
clearOneof
public BatchCreateNotesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateNotesRequest.Builder>
-
setRepeatedField
public BatchCreateNotesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateNotesRequest.Builder>
-
addRepeatedField
public BatchCreateNotesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateNotesRequest.Builder>
-
mergeFrom
public BatchCreateNotesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BatchCreateNotesRequest.Builder>
-
mergeFrom
public BatchCreateNotesRequest.Builder mergeFrom(BatchCreateNotesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateNotesRequest.Builder>
-
mergeFrom
public BatchCreateNotesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BatchCreateNotesRequest.Builder>
- Throws:
IOException
-
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;
- Specified by:
getParent
in interfaceBatchCreateNotesRequestOrBuilder
- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.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;
- Specified by:
getParentBytes
in interfaceBatchCreateNotesRequestOrBuilder
- Returns:
- The bytes for parent.
-
setParent
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;
- Parameters:
value
- The parent to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setParentBytes
public BatchCreateNotesRequest.Builder setParentBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getNotesCount
public int getNotesCount()
Description copied from interface:BatchCreateNotesRequestOrBuilder
The notes to create.
map<string, .grafeas.v1beta1.Note> notes = 2;
- Specified by:
getNotesCount
in interfaceBatchCreateNotesRequestOrBuilder
-
containsNotes
public boolean containsNotes(String key)
The notes to create.
map<string, .grafeas.v1beta1.Note> notes = 2;
- Specified by:
containsNotes
in interfaceBatchCreateNotesRequestOrBuilder
-
getNotes
@Deprecated public Map<String,Note> getNotes()
Deprecated.UsegetNotesMap()
instead.- Specified by:
getNotes
in interfaceBatchCreateNotesRequestOrBuilder
-
getNotesMap
public Map<String,Note> getNotesMap()
The notes to create.
map<string, .grafeas.v1beta1.Note> notes = 2;
- Specified by:
getNotesMap
in interfaceBatchCreateNotesRequestOrBuilder
-
getNotesOrDefault
public Note getNotesOrDefault(String key, Note defaultValue)
The notes to create.
map<string, .grafeas.v1beta1.Note> notes = 2;
- Specified by:
getNotesOrDefault
in interfaceBatchCreateNotesRequestOrBuilder
-
getNotesOrThrow
public Note getNotesOrThrow(String key)
The notes to create.
map<string, .grafeas.v1beta1.Note> notes = 2;
- Specified by:
getNotesOrThrow
in interfaceBatchCreateNotesRequestOrBuilder
-
clearNotes
public BatchCreateNotesRequest.Builder clearNotes()
-
removeNotes
public BatchCreateNotesRequest.Builder removeNotes(String key)
The notes to create.
map<string, .grafeas.v1beta1.Note> notes = 2;
-
getMutableNotes
@Deprecated public Map<String,Note> getMutableNotes()
Deprecated.Use alternate mutation accessors instead.
-
putNotes
public BatchCreateNotesRequest.Builder putNotes(String key, Note value)
The notes to create.
map<string, .grafeas.v1beta1.Note> notes = 2;
-
putAllNotes
public BatchCreateNotesRequest.Builder putAllNotes(Map<String,Note> values)
The notes to create.
map<string, .grafeas.v1beta1.Note> notes = 2;
-
setUnknownFields
public final BatchCreateNotesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateNotesRequest.Builder>
-
mergeUnknownFields
public final BatchCreateNotesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateNotesRequest.Builder>
-
-