Class RemoveCollectionItemResponse.Builder (0.12.0)

public static final class RemoveCollectionItemResponse.Builder extends GeneratedMessageV3.Builder<RemoveCollectionItemResponse.Builder> implements RemoveCollectionItemResponseOrBuilder

Request message for RemoveCollectionItem.

Protobuf type google.cloud.visionai.v1.RemoveCollectionItemResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RemoveCollectionItemResponse build()
Returns
Type Description
RemoveCollectionItemResponse

buildPartial()

public RemoveCollectionItemResponse buildPartial()
Returns
Type Description
RemoveCollectionItemResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearItem()

public RemoveCollectionItemResponse.Builder clearItem()

The item that has already been removed.

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

Returns
Type Description
RemoveCollectionItemResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RemoveCollectionItemResponse getDefaultInstanceForType()
Returns
Type Description
RemoveCollectionItemResponse

getDescriptorForType()

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

getItem()

public CollectionItem getItem()

The item that has already been removed.

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

Returns
Type Description
CollectionItem

The item.

getItemBuilder()

public CollectionItem.Builder getItemBuilder()

The item that has already been removed.

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

Returns
Type Description
CollectionItem.Builder

getItemOrBuilder()

public CollectionItemOrBuilder getItemOrBuilder()

The item that has already been removed.

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

Returns
Type Description
CollectionItemOrBuilder

hasItem()

public boolean hasItem()

The item that has already been removed.

.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(RemoveCollectionItemResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeItem(CollectionItem value)

public RemoveCollectionItemResponse.Builder mergeItem(CollectionItem value)

The item that has already been removed.

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

Parameter
Name Description
value CollectionItem
Returns
Type Description
RemoveCollectionItemResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setItem(CollectionItem value)

public RemoveCollectionItemResponse.Builder setItem(CollectionItem value)

The item that has already been removed.

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

Parameter
Name Description
value CollectionItem
Returns
Type Description
RemoveCollectionItemResponse.Builder

setItem(CollectionItem.Builder builderForValue)

public RemoveCollectionItemResponse.Builder setItem(CollectionItem.Builder builderForValue)

The item that has already been removed.

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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