Package io.grafeas.v1
Class BatchCreateOccurrencesRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesRequest.Builder>
-
- io.grafeas.v1.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.GeneratedMessageV3.Builder<BatchCreateOccurrencesRequest.Builder> implements BatchCreateOccurrencesRequestOrBuilder
Request to create occurrences in batch.
Protobuf typegrafeas.v1.BatchCreateOccurrencesRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchCreateOccurrencesRequest.BuilderaddAllOccurrences(Iterable<? extends Occurrence> values)The occurrences to create.BatchCreateOccurrencesRequest.BuilderaddOccurrences(int index, Occurrence value)The occurrences to create.BatchCreateOccurrencesRequest.BuilderaddOccurrences(int index, Occurrence.Builder builderForValue)The occurrences to create.BatchCreateOccurrencesRequest.BuilderaddOccurrences(Occurrence value)The occurrences to create.BatchCreateOccurrencesRequest.BuilderaddOccurrences(Occurrence.Builder builderForValue)The occurrences to create.Occurrence.BuilderaddOccurrencesBuilder()The occurrences to create.Occurrence.BuilderaddOccurrencesBuilder(int index)The occurrences to create.BatchCreateOccurrencesRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BatchCreateOccurrencesRequestbuild()BatchCreateOccurrencesRequestbuildPartial()BatchCreateOccurrencesRequest.Builderclear()BatchCreateOccurrencesRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BatchCreateOccurrencesRequest.BuilderclearOccurrences()The occurrences to create.BatchCreateOccurrencesRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BatchCreateOccurrencesRequest.BuilderclearParent()The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created.BatchCreateOccurrencesRequest.Builderclone()BatchCreateOccurrencesRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()OccurrencegetOccurrences(int index)The occurrences to create.Occurrence.BuildergetOccurrencesBuilder(int index)The occurrences to create.List<Occurrence.Builder>getOccurrencesBuilderList()The occurrences to create.intgetOccurrencesCount()The occurrences to create.List<Occurrence>getOccurrencesList()The occurrences to create.OccurrenceOrBuildergetOccurrencesOrBuilder(int index)The occurrences to create.List<? extends OccurrenceOrBuilder>getOccurrencesOrBuilderList()The occurrences to create.StringgetParent()The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created.com.google.protobuf.ByteStringgetParentBytes()The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BatchCreateOccurrencesRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BatchCreateOccurrencesRequest.BuildermergeFrom(com.google.protobuf.Message other)BatchCreateOccurrencesRequest.BuildermergeFrom(BatchCreateOccurrencesRequest other)BatchCreateOccurrencesRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BatchCreateOccurrencesRequest.BuilderremoveOccurrences(int index)The occurrences to create.BatchCreateOccurrencesRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BatchCreateOccurrencesRequest.BuildersetOccurrences(int index, Occurrence value)The occurrences to create.BatchCreateOccurrencesRequest.BuildersetOccurrences(int index, Occurrence.Builder builderForValue)The occurrences to create.BatchCreateOccurrencesRequest.BuildersetParent(String value)The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created.BatchCreateOccurrencesRequest.BuildersetParentBytes(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.BatchCreateOccurrencesRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)BatchCreateOccurrencesRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
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<BatchCreateOccurrencesRequest.Builder>
-
clear
public BatchCreateOccurrencesRequest.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<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.GeneratedMessageV3.Builder<BatchCreateOccurrencesRequest.Builder>
-
getDefaultInstanceForType
public BatchCreateOccurrencesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchCreateOccurrencesRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchCreateOccurrencesRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchCreateOccurrencesRequest.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<BatchCreateOccurrencesRequest.Builder>
-
setField
public BatchCreateOccurrencesRequest.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<BatchCreateOccurrencesRequest.Builder>
-
clearField
public BatchCreateOccurrencesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesRequest.Builder>
-
clearOneof
public BatchCreateOccurrencesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesRequest.Builder>
-
setRepeatedField
public BatchCreateOccurrencesRequest.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<BatchCreateOccurrencesRequest.Builder>
-
addRepeatedField
public BatchCreateOccurrencesRequest.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<BatchCreateOccurrencesRequest.Builder>
-
mergeFrom
public BatchCreateOccurrencesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchCreateOccurrencesRequest.Builder>
-
mergeFrom
public BatchCreateOccurrencesRequest.Builder mergeFrom(BatchCreateOccurrencesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public String getParent()
The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceBatchCreateOccurrencesRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
public BatchCreateOccurrencesRequest.Builder setParent(String value)
The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
public BatchCreateOccurrencesRequest.Builder clearParent()
The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setParentBytes
public BatchCreateOccurrencesRequest.Builder 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.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getOccurrencesList
public List<Occurrence> getOccurrencesList()
The occurrences to create. Max allowed length is 1000.
repeated .grafeas.v1.Occurrence occurrences = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOccurrencesListin interfaceBatchCreateOccurrencesRequestOrBuilder
-
getOccurrencesCount
public int getOccurrencesCount()
The occurrences to create. Max allowed length is 1000.
repeated .grafeas.v1.Occurrence occurrences = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOccurrencesCountin interfaceBatchCreateOccurrencesRequestOrBuilder
-
getOccurrences
public Occurrence getOccurrences(int index)
The occurrences to create. Max allowed length is 1000.
repeated .grafeas.v1.Occurrence occurrences = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOccurrencesin interfaceBatchCreateOccurrencesRequestOrBuilder
-
setOccurrences
public BatchCreateOccurrencesRequest.Builder setOccurrences(int index, Occurrence value)
The occurrences to create. Max allowed length is 1000.
repeated .grafeas.v1.Occurrence occurrences = 2 [(.google.api.field_behavior) = REQUIRED];
-
setOccurrences
public BatchCreateOccurrencesRequest.Builder setOccurrences(int index, Occurrence.Builder builderForValue)
The occurrences to create. Max allowed length is 1000.
repeated .grafeas.v1.Occurrence occurrences = 2 [(.google.api.field_behavior) = REQUIRED];
-
addOccurrences
public BatchCreateOccurrencesRequest.Builder addOccurrences(Occurrence value)
The occurrences to create. Max allowed length is 1000.
repeated .grafeas.v1.Occurrence occurrences = 2 [(.google.api.field_behavior) = REQUIRED];
-
addOccurrences
public BatchCreateOccurrencesRequest.Builder addOccurrences(int index, Occurrence value)
The occurrences to create. Max allowed length is 1000.
repeated .grafeas.v1.Occurrence occurrences = 2 [(.google.api.field_behavior) = REQUIRED];
-
addOccurrences
public BatchCreateOccurrencesRequest.Builder addOccurrences(Occurrence.Builder builderForValue)
The occurrences to create. Max allowed length is 1000.
repeated .grafeas.v1.Occurrence occurrences = 2 [(.google.api.field_behavior) = REQUIRED];
-
addOccurrences
public BatchCreateOccurrencesRequest.Builder addOccurrences(int index, Occurrence.Builder builderForValue)
The occurrences to create. Max allowed length is 1000.
repeated .grafeas.v1.Occurrence occurrences = 2 [(.google.api.field_behavior) = REQUIRED];
-
addAllOccurrences
public BatchCreateOccurrencesRequest.Builder addAllOccurrences(Iterable<? extends Occurrence> values)
The occurrences to create. Max allowed length is 1000.
repeated .grafeas.v1.Occurrence occurrences = 2 [(.google.api.field_behavior) = REQUIRED];
-
clearOccurrences
public BatchCreateOccurrencesRequest.Builder clearOccurrences()
The occurrences to create. Max allowed length is 1000.
repeated .grafeas.v1.Occurrence occurrences = 2 [(.google.api.field_behavior) = REQUIRED];
-
removeOccurrences
public BatchCreateOccurrencesRequest.Builder removeOccurrences(int index)
The occurrences to create. Max allowed length is 1000.
repeated .grafeas.v1.Occurrence occurrences = 2 [(.google.api.field_behavior) = REQUIRED];
-
getOccurrencesBuilder
public Occurrence.Builder getOccurrencesBuilder(int index)
The occurrences to create. Max allowed length is 1000.
repeated .grafeas.v1.Occurrence occurrences = 2 [(.google.api.field_behavior) = REQUIRED];
-
getOccurrencesOrBuilder
public OccurrenceOrBuilder getOccurrencesOrBuilder(int index)
The occurrences to create. Max allowed length is 1000.
repeated .grafeas.v1.Occurrence occurrences = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOccurrencesOrBuilderin interfaceBatchCreateOccurrencesRequestOrBuilder
-
getOccurrencesOrBuilderList
public List<? extends OccurrenceOrBuilder> getOccurrencesOrBuilderList()
The occurrences to create. Max allowed length is 1000.
repeated .grafeas.v1.Occurrence occurrences = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOccurrencesOrBuilderListin interfaceBatchCreateOccurrencesRequestOrBuilder
-
addOccurrencesBuilder
public Occurrence.Builder addOccurrencesBuilder()
The occurrences to create. Max allowed length is 1000.
repeated .grafeas.v1.Occurrence occurrences = 2 [(.google.api.field_behavior) = REQUIRED];
-
addOccurrencesBuilder
public Occurrence.Builder addOccurrencesBuilder(int index)
The occurrences to create. Max allowed length is 1000.
repeated .grafeas.v1.Occurrence occurrences = 2 [(.google.api.field_behavior) = REQUIRED];
-
getOccurrencesBuilderList
public List<Occurrence.Builder> getOccurrencesBuilderList()
The occurrences to create. Max allowed length is 1000.
repeated .grafeas.v1.Occurrence occurrences = 2 [(.google.api.field_behavior) = REQUIRED];
-
setUnknownFields
public final BatchCreateOccurrencesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesRequest.Builder>
-
mergeUnknownFields
public final BatchCreateOccurrencesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesRequest.Builder>
-
-