Skip to content

Commit

Permalink
chore: remove unused proto imports (#975)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 468735472

Source-Link: googleapis/googleapis@cfa1b37

Source-Link: https://github.com/googleapis/googleapis-gen/commit/09b7666656510f5b00b893f003a0ba5766f9e250
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDliNzY2NjY1NjUxMGY1YjAwYjg5M2YwMDNhMGJhNTc2NmY5ZTI1MCJ9
  • Loading branch information
gcf-owl-bot[bot] authored Aug 30, 2022
1 parent cfeb6d2 commit 4bb9192
Show file tree
Hide file tree
Showing 26 changed files with 616 additions and 670 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,63 +74,61 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
java.lang.String[] descriptorData = {
"\n3google/cloud/vision/v1p1beta1/text_ann"
+ "otation.proto\022\035google.cloud.vision.v1p1b"
+ "eta1\032\034google/api/annotations.proto\032,goog"
+ "le/cloud/vision/v1p1beta1/geometry.proto"
+ "\"\262\004\n\016TextAnnotation\0222\n\005pages\030\001 \003(\0132#.goo"
+ "gle.cloud.vision.v1p1beta1.Page\022\014\n\004text\030"
+ "\002 \001(\t\032=\n\020DetectedLanguage\022\025\n\rlanguage_co"
+ "de\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\032\334\001\n\rDetecte"
+ "dBreak\022S\n\004type\030\001 \001(\0162E.google.cloud.visi"
+ "on.v1p1beta1.TextAnnotation.DetectedBrea"
+ "k.BreakType\022\021\n\tis_prefix\030\002 \001(\010\"c\n\tBreakT"
+ "ype\022\013\n\007UNKNOWN\020\000\022\t\n\005SPACE\020\001\022\016\n\nSURE_SPAC"
+ "E\020\002\022\022\n\016EOL_SURE_SPACE\020\003\022\n\n\006HYPHEN\020\004\022\016\n\nL"
+ "INE_BREAK\020\005\032\277\001\n\014TextProperty\022Z\n\022detected"
+ "_languages\030\001 \003(\0132>.google.cloud.vision.v"
+ "1p1beta1.TextAnnotation.DetectedLanguage"
+ "\022S\n\016detected_break\030\002 \001(\0132;.google.cloud."
+ "vision.v1p1beta1.TextAnnotation.Detected"
+ "Break\"\275\001\n\004Page\022L\n\010property\030\001 \001(\0132:.googl"
+ "e.cloud.vision.v1p1beta1.TextAnnotation."
+ "TextProperty\022\r\n\005width\030\002 \001(\005\022\016\n\006height\030\003 "
+ "\001(\005\0224\n\006blocks\030\004 \003(\0132$.google.cloud.visio"
+ "n.v1p1beta1.Block\022\022\n\nconfidence\030\005 \001(\002\"\202\003"
+ "\n\005Block\022L\n\010property\030\001 \001(\0132:.google.cloud"
+ ".vision.v1p1beta1.TextAnnotation.TextPro"
+ "perty\022A\n\014bounding_box\030\002 \001(\0132+.google.clo"
+ "ud.vision.v1p1beta1.BoundingPoly\022<\n\npara"
+ "graphs\030\003 \003(\0132(.google.cloud.vision.v1p1b"
+ "eta1.Paragraph\022B\n\nblock_type\030\004 \001(\0162..goo"
+ "gle.cloud.vision.v1p1beta1.Block.BlockTy"
+ "pe\022\022\n\nconfidence\030\005 \001(\002\"R\n\tBlockType\022\013\n\007U"
+ "NKNOWN\020\000\022\010\n\004TEXT\020\001\022\t\n\005TABLE\020\002\022\013\n\007PICTURE"
+ "\020\003\022\t\n\005RULER\020\004\022\013\n\007BARCODE\020\005\"\344\001\n\tParagraph"
+ "\022L\n\010property\030\001 \001(\0132:.google.cloud.vision"
+ ".v1p1beta1.TextAnnotation.TextProperty\022A"
+ "\n\014bounding_box\030\002 \001(\0132+.google.cloud.visi"
+ "on.v1p1beta1.BoundingPoly\0222\n\005words\030\003 \003(\013"
+ "2#.google.cloud.vision.v1p1beta1.Word\022\022\n"
+ "\nconfidence\030\004 \001(\002\"\343\001\n\004Word\022L\n\010property\030\001"
+ " \001(\0132:.google.cloud.vision.v1p1beta1.Tex"
+ "tAnnotation.TextProperty\022A\n\014bounding_box"
+ "\030\002 \001(\0132+.google.cloud.vision.v1p1beta1.B"
+ "oundingPoly\0226\n\007symbols\030\003 \003(\0132%.google.cl"
+ "oud.vision.v1p1beta1.Symbol\022\022\n\nconfidenc"
+ "e\030\004 \001(\002\"\273\001\n\006Symbol\022L\n\010property\030\001 \001(\0132:.g"
+ "oogle.cloud.vision.v1p1beta1.TextAnnotat"
+ "ion.TextProperty\022A\n\014bounding_box\030\002 \001(\0132+"
+ ".google.cloud.vision.v1p1beta1.BoundingP"
+ "oly\022\014\n\004text\030\003 \001(\t\022\022\n\nconfidence\030\004 \001(\002B\202\001"
+ "\n!com.google.cloud.vision.v1p1beta1B\023Tex"
+ "tAnnotationProtoP\001ZCgoogle.golang.org/ge"
+ "nproto/googleapis/cloud/vision/v1p1beta1"
+ ";vision\370\001\001b\006proto3"
+ "eta1\032,google/cloud/vision/v1p1beta1/geom"
+ "etry.proto\"\262\004\n\016TextAnnotation\0222\n\005pages\030\001"
+ " \003(\0132#.google.cloud.vision.v1p1beta1.Pag"
+ "e\022\014\n\004text\030\002 \001(\t\032=\n\020DetectedLanguage\022\025\n\rl"
+ "anguage_code\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\032\334"
+ "\001\n\rDetectedBreak\022S\n\004type\030\001 \001(\0162E.google."
+ "cloud.vision.v1p1beta1.TextAnnotation.De"
+ "tectedBreak.BreakType\022\021\n\tis_prefix\030\002 \001(\010"
+ "\"c\n\tBreakType\022\013\n\007UNKNOWN\020\000\022\t\n\005SPACE\020\001\022\016\n"
+ "\nSURE_SPACE\020\002\022\022\n\016EOL_SURE_SPACE\020\003\022\n\n\006HYP"
+ "HEN\020\004\022\016\n\nLINE_BREAK\020\005\032\277\001\n\014TextProperty\022Z"
+ "\n\022detected_languages\030\001 \003(\0132>.google.clou"
+ "d.vision.v1p1beta1.TextAnnotation.Detect"
+ "edLanguage\022S\n\016detected_break\030\002 \001(\0132;.goo"
+ "gle.cloud.vision.v1p1beta1.TextAnnotatio"
+ "n.DetectedBreak\"\275\001\n\004Page\022L\n\010property\030\001 \001"
+ "(\0132:.google.cloud.vision.v1p1beta1.TextA"
+ "nnotation.TextProperty\022\r\n\005width\030\002 \001(\005\022\016\n"
+ "\006height\030\003 \001(\005\0224\n\006blocks\030\004 \003(\0132$.google.c"
+ "loud.vision.v1p1beta1.Block\022\022\n\nconfidenc"
+ "e\030\005 \001(\002\"\202\003\n\005Block\022L\n\010property\030\001 \001(\0132:.go"
+ "ogle.cloud.vision.v1p1beta1.TextAnnotati"
+ "on.TextProperty\022A\n\014bounding_box\030\002 \001(\0132+."
+ "google.cloud.vision.v1p1beta1.BoundingPo"
+ "ly\022<\n\nparagraphs\030\003 \003(\0132(.google.cloud.vi"
+ "sion.v1p1beta1.Paragraph\022B\n\nblock_type\030\004"
+ " \001(\0162..google.cloud.vision.v1p1beta1.Blo"
+ "ck.BlockType\022\022\n\nconfidence\030\005 \001(\002\"R\n\tBloc"
+ "kType\022\013\n\007UNKNOWN\020\000\022\010\n\004TEXT\020\001\022\t\n\005TABLE\020\002\022"
+ "\013\n\007PICTURE\020\003\022\t\n\005RULER\020\004\022\013\n\007BARCODE\020\005\"\344\001\n"
+ "\tParagraph\022L\n\010property\030\001 \001(\0132:.google.cl"
+ "oud.vision.v1p1beta1.TextAnnotation.Text"
+ "Property\022A\n\014bounding_box\030\002 \001(\0132+.google."
+ "cloud.vision.v1p1beta1.BoundingPoly\0222\n\005w"
+ "ords\030\003 \003(\0132#.google.cloud.vision.v1p1bet"
+ "a1.Word\022\022\n\nconfidence\030\004 \001(\002\"\343\001\n\004Word\022L\n\010"
+ "property\030\001 \001(\0132:.google.cloud.vision.v1p"
+ "1beta1.TextAnnotation.TextProperty\022A\n\014bo"
+ "unding_box\030\002 \001(\0132+.google.cloud.vision.v"
+ "1p1beta1.BoundingPoly\0226\n\007symbols\030\003 \003(\0132%"
+ ".google.cloud.vision.v1p1beta1.Symbol\022\022\n"
+ "\nconfidence\030\004 \001(\002\"\273\001\n\006Symbol\022L\n\010property"
+ "\030\001 \001(\0132:.google.cloud.vision.v1p1beta1.T"
+ "extAnnotation.TextProperty\022A\n\014bounding_b"
+ "ox\030\002 \001(\0132+.google.cloud.vision.v1p1beta1"
+ ".BoundingPoly\022\014\n\004text\030\003 \001(\t\022\022\n\nconfidenc"
+ "e\030\004 \001(\002B\202\001\n!com.google.cloud.vision.v1p1"
+ "beta1B\023TextAnnotationProtoP\001ZCgoogle.gol"
+ "ang.org/genproto/googleapis/cloud/vision"
+ "/v1p1beta1;vision\370\001\001b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.AnnotationsProto.getDescriptor(),
com.google.cloud.vision.v1p1beta1.GeometryProto.getDescriptor(),
});
internal_static_google_cloud_vision_v1p1beta1_TextAnnotation_descriptor =
Expand Down Expand Up @@ -211,7 +209,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Property", "BoundingBox", "Text", "Confidence",
});
com.google.api.AnnotationsProto.getDescriptor();
com.google.cloud.vision.v1p1beta1.GeometryProto.getDescriptor();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,41 +58,37 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
java.lang.String[] descriptorData = {
"\n1google/cloud/vision/v1p1beta1/web_dete"
+ "ction.proto\022\035google.cloud.vision.v1p1bet"
+ "a1\032\034google/api/annotations.proto\"\214\007\n\014Web"
+ "Detection\022K\n\014web_entities\030\001 \003(\01325.google"
+ ".cloud.vision.v1p1beta1.WebDetection.Web"
+ "Entity\022R\n\024full_matching_images\030\002 \003(\01324.g"
+ "oogle.cloud.vision.v1p1beta1.WebDetectio"
+ "n.WebImage\022U\n\027partial_matching_images\030\003 "
+ "\003(\01324.google.cloud.vision.v1p1beta1.WebD"
+ "etection.WebImage\022W\n\032pages_with_matching"
+ "_images\030\004 \003(\01323.google.cloud.vision.v1p1"
+ "beta1.WebDetection.WebPage\022U\n\027visually_s"
+ "imilar_images\030\006 \003(\01324.google.cloud.visio"
+ "n.v1p1beta1.WebDetection.WebImage\022O\n\021bes"
+ "t_guess_labels\030\010 \003(\01324.google.cloud.visi"
+ "on.v1p1beta1.WebDetection.WebLabel\032B\n\tWe"
+ "bEntity\022\021\n\tentity_id\030\001 \001(\t\022\r\n\005score\030\002 \001("
+ "\002\022\023\n\013description\030\003 \001(\t\032&\n\010WebImage\022\013\n\003ur"
+ "l\030\001 \001(\t\022\r\n\005score\030\002 \001(\002\032\344\001\n\007WebPage\022\013\n\003ur"
+ "l\030\001 \001(\t\022\r\n\005score\030\002 \001(\002\022\022\n\npage_title\030\003 \001"
+ "(\t\022R\n\024full_matching_images\030\004 \003(\01324.googl"
+ "e.cloud.vision.v1p1beta1.WebDetection.We"
+ "bImage\022U\n\027partial_matching_images\030\005 \003(\0132"
+ "4.google.cloud.vision.v1p1beta1.WebDetec"
+ "tion.WebImage\0320\n\010WebLabel\022\r\n\005label\030\001 \001(\t"
+ "\022\025\n\rlanguage_code\030\002 \001(\tB\200\001\n!com.google.c"
+ "loud.vision.v1p1beta1B\021WebDetectionProto"
+ "P\001ZCgoogle.golang.org/genproto/googleapi"
+ "s/cloud/vision/v1p1beta1;vision\370\001\001b\006prot"
+ "o3"
+ "a1\"\214\007\n\014WebDetection\022K\n\014web_entities\030\001 \003("
+ "\01325.google.cloud.vision.v1p1beta1.WebDet"
+ "ection.WebEntity\022R\n\024full_matching_images"
+ "\030\002 \003(\01324.google.cloud.vision.v1p1beta1.W"
+ "ebDetection.WebImage\022U\n\027partial_matching"
+ "_images\030\003 \003(\01324.google.cloud.vision.v1p1"
+ "beta1.WebDetection.WebImage\022W\n\032pages_wit"
+ "h_matching_images\030\004 \003(\01323.google.cloud.v"
+ "ision.v1p1beta1.WebDetection.WebPage\022U\n\027"
+ "visually_similar_images\030\006 \003(\01324.google.c"
+ "loud.vision.v1p1beta1.WebDetection.WebIm"
+ "age\022O\n\021best_guess_labels\030\010 \003(\01324.google."
+ "cloud.vision.v1p1beta1.WebDetection.WebL"
+ "abel\032B\n\tWebEntity\022\021\n\tentity_id\030\001 \001(\t\022\r\n\005"
+ "score\030\002 \001(\002\022\023\n\013description\030\003 \001(\t\032&\n\010WebI"
+ "mage\022\013\n\003url\030\001 \001(\t\022\r\n\005score\030\002 \001(\002\032\344\001\n\007Web"
+ "Page\022\013\n\003url\030\001 \001(\t\022\r\n\005score\030\002 \001(\002\022\022\n\npage"
+ "_title\030\003 \001(\t\022R\n\024full_matching_images\030\004 \003"
+ "(\01324.google.cloud.vision.v1p1beta1.WebDe"
+ "tection.WebImage\022U\n\027partial_matching_ima"
+ "ges\030\005 \003(\01324.google.cloud.vision.v1p1beta"
+ "1.WebDetection.WebImage\0320\n\010WebLabel\022\r\n\005l"
+ "abel\030\001 \001(\t\022\025\n\rlanguage_code\030\002 \001(\tB\200\001\n!co"
+ "m.google.cloud.vision.v1p1beta1B\021WebDete"
+ "ctionProtoP\001ZCgoogle.golang.org/genproto"
+ "/googleapis/cloud/vision/v1p1beta1;visio"
+ "n\370\001\001b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.AnnotationsProto.getDescriptor(),
});
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_google_cloud_vision_v1p1beta1_WebDetection_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_cloud_vision_v1p1beta1_WebDetection_fieldAccessorTable =
Expand Down Expand Up @@ -146,7 +142,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Label", "LanguageCode",
});
com.google.api.AnnotationsProto.getDescriptor();
}

// @@protoc_insertion_point(outer_class_scope)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.vision.v1p1beta1;

import "google/api/annotations.proto";
import "google/cloud/vision/v1p1beta1/geometry.proto";

option cc_enable_arenas = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package google.cloud.vision.v1p1beta1;

import "google/api/annotations.proto";

option cc_enable_arenas = true;
option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1;vision";
Expand Down
Loading

0 comments on commit 4bb9192

Please sign in to comment.