Package io.grafeas.v1beta1
Class CreateNoteRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CreateNoteRequest.Builder>
io.grafeas.v1beta1.CreateNoteRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CreateNoteRequestOrBuilder,Cloneable
- Enclosing class:
- CreateNoteRequest
public static final class CreateNoteRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CreateNoteRequest.Builder>
implements CreateNoteRequestOrBuilder
Request to create a new note.Protobuf type
grafeas.v1beta1.CreateNoteRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The note to create.The ID to use for this note.The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetNote()The note to create.The note to create.The ID to use for this note.com.google.protobuf.ByteStringThe ID to use for this note.The note to create.The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created.com.google.protobuf.ByteStringThe name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created.booleanhasNote()The note to create.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(CreateNoteRequest other) The note to create.The note to create.setNote(Note.Builder builderForValue) The note to create.The ID to use for this note.setNoteIdBytes(com.google.protobuf.ByteString value) The ID to use for this note.The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created.setParentBytes(com.google.protobuf.ByteString value) The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CreateNoteRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CreateNoteRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CreateNoteRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateNoteRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CreateNoteRequest.Builder>
-
mergeFrom
public CreateNoteRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateNoteRequest.Builder>- Throws:
IOException
-
getParent
The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created.
string parent = 1;- Specified by:
getParentin interfaceCreateNoteRequestOrBuilder- 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 note is to be created.
string parent = 1;- Specified by:
getParentBytesin interfaceCreateNoteRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created.
string parent = 1;- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created.
string parent = 1;- Returns:
- This builder for chaining.
-
setParentBytes
The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created.
string parent = 1;- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getNoteId
The ID to use for this note.
string note_id = 2;- Specified by:
getNoteIdin interfaceCreateNoteRequestOrBuilder- Returns:
- The noteId.
-
getNoteIdBytes
public com.google.protobuf.ByteString getNoteIdBytes()The ID to use for this note.
string note_id = 2;- Specified by:
getNoteIdBytesin interfaceCreateNoteRequestOrBuilder- Returns:
- The bytes for noteId.
-
setNoteId
The ID to use for this note.
string note_id = 2;- Parameters:
value- The noteId to set.- Returns:
- This builder for chaining.
-
clearNoteId
The ID to use for this note.
string note_id = 2;- Returns:
- This builder for chaining.
-
setNoteIdBytes
The ID to use for this note.
string note_id = 2;- Parameters:
value- The bytes for noteId to set.- Returns:
- This builder for chaining.
-
hasNote
public boolean hasNote()The note to create.
.grafeas.v1beta1.Note note = 3;- Specified by:
hasNotein interfaceCreateNoteRequestOrBuilder- Returns:
- Whether the note field is set.
-
getNote
The note to create.
.grafeas.v1beta1.Note note = 3;- Specified by:
getNotein interfaceCreateNoteRequestOrBuilder- Returns:
- The note.
-
setNote
The note to create.
.grafeas.v1beta1.Note note = 3; -
setNote
The note to create.
.grafeas.v1beta1.Note note = 3; -
mergeNote
The note to create.
.grafeas.v1beta1.Note note = 3; -
clearNote
The note to create.
.grafeas.v1beta1.Note note = 3; -
getNoteBuilder
The note to create.
.grafeas.v1beta1.Note note = 3; -
getNoteOrBuilder
The note to create.
.grafeas.v1beta1.Note note = 3;- Specified by:
getNoteOrBuilderin interfaceCreateNoteRequestOrBuilder
-