Package io.grafeas.v1beta1
Class BatchCreateOccurrencesRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchCreateOccurrencesRequest.Builder>
io.grafeas.v1beta1.BatchCreateOccurrencesRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,BatchCreateOccurrencesRequestOrBuilder,Cloneable
- Enclosing class:
- BatchCreateOccurrencesRequest
public static final class BatchCreateOccurrencesRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BatchCreateOccurrencesRequest.Builder>
implements BatchCreateOccurrencesRequestOrBuilder
Request to create occurrences in batch.Protobuf type
grafeas.v1beta1.BatchCreateOccurrencesRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllOccurrences(Iterable<? extends Occurrence> values) The occurrences to create.addOccurrences(int index, Occurrence value) The occurrences to create.addOccurrences(int index, Occurrence.Builder builderForValue) The occurrences to create.addOccurrences(Occurrence value) The occurrences to create.addOccurrences(Occurrence.Builder builderForValue) The occurrences to create.The occurrences to create.addOccurrencesBuilder(int index) The occurrences to create.build()clear()The occurrences to create.The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetOccurrences(int index) The occurrences to create.getOccurrencesBuilder(int index) The occurrences to create.The occurrences to create.intThe occurrences to create.The occurrences to create.getOccurrencesOrBuilder(int index) The occurrences to create.List<? extends OccurrenceOrBuilder>The occurrences to create.The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created.com.google.protobuf.ByteStringThe name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created.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 to create.setOccurrences(int index, Occurrence value) The occurrences to create.setOccurrences(int index, Occurrence.Builder builderForValue) The occurrences to create.The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created.setParentBytes(com.google.protobuf.ByteString value) The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are 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<BatchCreateOccurrencesRequest.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<BatchCreateOccurrencesRequest.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<BatchCreateOccurrencesRequest.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<BatchCreateOccurrencesRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BatchCreateOccurrencesRequest.Builder>
-
mergeFrom
public BatchCreateOccurrencesRequest.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<BatchCreateOccurrencesRequest.Builder>- Throws:
IOException
-
getParent
The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created.
string parent = 1;- Specified by:
getParentin interfaceBatchCreateOccurrencesRequestOrBuilder- 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 occurrences are to be created.
string parent = 1;- Specified by:
getParentBytesin interfaceBatchCreateOccurrencesRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are 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 occurrences are 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 occurrences are to be created.
string parent = 1;- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getOccurrencesList
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2;- Specified by:
getOccurrencesListin interfaceBatchCreateOccurrencesRequestOrBuilder
-
getOccurrencesCount
public int getOccurrencesCount()The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2;- Specified by:
getOccurrencesCountin interfaceBatchCreateOccurrencesRequestOrBuilder
-
getOccurrences
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2;- Specified by:
getOccurrencesin interfaceBatchCreateOccurrencesRequestOrBuilder
-
setOccurrences
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2; -
setOccurrences
public BatchCreateOccurrencesRequest.Builder setOccurrences(int index, Occurrence.Builder builderForValue) The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2; -
addOccurrences
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2; -
addOccurrences
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2; -
addOccurrences
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2; -
addOccurrences
public BatchCreateOccurrencesRequest.Builder addOccurrences(int index, Occurrence.Builder builderForValue) The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2; -
addAllOccurrences
public BatchCreateOccurrencesRequest.Builder addAllOccurrences(Iterable<? extends Occurrence> values) The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2; -
clearOccurrences
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2; -
removeOccurrences
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2; -
getOccurrencesBuilder
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2; -
getOccurrencesOrBuilder
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2;- Specified by:
getOccurrencesOrBuilderin interfaceBatchCreateOccurrencesRequestOrBuilder
-
getOccurrencesOrBuilderList
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2;- Specified by:
getOccurrencesOrBuilderListin interfaceBatchCreateOccurrencesRequestOrBuilder
-
addOccurrencesBuilder
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2; -
addOccurrencesBuilder
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2; -
getOccurrencesBuilderList
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2;
-