Class BatchCreateOccurrencesResponse.Builder (2.44.0)

public static final class BatchCreateOccurrencesResponse.Builder extends GeneratedMessageV3.Builder<BatchCreateOccurrencesResponse.Builder> implements BatchCreateOccurrencesResponseOrBuilder

Response for creating occurrences in batch.

Protobuf type grafeas.v1.BatchCreateOccurrencesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllOccurrences(Iterable<? extends Occurrence> values)

public BatchCreateOccurrencesResponse.Builder addAllOccurrences(Iterable<? extends Occurrence> values)

The occurrences that were created.

repeated .grafeas.v1.Occurrence occurrences = 1;

Parameter
Name Description
values Iterable<? extends io.grafeas.v1.Occurrence>
Returns
Type Description
BatchCreateOccurrencesResponse.Builder

addOccurrences(int index, Occurrence value)

public BatchCreateOccurrencesResponse.Builder addOccurrences(int index, Occurrence value)

The occurrences that were created.

repeated .grafeas.v1.Occurrence occurrences = 1;

Parameters
Name Description
index int
value Occurrence
Returns
Type Description
BatchCreateOccurrencesResponse.Builder

addOccurrences(int index, Occurrence.Builder builderForValue)

public BatchCreateOccurrencesResponse.Builder addOccurrences(int index, Occurrence.Builder builderForValue)

The occurrences that were created.

repeated .grafeas.v1.Occurrence occurrences = 1;

Parameters
Name Description
index int
builderForValue Occurrence.Builder
Returns
Type Description
BatchCreateOccurrencesResponse.Builder

addOccurrences(Occurrence value)

public BatchCreateOccurrencesResponse.Builder addOccurrences(Occurrence value)

The occurrences that were created.

repeated .grafeas.v1.Occurrence occurrences = 1;

Parameter
Name Description
value Occurrence
Returns
Type Description
BatchCreateOccurrencesResponse.Builder

addOccurrences(Occurrence.Builder builderForValue)

public BatchCreateOccurrencesResponse.Builder addOccurrences(Occurrence.Builder builderForValue)

The occurrences that were created.

repeated .grafeas.v1.Occurrence occurrences = 1;

Parameter
Name Description
builderForValue Occurrence.Builder
Returns
Type Description
BatchCreateOccurrencesResponse.Builder

addOccurrencesBuilder()

public Occurrence.Builder addOccurrencesBuilder()

The occurrences that were created.

repeated .grafeas.v1.Occurrence occurrences = 1;

Returns
Type Description
Occurrence.Builder

addOccurrencesBuilder(int index)

public Occurrence.Builder addOccurrencesBuilder(int index)

The occurrences that were created.

repeated .grafeas.v1.Occurrence occurrences = 1;

Parameter
Name Description
index int
Returns
Type Description
Occurrence.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchCreateOccurrencesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchCreateOccurrencesResponse.Builder
Overrides

build()

public BatchCreateOccurrencesResponse build()
Returns
Type Description
BatchCreateOccurrencesResponse

buildPartial()

public BatchCreateOccurrencesResponse buildPartial()
Returns
Type Description
BatchCreateOccurrencesResponse

clear()

public BatchCreateOccurrencesResponse.Builder clear()
Returns
Type Description
BatchCreateOccurrencesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchCreateOccurrencesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchCreateOccurrencesResponse.Builder
Overrides

clearOccurrences()

public BatchCreateOccurrencesResponse.Builder clearOccurrences()

The occurrences that were created.

repeated .grafeas.v1.Occurrence occurrences = 1;

Returns
Type Description
BatchCreateOccurrencesResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchCreateOccurrencesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchCreateOccurrencesResponse.Builder
Overrides

clone()

public BatchCreateOccurrencesResponse.Builder clone()
Returns
Type Description
BatchCreateOccurrencesResponse.Builder
Overrides

getDefaultInstanceForType()

public BatchCreateOccurrencesResponse getDefaultInstanceForType()
Returns
Type Description
BatchCreateOccurrencesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOccurrences(int index)

public Occurrence getOccurrences(int index)

The occurrences that were created.

repeated .grafeas.v1.Occurrence occurrences = 1;

Parameter
Name Description
index int
Returns
Type Description
Occurrence

getOccurrencesBuilder(int index)

public Occurrence.Builder getOccurrencesBuilder(int index)

The occurrences that were created.

repeated .grafeas.v1.Occurrence occurrences = 1;

Parameter
Name Description
index int
Returns
Type Description
Occurrence.Builder

getOccurrencesBuilderList()

public List<Occurrence.Builder> getOccurrencesBuilderList()

The occurrences that were created.

repeated .grafeas.v1.Occurrence occurrences = 1;

Returns
Type Description
List<Builder>

getOccurrencesCount()

public int getOccurrencesCount()

The occurrences that were created.

repeated .grafeas.v1.Occurrence occurrences = 1;

Returns
Type Description
int

getOccurrencesList()

public List<Occurrence> getOccurrencesList()

The occurrences that were created.

repeated .grafeas.v1.Occurrence occurrences = 1;

Returns
Type Description
List<Occurrence>

getOccurrencesOrBuilder(int index)

public OccurrenceOrBuilder getOccurrencesOrBuilder(int index)

The occurrences that were created.

repeated .grafeas.v1.Occurrence occurrences = 1;

Parameter
Name Description
index int
Returns
Type Description
OccurrenceOrBuilder

getOccurrencesOrBuilderList()

public List<? extends OccurrenceOrBuilder> getOccurrencesOrBuilderList()

The occurrences that were created.

repeated .grafeas.v1.Occurrence occurrences = 1;

Returns
Type Description
List<? extends io.grafeas.v1.OccurrenceOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchCreateOccurrencesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateOccurrencesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchCreateOccurrencesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchCreateOccurrencesResponse.Builder
Overrides

mergeFrom(BatchCreateOccurrencesResponse other)

public BatchCreateOccurrencesResponse.Builder mergeFrom(BatchCreateOccurrencesResponse other)
Parameter
Name Description
other BatchCreateOccurrencesResponse
Returns
Type Description
BatchCreateOccurrencesResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchCreateOccurrencesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchCreateOccurrencesResponse.Builder
Overrides

removeOccurrences(int index)

public BatchCreateOccurrencesResponse.Builder removeOccurrences(int index)

The occurrences that were created.

repeated .grafeas.v1.Occurrence occurrences = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchCreateOccurrencesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchCreateOccurrencesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchCreateOccurrencesResponse.Builder
Overrides

setOccurrences(int index, Occurrence value)

public BatchCreateOccurrencesResponse.Builder setOccurrences(int index, Occurrence value)

The occurrences that were created.

repeated .grafeas.v1.Occurrence occurrences = 1;

Parameters
Name Description
index int
value Occurrence
Returns
Type Description
BatchCreateOccurrencesResponse.Builder

setOccurrences(int index, Occurrence.Builder builderForValue)

public BatchCreateOccurrencesResponse.Builder setOccurrences(int index, Occurrence.Builder builderForValue)

The occurrences that were created.

repeated .grafeas.v1.Occurrence occurrences = 1;

Parameters
Name Description
index int
builderForValue Occurrence.Builder
Returns
Type Description
BatchCreateOccurrencesResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchCreateOccurrencesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchCreateOccurrencesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchCreateOccurrencesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchCreateOccurrencesResponse.Builder
Overrides