Class BatchCreateOccurrencesResponse.Builder (2.7.0)

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

Response for creating occurrences in batch.

Protobuf type grafeas.v1beta1.BatchCreateOccurrencesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllOccurrences(Iterable<? extends Occurrence> values)

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

The occurrences that were created.

repeated .grafeas.v1beta1.Occurrence occurrences = 1;

Parameter
NameDescription
valuesIterable<? extends io.grafeas.v1beta1.Occurrence>
Returns
TypeDescription
BatchCreateOccurrencesResponse.Builder

addOccurrences(int index, Occurrence value)

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

The occurrences that were created.

repeated .grafeas.v1beta1.Occurrence occurrences = 1;

Parameters
NameDescription
indexint
valueOccurrence
Returns
TypeDescription
BatchCreateOccurrencesResponse.Builder

addOccurrences(int index, Occurrence.Builder builderForValue)

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

The occurrences that were created.

repeated .grafeas.v1beta1.Occurrence occurrences = 1;

Parameters
NameDescription
indexint
builderForValueOccurrence.Builder
Returns
TypeDescription
BatchCreateOccurrencesResponse.Builder

addOccurrences(Occurrence value)

public BatchCreateOccurrencesResponse.Builder addOccurrences(Occurrence value)

The occurrences that were created.

repeated .grafeas.v1beta1.Occurrence occurrences = 1;

Parameter
NameDescription
valueOccurrence
Returns
TypeDescription
BatchCreateOccurrencesResponse.Builder

addOccurrences(Occurrence.Builder builderForValue)

public BatchCreateOccurrencesResponse.Builder addOccurrences(Occurrence.Builder builderForValue)

The occurrences that were created.

repeated .grafeas.v1beta1.Occurrence occurrences = 1;

Parameter
NameDescription
builderForValueOccurrence.Builder
Returns
TypeDescription
BatchCreateOccurrencesResponse.Builder

addOccurrencesBuilder()

public Occurrence.Builder addOccurrencesBuilder()

The occurrences that were created.

repeated .grafeas.v1beta1.Occurrence occurrences = 1;

Returns
TypeDescription
Occurrence.Builder

addOccurrencesBuilder(int index)

public Occurrence.Builder addOccurrencesBuilder(int index)

The occurrences that were created.

repeated .grafeas.v1beta1.Occurrence occurrences = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Occurrence.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchCreateOccurrencesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchCreateOccurrencesResponse.Builder
Overrides

build()

public BatchCreateOccurrencesResponse build()
Returns
TypeDescription
BatchCreateOccurrencesResponse

buildPartial()

public BatchCreateOccurrencesResponse buildPartial()
Returns
TypeDescription
BatchCreateOccurrencesResponse

clear()

public BatchCreateOccurrencesResponse.Builder clear()
Returns
TypeDescription
BatchCreateOccurrencesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchCreateOccurrencesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BatchCreateOccurrencesResponse.Builder
Overrides

clearOccurrences()

public BatchCreateOccurrencesResponse.Builder clearOccurrences()

The occurrences that were created.

repeated .grafeas.v1beta1.Occurrence occurrences = 1;

Returns
TypeDescription
BatchCreateOccurrencesResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchCreateOccurrencesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BatchCreateOccurrencesResponse.Builder
Overrides

clone()

public BatchCreateOccurrencesResponse.Builder clone()
Returns
TypeDescription
BatchCreateOccurrencesResponse.Builder
Overrides

getDefaultInstanceForType()

public BatchCreateOccurrencesResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchCreateOccurrencesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOccurrences(int index)

public Occurrence getOccurrences(int index)

The occurrences that were created.

repeated .grafeas.v1beta1.Occurrence occurrences = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Occurrence

getOccurrencesBuilder(int index)

public Occurrence.Builder getOccurrencesBuilder(int index)

The occurrences that were created.

repeated .grafeas.v1beta1.Occurrence occurrences = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Occurrence.Builder

getOccurrencesBuilderList()

public List<Occurrence.Builder> getOccurrencesBuilderList()

The occurrences that were created.

repeated .grafeas.v1beta1.Occurrence occurrences = 1;

Returns
TypeDescription
List<Builder>

getOccurrencesCount()

public int getOccurrencesCount()

The occurrences that were created.

repeated .grafeas.v1beta1.Occurrence occurrences = 1;

Returns
TypeDescription
int

getOccurrencesList()

public List<Occurrence> getOccurrencesList()

The occurrences that were created.

repeated .grafeas.v1beta1.Occurrence occurrences = 1;

Returns
TypeDescription
List<Occurrence>

getOccurrencesOrBuilder(int index)

public OccurrenceOrBuilder getOccurrencesOrBuilder(int index)

The occurrences that were created.

repeated .grafeas.v1beta1.Occurrence occurrences = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OccurrenceOrBuilder

getOccurrencesOrBuilderList()

public List<? extends OccurrenceOrBuilder> getOccurrencesOrBuilderList()

The occurrences that were created.

repeated .grafeas.v1beta1.Occurrence occurrences = 1;

Returns
TypeDescription
List<? extends io.grafeas.v1beta1.OccurrenceOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchCreateOccurrencesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCreateOccurrencesResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BatchCreateOccurrencesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BatchCreateOccurrencesResponse.Builder
Overrides

mergeFrom(BatchCreateOccurrencesResponse other)

public BatchCreateOccurrencesResponse.Builder mergeFrom(BatchCreateOccurrencesResponse other)
Parameter
NameDescription
otherBatchCreateOccurrencesResponse
Returns
TypeDescription
BatchCreateOccurrencesResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchCreateOccurrencesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchCreateOccurrencesResponse.Builder
Overrides

removeOccurrences(int index)

public BatchCreateOccurrencesResponse.Builder removeOccurrences(int index)

The occurrences that were created.

repeated .grafeas.v1beta1.Occurrence occurrences = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchCreateOccurrencesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchCreateOccurrencesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchCreateOccurrencesResponse.Builder
Overrides

setOccurrences(int index, Occurrence value)

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

The occurrences that were created.

repeated .grafeas.v1beta1.Occurrence occurrences = 1;

Parameters
NameDescription
indexint
valueOccurrence
Returns
TypeDescription
BatchCreateOccurrencesResponse.Builder

setOccurrences(int index, Occurrence.Builder builderForValue)

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

The occurrences that were created.

repeated .grafeas.v1beta1.Occurrence occurrences = 1;

Parameters
NameDescription
indexint
builderForValueOccurrence.Builder
Returns
TypeDescription
BatchCreateOccurrencesResponse.Builder

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

public BatchCreateOccurrencesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchCreateOccurrencesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchCreateOccurrencesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchCreateOccurrencesResponse.Builder
Overrides