Package io.grafeas.v1beta1
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.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.GeneratedMessageV3.Builder<BatchCreateOccurrencesRequest.Builder> implements BatchCreateOccurrencesRequestOrBuilder
Request to create occurrences in batch.
Protobuf typegrafeas.v1beta1.BatchCreateOccurrencesRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchCreateOccurrencesRequest.Builder
addAllOccurrences(Iterable<? extends Occurrence> values)
The occurrences to create.BatchCreateOccurrencesRequest.Builder
addOccurrences(int index, Occurrence value)
The occurrences to create.BatchCreateOccurrencesRequest.Builder
addOccurrences(int index, Occurrence.Builder builderForValue)
The occurrences to create.BatchCreateOccurrencesRequest.Builder
addOccurrences(Occurrence value)
The occurrences to create.BatchCreateOccurrencesRequest.Builder
addOccurrences(Occurrence.Builder builderForValue)
The occurrences to create.Occurrence.Builder
addOccurrencesBuilder()
The occurrences to create.Occurrence.Builder
addOccurrencesBuilder(int index)
The occurrences to create.BatchCreateOccurrencesRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BatchCreateOccurrencesRequest
build()
BatchCreateOccurrencesRequest
buildPartial()
BatchCreateOccurrencesRequest.Builder
clear()
BatchCreateOccurrencesRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
BatchCreateOccurrencesRequest.Builder
clearOccurrences()
The occurrences to create.BatchCreateOccurrencesRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
BatchCreateOccurrencesRequest.Builder
clearParent()
The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created.BatchCreateOccurrencesRequest.Builder
clone()
BatchCreateOccurrencesRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Occurrence
getOccurrences(int index)
The occurrences to create.Occurrence.Builder
getOccurrencesBuilder(int index)
The occurrences to create.List<Occurrence.Builder>
getOccurrencesBuilderList()
The occurrences to create.int
getOccurrencesCount()
The occurrences to create.List<Occurrence>
getOccurrencesList()
The occurrences to create.OccurrenceOrBuilder
getOccurrencesOrBuilder(int index)
The occurrences to create.List<? extends OccurrenceOrBuilder>
getOccurrencesOrBuilderList()
The occurrences to create.String
getParent()
The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
BatchCreateOccurrencesRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BatchCreateOccurrencesRequest.Builder
mergeFrom(com.google.protobuf.Message other)
BatchCreateOccurrencesRequest.Builder
mergeFrom(BatchCreateOccurrencesRequest other)
BatchCreateOccurrencesRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
BatchCreateOccurrencesRequest.Builder
removeOccurrences(int index)
The occurrences to create.BatchCreateOccurrencesRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BatchCreateOccurrencesRequest.Builder
setOccurrences(int index, Occurrence value)
The occurrences to create.BatchCreateOccurrencesRequest.Builder
setOccurrences(int index, Occurrence.Builder builderForValue)
The occurrences to create.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.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.BatchCreateOccurrencesRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
BatchCreateOccurrencesRequest.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesRequest.Builder>
-
clear
public BatchCreateOccurrencesRequest.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<BatchCreateOccurrencesRequest.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<BatchCreateOccurrencesRequest.Builder>
-
getDefaultInstanceForType
public BatchCreateOccurrencesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchCreateOccurrencesRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchCreateOccurrencesRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchCreateOccurrencesRequest.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<BatchCreateOccurrencesRequest.Builder>
-
setField
public BatchCreateOccurrencesRequest.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<BatchCreateOccurrencesRequest.Builder>
-
clearField
public BatchCreateOccurrencesRequest.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<BatchCreateOccurrencesRequest.Builder>
-
clearOneof
public BatchCreateOccurrencesRequest.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<BatchCreateOccurrencesRequest.Builder>
-
setRepeatedField
public BatchCreateOccurrencesRequest.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<BatchCreateOccurrencesRequest.Builder>
-
addRepeatedField
public BatchCreateOccurrencesRequest.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<BatchCreateOccurrencesRequest.Builder>
-
mergeFrom
public BatchCreateOccurrencesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BatchCreateOccurrencesRequest.Builder>
-
mergeFrom
public BatchCreateOccurrencesRequest.Builder mergeFrom(BatchCreateOccurrencesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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;
- Specified by:
getParent
in 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:
getParentBytes
in 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;
- 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;
- 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;
- Parameters:
value
- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getOccurrencesList
public List<Occurrence> getOccurrencesList()
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2;
- Specified by:
getOccurrencesList
in interfaceBatchCreateOccurrencesRequestOrBuilder
-
getOccurrencesCount
public int getOccurrencesCount()
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2;
- Specified by:
getOccurrencesCount
in interfaceBatchCreateOccurrencesRequestOrBuilder
-
getOccurrences
public Occurrence getOccurrences(int index)
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2;
- Specified by:
getOccurrences
in interfaceBatchCreateOccurrencesRequestOrBuilder
-
setOccurrences
public BatchCreateOccurrencesRequest.Builder setOccurrences(int index, Occurrence value)
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
public BatchCreateOccurrencesRequest.Builder addOccurrences(Occurrence value)
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2;
-
addOccurrences
public BatchCreateOccurrencesRequest.Builder addOccurrences(int index, Occurrence value)
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2;
-
addOccurrences
public BatchCreateOccurrencesRequest.Builder addOccurrences(Occurrence.Builder builderForValue)
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
public BatchCreateOccurrencesRequest.Builder clearOccurrences()
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2;
-
removeOccurrences
public BatchCreateOccurrencesRequest.Builder removeOccurrences(int index)
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2;
-
getOccurrencesBuilder
public Occurrence.Builder getOccurrencesBuilder(int index)
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2;
-
getOccurrencesOrBuilder
public OccurrenceOrBuilder getOccurrencesOrBuilder(int index)
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2;
- Specified by:
getOccurrencesOrBuilder
in interfaceBatchCreateOccurrencesRequestOrBuilder
-
getOccurrencesOrBuilderList
public List<? extends OccurrenceOrBuilder> getOccurrencesOrBuilderList()
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2;
- Specified by:
getOccurrencesOrBuilderList
in interfaceBatchCreateOccurrencesRequestOrBuilder
-
addOccurrencesBuilder
public Occurrence.Builder addOccurrencesBuilder()
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2;
-
addOccurrencesBuilder
public Occurrence.Builder addOccurrencesBuilder(int index)
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2;
-
getOccurrencesBuilderList
public List<Occurrence.Builder> getOccurrencesBuilderList()
The occurrences to create.
repeated .grafeas.v1beta1.Occurrence occurrences = 2;
-
setUnknownFields
public final BatchCreateOccurrencesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesRequest.Builder>
-
mergeUnknownFields
public final BatchCreateOccurrencesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchCreateOccurrencesRequest.Builder>
-
-