public static final class RemoveCollectionItemRequest.Builder extends GeneratedMessageV3.Builder<RemoveCollectionItemRequest.Builder> implements RemoveCollectionItemRequestOrBuilder
Request message for RemoveCollectionItem.
Protobuf type google.cloud.visionai.v1.RemoveCollectionItemRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RemoveCollectionItemRequest.BuilderImplements
RemoveCollectionItemRequestOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public RemoveCollectionItemRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
RemoveCollectionItemRequest.Builder |
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 |
clone()
public RemoveCollectionItemRequest.Builder clone()
Returns | |
---|---|
Type | Description |
RemoveCollectionItemRequest.Builder |
getDefaultInstanceForType()
public RemoveCollectionItemRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RemoveCollectionItemRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RemoveCollectionItemRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
RemoveCollectionItemRequest.Builder |
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 |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final RemoveCollectionItemRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RemoveCollectionItemRequest.Builder |