Class RemoveCollectionItemRequest.Builder (0.8.0)

public static final class RemoveCollectionItemRequest.Builder extends GeneratedMessageV3.Builder<RemoveCollectionItemRequest.Builder> implements RemoveCollectionItemRequestOrBuilder

Request message for RemoveCollectionItem.

Protobuf type google.cloud.visionai.v1.RemoveCollectionItemRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RemoveCollectionItemRequest build()
Returns
Type Description
RemoveCollectionItemRequest

buildPartial()

public RemoveCollectionItemRequest buildPartial()
Returns
Type Description
RemoveCollectionItemRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearItem()

public RemoveCollectionItemRequest.Builder clearItem()

Required. The item to be removed.

.google.cloud.visionai.v1.CollectionItem item = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RemoveCollectionItemRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RemoveCollectionItemRequest getDefaultInstanceForType()
Returns
Type Description
RemoveCollectionItemRequest

getDescriptorForType()

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

getItem()

public CollectionItem getItem()

Required. The item to be removed.

.google.cloud.visionai.v1.CollectionItem item = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CollectionItem

The item.

getItemBuilder()

public CollectionItem.Builder getItemBuilder()

Required. The item to be removed.

.google.cloud.visionai.v1.CollectionItem item = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CollectionItem.Builder

getItemOrBuilder()

public CollectionItemOrBuilder getItemOrBuilder()

Required. The item to be removed.

.google.cloud.visionai.v1.CollectionItem item = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CollectionItemOrBuilder

hasItem()

public boolean hasItem()

Required. The item to be removed.

.google.cloud.visionai.v1.CollectionItem item = 1 [(.google.api.field_behavior) = REQUIRED];

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(RemoveCollectionItemRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeItem(CollectionItem value)

public RemoveCollectionItemRequest.Builder mergeItem(CollectionItem value)

Required. The item to be removed.

.google.cloud.visionai.v1.CollectionItem item = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CollectionItem
Returns
Type Description
RemoveCollectionItemRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setItem(CollectionItem value)

public RemoveCollectionItemRequest.Builder setItem(CollectionItem value)

Required. The item to be removed.

.google.cloud.visionai.v1.CollectionItem item = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CollectionItem
Returns
Type Description
RemoveCollectionItemRequest.Builder

setItem(CollectionItem.Builder builderForValue)

public RemoveCollectionItemRequest.Builder setItem(CollectionItem.Builder builderForValue)

Required. The item to be removed.

.google.cloud.visionai.v1.CollectionItem item = 1 [(.google.api.field_behavior) = REQUIRED];

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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