Skip to content

Commit

Permalink
Regenerate vision client (#2868)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and chingor13 committed Oct 8, 2019
1 parent 5353045 commit ee72977
Show file tree
Hide file tree
Showing 18 changed files with 10,976 additions and 12,320 deletions.
2 changes: 1 addition & 1 deletion clients/google-api-services-vision/v1.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"maven": {
"groupId": "com.google.apis",
"artifactId": "google-api-services-vision",
"version": "v1-rev20190913-1.30.3"
"version": "v1-rev20190927-1.30.3"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,6 @@ public final class GoogleCloudVisionV1p4beta1AnnotateImageResponse extends com.g
@com.google.api.client.util.Key
private GoogleCloudVisionV1p4beta1ImageProperties imagePropertiesAnnotation;

/**
* If present, image quality calculation has completed successfully.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudVisionV1p4beta1ImageQuality imageQualityAnnotation;

/**
* If present, label detection has completed successfully.
* The value may be {@code null}.
Expand Down Expand Up @@ -116,13 +109,6 @@ public final class GoogleCloudVisionV1p4beta1AnnotateImageResponse extends com.g
@com.google.api.client.util.Key
private GoogleCloudVisionV1p4beta1ProductSearchResults productSearchResults;

/**
* If present, image quality optimization has completed successfully.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudVisionV1p4beta1QualityOptimizationResult qualityOptimizationResult;

/**
* If present, safe-search annotation has completed successfully.
* The value may be {@code null}.
Expand Down Expand Up @@ -250,23 +236,6 @@ public GoogleCloudVisionV1p4beta1AnnotateImageResponse setImagePropertiesAnnotat
return this;
}

/**
* If present, image quality calculation has completed successfully.
* @return value or {@code null} for none
*/
public GoogleCloudVisionV1p4beta1ImageQuality getImageQualityAnnotation() {
return imageQualityAnnotation;
}

/**
* If present, image quality calculation has completed successfully.
* @param imageQualityAnnotation imageQualityAnnotation or {@code null} for none
*/
public GoogleCloudVisionV1p4beta1AnnotateImageResponse setImageQualityAnnotation(GoogleCloudVisionV1p4beta1ImageQuality imageQualityAnnotation) {
this.imageQualityAnnotation = imageQualityAnnotation;
return this;
}

/**
* If present, label detection has completed successfully.
* @return value or {@code null} for none
Expand Down Expand Up @@ -354,23 +323,6 @@ public GoogleCloudVisionV1p4beta1AnnotateImageResponse setProductSearchResults(G
return this;
}

/**
* If present, image quality optimization has completed successfully.
* @return value or {@code null} for none
*/
public GoogleCloudVisionV1p4beta1QualityOptimizationResult getQualityOptimizationResult() {
return qualityOptimizationResult;
}

/**
* If present, image quality optimization has completed successfully.
* @param qualityOptimizationResult qualityOptimizationResult or {@code null} for none
*/
public GoogleCloudVisionV1p4beta1AnnotateImageResponse setQualityOptimizationResult(GoogleCloudVisionV1p4beta1QualityOptimizationResult qualityOptimizationResult) {
this.qualityOptimizationResult = qualityOptimizationResult;
return this;
}

/**
* If present, safe-search annotation has completed successfully.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,34 +38,13 @@ public final class GoogleCloudVisionV1p4beta1SafeSearchAnnotation extends com.go
@com.google.api.client.util.Key
private java.lang.String adult;

/**
* Confidence of adult_score. Range [0, 1]. 0 means not confident, 1 means very confident.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Float adultConfidence;

/**
* Likelihood that this is a medical image.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String medical;

/**
* Confidence of medical_score. Range [0, 1]. 0 means not confident, 1 means very confident.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Float medicalConfidence;

/**
* Confidence of nsfw_score. Range [0, 1]. 0 means not confident, 1 means very confident.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Float nsfwConfidence;

/**
* Likelihood that the request image contains racy content. Racy content may include (but is not
* limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses,
Expand All @@ -75,13 +54,6 @@ public final class GoogleCloudVisionV1p4beta1SafeSearchAnnotation extends com.go
@com.google.api.client.util.Key
private java.lang.String racy;

/**
* Confidence of racy_score. Range [0, 1]. 0 means not confident, 1 means very confident.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Float racyConfidence;

/**
* Spoof likelihood. The likelihood that an modification was made to the image's canonical version
* to make it appear funny or offensive.
Expand All @@ -90,27 +62,13 @@ public final class GoogleCloudVisionV1p4beta1SafeSearchAnnotation extends com.go
@com.google.api.client.util.Key
private java.lang.String spoof;

/**
* Confidence of spoof_score. Range [0, 1]. 0 means not confident, 1 means very confident.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Float spoofConfidence;

/**
* Likelihood that this image contains violent content.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String violence;

/**
* Confidence of violence_score. Range [0, 1]. 0 means not confident, 1 means very confident.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Float violenceConfidence;

/**
* Represents the adult content likelihood for the image. Adult content may contain elements such
* as nudity, pornographic images or cartoons, or sexual activities.
Expand All @@ -130,23 +88,6 @@ public GoogleCloudVisionV1p4beta1SafeSearchAnnotation setAdult(java.lang.String
return this;
}

/**
* Confidence of adult_score. Range [0, 1]. 0 means not confident, 1 means very confident.
* @return value or {@code null} for none
*/
public java.lang.Float getAdultConfidence() {
return adultConfidence;
}

/**
* Confidence of adult_score. Range [0, 1]. 0 means not confident, 1 means very confident.
* @param adultConfidence adultConfidence or {@code null} for none
*/
public GoogleCloudVisionV1p4beta1SafeSearchAnnotation setAdultConfidence(java.lang.Float adultConfidence) {
this.adultConfidence = adultConfidence;
return this;
}

/**
* Likelihood that this is a medical image.
* @return value or {@code null} for none
Expand All @@ -164,40 +105,6 @@ public GoogleCloudVisionV1p4beta1SafeSearchAnnotation setMedical(java.lang.Strin
return this;
}

/**
* Confidence of medical_score. Range [0, 1]. 0 means not confident, 1 means very confident.
* @return value or {@code null} for none
*/
public java.lang.Float getMedicalConfidence() {
return medicalConfidence;
}

/**
* Confidence of medical_score. Range [0, 1]. 0 means not confident, 1 means very confident.
* @param medicalConfidence medicalConfidence or {@code null} for none
*/
public GoogleCloudVisionV1p4beta1SafeSearchAnnotation setMedicalConfidence(java.lang.Float medicalConfidence) {
this.medicalConfidence = medicalConfidence;
return this;
}

/**
* Confidence of nsfw_score. Range [0, 1]. 0 means not confident, 1 means very confident.
* @return value or {@code null} for none
*/
public java.lang.Float getNsfwConfidence() {
return nsfwConfidence;
}

/**
* Confidence of nsfw_score. Range [0, 1]. 0 means not confident, 1 means very confident.
* @param nsfwConfidence nsfwConfidence or {@code null} for none
*/
public GoogleCloudVisionV1p4beta1SafeSearchAnnotation setNsfwConfidence(java.lang.Float nsfwConfidence) {
this.nsfwConfidence = nsfwConfidence;
return this;
}

/**
* Likelihood that the request image contains racy content. Racy content may include (but is not
* limited to) skimpy or sheer clothing, strategically covered nudity, lewd or provocative poses,
Expand All @@ -219,23 +126,6 @@ public GoogleCloudVisionV1p4beta1SafeSearchAnnotation setRacy(java.lang.String r
return this;
}

/**
* Confidence of racy_score. Range [0, 1]. 0 means not confident, 1 means very confident.
* @return value or {@code null} for none
*/
public java.lang.Float getRacyConfidence() {
return racyConfidence;
}

/**
* Confidence of racy_score. Range [0, 1]. 0 means not confident, 1 means very confident.
* @param racyConfidence racyConfidence or {@code null} for none
*/
public GoogleCloudVisionV1p4beta1SafeSearchAnnotation setRacyConfidence(java.lang.Float racyConfidence) {
this.racyConfidence = racyConfidence;
return this;
}

/**
* Spoof likelihood. The likelihood that an modification was made to the image's canonical version
* to make it appear funny or offensive.
Expand All @@ -255,23 +145,6 @@ public GoogleCloudVisionV1p4beta1SafeSearchAnnotation setSpoof(java.lang.String
return this;
}

/**
* Confidence of spoof_score. Range [0, 1]. 0 means not confident, 1 means very confident.
* @return value or {@code null} for none
*/
public java.lang.Float getSpoofConfidence() {
return spoofConfidence;
}

/**
* Confidence of spoof_score. Range [0, 1]. 0 means not confident, 1 means very confident.
* @param spoofConfidence spoofConfidence or {@code null} for none
*/
public GoogleCloudVisionV1p4beta1SafeSearchAnnotation setSpoofConfidence(java.lang.Float spoofConfidence) {
this.spoofConfidence = spoofConfidence;
return this;
}

/**
* Likelihood that this image contains violent content.
* @return value or {@code null} for none
Expand All @@ -289,23 +162,6 @@ public GoogleCloudVisionV1p4beta1SafeSearchAnnotation setViolence(java.lang.Stri
return this;
}

/**
* Confidence of violence_score. Range [0, 1]. 0 means not confident, 1 means very confident.
* @return value or {@code null} for none
*/
public java.lang.Float getViolenceConfidence() {
return violenceConfidence;
}

/**
* Confidence of violence_score. Range [0, 1]. 0 means not confident, 1 means very confident.
* @param violenceConfidence violenceConfidence or {@code null} for none
*/
public GoogleCloudVisionV1p4beta1SafeSearchAnnotation setViolenceConfidence(java.lang.Float violenceConfidence) {
this.violenceConfidence = violenceConfidence;
return this;
}

@Override
public GoogleCloudVisionV1p4beta1SafeSearchAnnotation set(String fieldName, Object value) {
return (GoogleCloudVisionV1p4beta1SafeSearchAnnotation) super.set(fieldName, value);
Expand Down
Loading

0 comments on commit ee72977

Please sign in to comment.