/
VisionResult.java
88 lines (61 loc) · 1.41 KB
/
VisionResult.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
package ch.rasc.googlevision.dto;
import java.util.List;
import java.util.Set;
public class VisionResult {
private String error;
private List<Label> labels;
private SafeSearch safeSearch;
private List<Logo> logos;
private List<Landmark> landmarks;
private Set<Text> texts;
private List<Face> faces;
private Web web;
public List<Label> getLabels() {
return this.labels;
}
public void setLabels(List<Label> labels) {
this.labels = labels;
}
public SafeSearch getSafeSearch() {
return this.safeSearch;
}
public void setSafeSearch(SafeSearch safeSearch) {
this.safeSearch = safeSearch;
}
public List<Logo> getLogos() {
return this.logos;
}
public void setLogos(List<Logo> logos) {
this.logos = logos;
}
public List<Landmark> getLandmarks() {
return this.landmarks;
}
public void setLandmarks(List<Landmark> landmarks) {
this.landmarks = landmarks;
}
public Set<Text> getTexts() {
return this.texts;
}
public void setTexts(Set<Text> texts) {
this.texts = texts;
}
public List<Face> getFaces() {
return this.faces;
}
public void setFaces(List<Face> faces) {
this.faces = faces;
}
public Web getWeb() {
return this.web;
}
public void setWeb(Web web) {
this.web = web;
}
public String getError() {
return this.error;
}
public void setError(String error) {
this.error = error;
}
}