Package io.grafeas.v1beta1
Class BatchCreateOccurrencesResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesResponse.Builder>
-
- io.grafeas.v1beta1.BatchCreateOccurrencesResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,BatchCreateOccurrencesResponseOrBuilder,Cloneable
- Enclosing class:
- BatchCreateOccurrencesResponse
public static final class BatchCreateOccurrencesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesResponse.Builder> implements BatchCreateOccurrencesResponseOrBuilder
Response for creating occurrences in batch.
Protobuf typegrafeas.v1beta1.BatchCreateOccurrencesResponse
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesResponse.Builder>
-
clear
public BatchCreateOccurrencesResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesResponse.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.GeneratedMessageV3.Builder<BatchCreateOccurrencesResponse.Builder>
-
getDefaultInstanceForType
public BatchCreateOccurrencesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchCreateOccurrencesResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchCreateOccurrencesResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchCreateOccurrencesResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesResponse.Builder>
-
setField
public BatchCreateOccurrencesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesResponse.Builder>
-
clearField
public BatchCreateOccurrencesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesResponse.Builder>
-
clearOneof
public BatchCreateOccurrencesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesResponse.Builder>
-
setRepeatedField
public BatchCreateOccurrencesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesResponse.Builder>
-
addRepeatedField
public BatchCreateOccurrencesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesResponse.Builder>
-
mergeFrom
public BatchCreateOccurrencesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchCreateOccurrencesResponse.Builder>
-
mergeFrom
public BatchCreateOccurrencesResponse.Builder mergeFrom(BatchCreateOccurrencesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesResponse.Builder>
-
mergeFrom
public BatchCreateOccurrencesResponse.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<BatchCreateOccurrencesResponse.Builder>- Throws:
IOException
-
getOccurrencesList
public List<Occurrence> getOccurrencesList()
The occurrences that were created.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;- Specified by:
getOccurrencesListin interfaceBatchCreateOccurrencesResponseOrBuilder
-
getOccurrencesCount
public int getOccurrencesCount()
The occurrences that were created.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;- Specified by:
getOccurrencesCountin interfaceBatchCreateOccurrencesResponseOrBuilder
-
getOccurrences
public Occurrence getOccurrences(int index)
The occurrences that were created.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;- Specified by:
getOccurrencesin interfaceBatchCreateOccurrencesResponseOrBuilder
-
setOccurrences
public BatchCreateOccurrencesResponse.Builder setOccurrences(int index, Occurrence value)
The occurrences that were created.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;
-
setOccurrences
public BatchCreateOccurrencesResponse.Builder setOccurrences(int index, Occurrence.Builder builderForValue)
The occurrences that were created.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;
-
addOccurrences
public BatchCreateOccurrencesResponse.Builder addOccurrences(Occurrence value)
The occurrences that were created.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;
-
addOccurrences
public BatchCreateOccurrencesResponse.Builder addOccurrences(int index, Occurrence value)
The occurrences that were created.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;
-
addOccurrences
public BatchCreateOccurrencesResponse.Builder addOccurrences(Occurrence.Builder builderForValue)
The occurrences that were created.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;
-
addOccurrences
public BatchCreateOccurrencesResponse.Builder addOccurrences(int index, Occurrence.Builder builderForValue)
The occurrences that were created.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;
-
addAllOccurrences
public BatchCreateOccurrencesResponse.Builder addAllOccurrences(Iterable<? extends Occurrence> values)
The occurrences that were created.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;
-
clearOccurrences
public BatchCreateOccurrencesResponse.Builder clearOccurrences()
The occurrences that were created.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;
-
removeOccurrences
public BatchCreateOccurrencesResponse.Builder removeOccurrences(int index)
The occurrences that were created.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;
-
getOccurrencesBuilder
public Occurrence.Builder getOccurrencesBuilder(int index)
The occurrences that were created.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;
-
getOccurrencesOrBuilder
public OccurrenceOrBuilder getOccurrencesOrBuilder(int index)
The occurrences that were created.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;- Specified by:
getOccurrencesOrBuilderin interfaceBatchCreateOccurrencesResponseOrBuilder
-
getOccurrencesOrBuilderList
public List<? extends OccurrenceOrBuilder> getOccurrencesOrBuilderList()
The occurrences that were created.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;- Specified by:
getOccurrencesOrBuilderListin interfaceBatchCreateOccurrencesResponseOrBuilder
-
addOccurrencesBuilder
public Occurrence.Builder addOccurrencesBuilder()
The occurrences that were created.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;
-
addOccurrencesBuilder
public Occurrence.Builder addOccurrencesBuilder(int index)
The occurrences that were created.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;
-
getOccurrencesBuilderList
public List<Occurrence.Builder> getOccurrencesBuilderList()
The occurrences that were created.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;
-
setUnknownFields
public final BatchCreateOccurrencesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesResponse.Builder>
-
mergeUnknownFields
public final BatchCreateOccurrencesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesResponse.Builder>
-
-