public static final class DetectionRecord.Builder extends GeneratedMessage.Builder<DetectionRecord.Builder> implements DetectionRecordOrBuilderDetectionRecord stores information about a detection.
Protobuf type google.cloud.chronicle.v1.DetectionRecord
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DetectionRecord.BuilderImplements
DetectionRecordOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DetectionRecord build()| Returns | |
|---|---|
| Type | Description |
DetectionRecord |
|
buildPartial()
public DetectionRecord buildPartial()| Returns | |
|---|---|
| Type | Description |
DetectionRecord |
|
clear()
public DetectionRecord.Builder clear()| Returns | |
|---|---|
| Type | Description |
DetectionRecord.Builder |
|
clearCollection()
public DetectionRecord.Builder clearCollection()The detection.
.google.backstory.Collection collection = 2;
| Returns | |
|---|---|
| Type | Description |
DetectionRecord.Builder |
|
clearId()
public DetectionRecord.Builder clearId()The ID of the detection.
bytes id = 1;
| Returns | |
|---|---|
| Type | Description |
DetectionRecord.Builder |
This builder for chaining. |
getCollection()
public Collection getCollection()The detection.
.google.backstory.Collection collection = 2;
| Returns | |
|---|---|
| Type | Description |
Collection |
The collection. |
getCollectionBuilder()
public Collection.Builder getCollectionBuilder()The detection.
.google.backstory.Collection collection = 2;
| Returns | |
|---|---|
| Type | Description |
Collection.Builder |
|
getCollectionOrBuilder()
public CollectionOrBuilder getCollectionOrBuilder()The detection.
.google.backstory.Collection collection = 2;
| Returns | |
|---|---|
| Type | Description |
CollectionOrBuilder |
|
getDefaultInstanceForType()
public DetectionRecord getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DetectionRecord |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getId()
public ByteString getId()The ID of the detection.
bytes id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The id. |
hasCollection()
public boolean hasCollection()The detection.
.google.backstory.Collection collection = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the collection field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCollection(Collection value)
public DetectionRecord.Builder mergeCollection(Collection value)The detection.
.google.backstory.Collection collection = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Collection |
| Returns | |
|---|---|
| Type | Description |
DetectionRecord.Builder |
|
mergeFrom(DetectionRecord other)
public DetectionRecord.Builder mergeFrom(DetectionRecord other)| Parameter | |
|---|---|
| Name | Description |
other |
DetectionRecord |
| Returns | |
|---|---|
| Type | Description |
DetectionRecord.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DetectionRecord.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DetectionRecord.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DetectionRecord.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DetectionRecord.Builder |
|
setCollection(Collection value)
public DetectionRecord.Builder setCollection(Collection value)The detection.
.google.backstory.Collection collection = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Collection |
| Returns | |
|---|---|
| Type | Description |
DetectionRecord.Builder |
|
setCollection(Collection.Builder builderForValue)
public DetectionRecord.Builder setCollection(Collection.Builder builderForValue)The detection.
.google.backstory.Collection collection = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Collection.Builder |
| Returns | |
|---|---|
| Type | Description |
DetectionRecord.Builder |
|
setId(ByteString value)
public DetectionRecord.Builder setId(ByteString value)The ID of the detection.
bytes id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
DetectionRecord.Builder |
This builder for chaining. |