Package io.grafeas.v1beta1
Class ListNoteOccurrencesResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListNoteOccurrencesResponse.Builder>
io.grafeas.v1beta1.ListNoteOccurrencesResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ListNoteOccurrencesResponseOrBuilder,Cloneable
- Enclosing class:
- ListNoteOccurrencesResponse
public static final class ListNoteOccurrencesResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListNoteOccurrencesResponse.Builder>
implements ListNoteOccurrencesResponseOrBuilder
Response for listing occurrences for a note.Protobuf type
grafeas.v1beta1.ListNoteOccurrencesResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllOccurrences(Iterable<? extends Occurrence> values) The occurrences attached to the specified note.addOccurrences(int index, Occurrence value) The occurrences attached to the specified note.addOccurrences(int index, Occurrence.Builder builderForValue) The occurrences attached to the specified note.addOccurrences(Occurrence value) The occurrences attached to the specified note.addOccurrences(Occurrence.Builder builderForValue) The occurrences attached to the specified note.The occurrences attached to the specified note.addOccurrencesBuilder(int index) The occurrences attached to the specified note.build()clear()Token to provide to skip to a particular spot in the list.The occurrences attached to the specified note.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorToken to provide to skip to a particular spot in the list.com.google.protobuf.ByteStringToken to provide to skip to a particular spot in the list.getOccurrences(int index) The occurrences attached to the specified note.getOccurrencesBuilder(int index) The occurrences attached to the specified note.The occurrences attached to the specified note.intThe occurrences attached to the specified note.The occurrences attached to the specified note.getOccurrencesOrBuilder(int index) The occurrences attached to the specified note.List<? extends OccurrenceOrBuilder>The occurrences attached to the specified note.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeOccurrences(int index) The occurrences attached to the specified note.setNextPageToken(String value) Token to provide to skip to a particular spot in the list.setNextPageTokenBytes(com.google.protobuf.ByteString value) Token to provide to skip to a particular spot in the list.setOccurrences(int index, Occurrence value) The occurrences attached to the specified note.setOccurrences(int index, Occurrence.Builder builderForValue) The occurrences attached to the specified note.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<ListNoteOccurrencesResponse.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<ListNoteOccurrencesResponse.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<ListNoteOccurrencesResponse.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<ListNoteOccurrencesResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListNoteOccurrencesResponse.Builder>
-
mergeFrom
public ListNoteOccurrencesResponse.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<ListNoteOccurrencesResponse.Builder>- Throws:
IOException
-
getOccurrencesList
The occurrences attached to the specified note.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;- Specified by:
getOccurrencesListin interfaceListNoteOccurrencesResponseOrBuilder
-
getOccurrencesCount
public int getOccurrencesCount()The occurrences attached to the specified note.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;- Specified by:
getOccurrencesCountin interfaceListNoteOccurrencesResponseOrBuilder
-
getOccurrences
The occurrences attached to the specified note.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;- Specified by:
getOccurrencesin interfaceListNoteOccurrencesResponseOrBuilder
-
setOccurrences
The occurrences attached to the specified note.
repeated .grafeas.v1beta1.Occurrence occurrences = 1; -
setOccurrences
public ListNoteOccurrencesResponse.Builder setOccurrences(int index, Occurrence.Builder builderForValue) The occurrences attached to the specified note.
repeated .grafeas.v1beta1.Occurrence occurrences = 1; -
addOccurrences
The occurrences attached to the specified note.
repeated .grafeas.v1beta1.Occurrence occurrences = 1; -
addOccurrences
The occurrences attached to the specified note.
repeated .grafeas.v1beta1.Occurrence occurrences = 1; -
addOccurrences
The occurrences attached to the specified note.
repeated .grafeas.v1beta1.Occurrence occurrences = 1; -
addOccurrences
public ListNoteOccurrencesResponse.Builder addOccurrences(int index, Occurrence.Builder builderForValue) The occurrences attached to the specified note.
repeated .grafeas.v1beta1.Occurrence occurrences = 1; -
addAllOccurrences
The occurrences attached to the specified note.
repeated .grafeas.v1beta1.Occurrence occurrences = 1; -
clearOccurrences
The occurrences attached to the specified note.
repeated .grafeas.v1beta1.Occurrence occurrences = 1; -
removeOccurrences
The occurrences attached to the specified note.
repeated .grafeas.v1beta1.Occurrence occurrences = 1; -
getOccurrencesBuilder
The occurrences attached to the specified note.
repeated .grafeas.v1beta1.Occurrence occurrences = 1; -
getOccurrencesOrBuilder
The occurrences attached to the specified note.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;- Specified by:
getOccurrencesOrBuilderin interfaceListNoteOccurrencesResponseOrBuilder
-
getOccurrencesOrBuilderList
The occurrences attached to the specified note.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;- Specified by:
getOccurrencesOrBuilderListin interfaceListNoteOccurrencesResponseOrBuilder
-
addOccurrencesBuilder
The occurrences attached to the specified note.
repeated .grafeas.v1beta1.Occurrence occurrences = 1; -
addOccurrencesBuilder
The occurrences attached to the specified note.
repeated .grafeas.v1beta1.Occurrence occurrences = 1; -
getOccurrencesBuilderList
The occurrences attached to the specified note.
repeated .grafeas.v1beta1.Occurrence occurrences = 1; -
getNextPageToken
Token to provide to skip to a particular spot in the list.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListNoteOccurrencesResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()Token to provide to skip to a particular spot in the list.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListNoteOccurrencesResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
Token to provide to skip to a particular spot in the list.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
Token to provide to skip to a particular spot in the list.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListNoteOccurrencesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) Token to provide to skip to a particular spot in the list.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-