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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesResponse.Builder>
-
clear
public BatchCreateOccurrencesResponse.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<BatchCreateOccurrencesResponse.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<BatchCreateOccurrencesResponse.Builder>
-
getDefaultInstanceForType
public BatchCreateOccurrencesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchCreateOccurrencesResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchCreateOccurrencesResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchCreateOccurrencesResponse.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<BatchCreateOccurrencesResponse.Builder>
-
setField
public BatchCreateOccurrencesResponse.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<BatchCreateOccurrencesResponse.Builder>
-
clearField
public BatchCreateOccurrencesResponse.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<BatchCreateOccurrencesResponse.Builder>
-
clearOneof
public BatchCreateOccurrencesResponse.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<BatchCreateOccurrencesResponse.Builder>
-
setRepeatedField
public BatchCreateOccurrencesResponse.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<BatchCreateOccurrencesResponse.Builder>
-
addRepeatedField
public BatchCreateOccurrencesResponse.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<BatchCreateOccurrencesResponse.Builder>
-
mergeFrom
public BatchCreateOccurrencesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BatchCreateOccurrencesResponse.Builder>
-
mergeFrom
public BatchCreateOccurrencesResponse.Builder mergeFrom(BatchCreateOccurrencesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getOccurrencesList
in interfaceBatchCreateOccurrencesResponseOrBuilder
-
getOccurrencesCount
public int getOccurrencesCount()
The occurrences that were created.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;
- Specified by:
getOccurrencesCount
in interfaceBatchCreateOccurrencesResponseOrBuilder
-
getOccurrences
public Occurrence getOccurrences(int index)
The occurrences that were created.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;
- Specified by:
getOccurrences
in 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:
getOccurrencesOrBuilder
in interfaceBatchCreateOccurrencesResponseOrBuilder
-
getOccurrencesOrBuilderList
public List<? extends OccurrenceOrBuilder> getOccurrencesOrBuilderList()
The occurrences that were created.
repeated .grafeas.v1beta1.Occurrence occurrences = 1;
- Specified by:
getOccurrencesOrBuilderList
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesResponse.Builder>
-
mergeUnknownFields
public final BatchCreateOccurrencesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesResponse.Builder>
-
-