Class AddCollectionItemResponse.Builder (0.1.0)

public static final class AddCollectionItemResponse.Builder extends GeneratedMessageV3.Builder<AddCollectionItemResponse.Builder> implements AddCollectionItemResponseOrBuilder

Response message for AddCollectionItem.

Protobuf type google.cloud.visionai.v1.AddCollectionItemResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AddCollectionItemResponse build()
Returns
Type Description
AddCollectionItemResponse

buildPartial()

public AddCollectionItemResponse buildPartial()
Returns
Type Description
AddCollectionItemResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearItem()

public AddCollectionItemResponse.Builder clearItem()

The item that has already been added.

.google.cloud.visionai.v1.CollectionItem item = 1;

Returns
Type Description
AddCollectionItemResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AddCollectionItemResponse getDefaultInstanceForType()
Returns
Type Description
AddCollectionItemResponse

getDescriptorForType()

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

getItem()

public CollectionItem getItem()

The item that has already been added.

.google.cloud.visionai.v1.CollectionItem item = 1;

Returns
Type Description
CollectionItem

The item.

getItemBuilder()

public CollectionItem.Builder getItemBuilder()

The item that has already been added.

.google.cloud.visionai.v1.CollectionItem item = 1;

Returns
Type Description
CollectionItem.Builder

getItemOrBuilder()

public CollectionItemOrBuilder getItemOrBuilder()

The item that has already been added.

.google.cloud.visionai.v1.CollectionItem item = 1;

Returns
Type Description
CollectionItemOrBuilder

hasItem()

public boolean hasItem()

The item that has already been added.

.google.cloud.visionai.v1.CollectionItem item = 1;

Returns
Type Description
boolean

Whether the item field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AddCollectionItemResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeItem(CollectionItem value)

public AddCollectionItemResponse.Builder mergeItem(CollectionItem value)

The item that has already been added.

.google.cloud.visionai.v1.CollectionItem item = 1;

Parameter
Name Description
value CollectionItem
Returns
Type Description
AddCollectionItemResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setItem(CollectionItem value)

public AddCollectionItemResponse.Builder setItem(CollectionItem value)

The item that has already been added.

.google.cloud.visionai.v1.CollectionItem item = 1;

Parameter
Name Description
value CollectionItem
Returns
Type Description
AddCollectionItemResponse.Builder

setItem(CollectionItem.Builder builderForValue)

public AddCollectionItemResponse.Builder setItem(CollectionItem.Builder builderForValue)

The item that has already been added.

.google.cloud.visionai.v1.CollectionItem item = 1;

Parameter
Name Description
builderForValue CollectionItem.Builder
Returns
Type Description
AddCollectionItemResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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