Skip to content

Commit

Permalink
chore: remove unused proto imports (#1319)
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 22, 2022
1 parent a3713fd commit d7eb569
Show file tree
Hide file tree
Showing 16 changed files with 384 additions and 433 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
* <code>.google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];</code>
*
* @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See
* google/cloud/asset/v1/assets.proto;l=167
* google/cloud/asset/v1/assets.proto;l=166
* @return Whether the relatedAssets field is set.
*/
@java.lang.Override
Expand All @@ -983,7 +983,7 @@ public boolean hasRelatedAssets() {
* <code>.google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];</code>
*
* @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See
* google/cloud/asset/v1/assets.proto;l=167
* google/cloud/asset/v1/assets.proto;l=166
* @return The relatedAssets.
*/
@java.lang.Override
Expand Down Expand Up @@ -4034,7 +4034,7 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
* <code>.google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];</code>
*
* @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See
* google/cloud/asset/v1/assets.proto;l=167
* google/cloud/asset/v1/assets.proto;l=166
* @return Whether the relatedAssets field is set.
*/
@java.lang.Deprecated
Expand All @@ -4055,7 +4055,7 @@ public boolean hasRelatedAssets() {
* <code>.google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];</code>
*
* @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See
* google/cloud/asset/v1/assets.proto;l=167
* google/cloud/asset/v1/assets.proto;l=166
* @return The relatedAssets.
*/
@java.lang.Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ public interface AssetOrBuilder
* <code>.google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];</code>
*
* @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See
* google/cloud/asset/v1/assets.proto;l=167
* google/cloud/asset/v1/assets.proto;l=166
* @return Whether the relatedAssets field is set.
*/
@java.lang.Deprecated
Expand All @@ -475,7 +475,7 @@ public interface AssetOrBuilder
* <code>.google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];</code>
*
* @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See
* google/cloud/asset/v1/assets.proto;l=167
* google/cloud/asset/v1/assets.proto;l=166
* @return The relatedAssets.
*/
@java.lang.Deprecated
Expand Down

Large diffs are not rendered by default.

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

package google.cloud.asset.v1;

import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/orgpolicy/v1/orgpolicy.proto";
import "google/cloud/osconfig/v1/inventory.proto";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,39 +62,37 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
java.lang.String[] descriptorData = {
"\n)google/cloud/asset/v1p1beta1/assets.pr"
+ "oto\022\034google.cloud.asset.v1p1beta1\032\032googl"
+ "e/iam/v1/policy.proto\032\034google/api/annota"
+ "tions.proto\"\302\002\n\030StandardResourceMetadata"
+ "\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(\t\022\017\n\007pr"
+ "oject\030\003 \001(\t\022\024\n\014display_name\030\004 \001(\t\022\023\n\013des"
+ "cription\030\005 \001(\t\022\035\n\025additional_attributes\030"
+ "\n \003(\t\022\020\n\010location\030\013 \001(\t\022R\n\006labels\030\014 \003(\0132"
+ "B.google.cloud.asset.v1p1beta1.StandardR"
+ "esourceMetadata.LabelsEntry\022\024\n\014network_t"
+ "ags\030\r \003(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n"
+ "\005value\030\002 \001(\t:\0028\001\"\243\003\n\025IamPolicySearchResu"
+ "lt\022\020\n\010resource\030\001 \001(\t\022\017\n\007project\030\003 \001(\t\022%\n"
+ "\006policy\030\004 \001(\0132\025.google.iam.v1.Policy\022T\n\013"
+ "explanation\030\005 \001(\0132?.google.cloud.asset.v"
+ "e/iam/v1/policy.proto\"\302\002\n\030StandardResour"
+ "ceMetadata\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_type\030\002"
+ " \001(\t\022\017\n\007project\030\003 \001(\t\022\024\n\014display_name\030\004 "
+ "\001(\t\022\023\n\013description\030\005 \001(\t\022\035\n\025additional_a"
+ "ttributes\030\n \003(\t\022\020\n\010location\030\013 \001(\t\022R\n\006lab"
+ "els\030\014 \003(\0132B.google.cloud.asset.v1p1beta1"
+ ".StandardResourceMetadata.LabelsEntry\022\024\n"
+ "\014network_tags\030\r \003(\t\032-\n\013LabelsEntry\022\013\n\003ke"
+ "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\243\003\n\025IamPolicy"
+ "SearchResult\022\020\n\010resource\030\001 \001(\t\022\017\n\007projec"
+ "t\030\003 \001(\t\022%\n\006policy\030\004 \001(\0132\025.google.iam.v1."
+ "Policy\022T\n\013explanation\030\005 \001(\0132?.google.clo"
+ "ud.asset.v1p1beta1.IamPolicySearchResult"
+ ".Explanation\032\351\001\n\013Explanation\022t\n\023matched_"
+ "permissions\030\001 \003(\0132W.google.cloud.asset.v"
+ "1p1beta1.IamPolicySearchResult.Explanati"
+ "on\032\351\001\n\013Explanation\022t\n\023matched_permission"
+ "s\030\001 \003(\0132W.google.cloud.asset.v1p1beta1.I"
+ "amPolicySearchResult.Explanation.Matched"
+ "PermissionsEntry\032d\n\027MatchedPermissionsEn"
+ "try\022\013\n\003key\030\001 \001(\t\0228\n\005value\030\002 \001(\0132).google"
+ ".cloud.asset.v1p1beta1.Permissions:\0028\001\"\""
+ "\n\013Permissions\022\023\n\013permissions\030\001 \003(\tB\264\001\n c"
+ "om.google.cloud.asset.v1p1beta1B\nAssetPr"
+ "otoP\001ZAgoogle.golang.org/genproto/google"
+ "apis/cloud/asset/v1p1beta1;asset\370\001\001\252\002\034Go"
+ "ogle.Cloud.Asset.V1P1Beta1\312\002\034Google\\Clou"
+ "d\\Asset\\V1p1beta1b\006proto3"
+ "on.MatchedPermissionsEntry\032d\n\027MatchedPer"
+ "missionsEntry\022\013\n\003key\030\001 \001(\t\0228\n\005value\030\002 \001("
+ "\0132).google.cloud.asset.v1p1beta1.Permiss"
+ "ions:\0028\001\"\"\n\013Permissions\022\023\n\013permissions\030\001"
+ " \003(\tB\264\001\n com.google.cloud.asset.v1p1beta"
+ "1B\nAssetProtoP\001ZAgoogle.golang.org/genpr"
+ "oto/googleapis/cloud/asset/v1p1beta1;ass"
+ "et\370\001\001\252\002\034Google.Cloud.Asset.V1P1Beta1\312\002\034G"
+ "oogle\\Cloud\\Asset\\V1p1beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.iam.v1.PolicyProto.getDescriptor(),
com.google.api.AnnotationsProto.getDescriptor(),
});
internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_descriptor =
getDescriptor().getMessageTypes().get(0);
Expand Down Expand Up @@ -159,7 +157,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Permissions",
});
com.google.iam.v1.PolicyProto.getDescriptor();
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 @@ -17,7 +17,6 @@ syntax = "proto3";
package google.cloud.asset.v1p1beta1;

import "google/iam/v1/policy.proto";
import "google/api/annotations.proto";

option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.Asset.V1P1Beta1";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,38 +53,35 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
static {
java.lang.String[] descriptorData = {
"\n)google/cloud/asset/v1p2beta1/assets.pr"
+ "oto\022\034google.cloud.asset.v1p2beta1\032\034googl"
+ "e/api/annotations.proto\032\032google/iam/v1/p"
+ "olicy.proto\032\031google/protobuf/any.proto\032\034"
+ "google/protobuf/struct.proto\032\037google/pro"
+ "tobuf/timestamp.proto\"\216\001\n\rTemporalAsset\022"
+ "8\n\006window\030\001 \001(\0132(.google.cloud.asset.v1p"
+ "2beta1.TimeWindow\022\017\n\007deleted\030\002 \001(\010\0222\n\005as"
+ "set\030\003 \001(\0132#.google.cloud.asset.v1p2beta1"
+ ".Asset\"j\n\nTimeWindow\022.\n\nstart_time\030\001 \001(\013"
+ "2\032.google.protobuf.Timestamp\022,\n\010end_time"
+ "\030\002 \001(\0132\032.google.protobuf.Timestamp\"\241\001\n\005A"
+ "sset\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(\t\0228"
+ "\n\010resource\030\003 \001(\0132&.google.cloud.asset.v1"
+ "p2beta1.Resource\022)\n\niam_policy\030\004 \001(\0132\025.g"
+ "oogle.iam.v1.Policy\022\021\n\tancestors\030\006 \003(\t\"\240"
+ "\001\n\010Resource\022\017\n\007version\030\001 \001(\t\022\036\n\026discover"
+ "y_document_uri\030\002 \001(\t\022\026\n\016discovery_name\030\003"
+ " \001(\t\022\024\n\014resource_url\030\004 \001(\t\022\016\n\006parent\030\005 \001"
+ "(\t\022%\n\004data\030\006 \001(\0132\027.google.protobuf.Struc"
+ "tB\264\001\n com.google.cloud.asset.v1p2beta1B\n"
+ "AssetProtoP\001ZAgoogle.golang.org/genproto"
+ "/googleapis/cloud/asset/v1p2beta1;asset\370"
+ "\001\001\252\002\034Google.Cloud.Asset.v1p2beta1\312\002\034Goog"
+ "le\\Cloud\\Asset\\V1p2beta1b\006proto3"
+ "oto\022\034google.cloud.asset.v1p2beta1\032\032googl"
+ "e/iam/v1/policy.proto\032\034google/protobuf/s"
+ "truct.proto\032\037google/protobuf/timestamp.p"
+ "roto\"\216\001\n\rTemporalAsset\0228\n\006window\030\001 \001(\0132("
+ ".google.cloud.asset.v1p2beta1.TimeWindow"
+ "\022\017\n\007deleted\030\002 \001(\010\0222\n\005asset\030\003 \001(\0132#.googl"
+ "e.cloud.asset.v1p2beta1.Asset\"j\n\nTimeWin"
+ "dow\022.\n\nstart_time\030\001 \001(\0132\032.google.protobu"
+ "f.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.google.p"
+ "rotobuf.Timestamp\"\241\001\n\005Asset\022\014\n\004name\030\001 \001("
+ "\t\022\022\n\nasset_type\030\002 \001(\t\0228\n\010resource\030\003 \001(\0132"
+ "&.google.cloud.asset.v1p2beta1.Resource\022"
+ ")\n\niam_policy\030\004 \001(\0132\025.google.iam.v1.Poli"
+ "cy\022\021\n\tancestors\030\006 \003(\t\"\240\001\n\010Resource\022\017\n\007ve"
+ "rsion\030\001 \001(\t\022\036\n\026discovery_document_uri\030\002 "
+ "\001(\t\022\026\n\016discovery_name\030\003 \001(\t\022\024\n\014resource_"
+ "url\030\004 \001(\t\022\016\n\006parent\030\005 \001(\t\022%\n\004data\030\006 \001(\0132"
+ "\027.google.protobuf.StructB\264\001\n com.google."
+ "cloud.asset.v1p2beta1B\nAssetProtoP\001ZAgoo"
+ "gle.golang.org/genproto/googleapis/cloud"
+ "/asset/v1p2beta1;asset\370\001\001\252\002\034Google.Cloud"
+ ".Asset.v1p2beta1\312\002\034Google\\Cloud\\Asset\\V1"
+ "p2beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.AnnotationsProto.getDescriptor(),
com.google.iam.v1.PolicyProto.getDescriptor(),
com.google.protobuf.AnyProto.getDescriptor(),
com.google.protobuf.StructProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
});
Expand Down Expand Up @@ -120,9 +117,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Version", "DiscoveryDocumentUri", "DiscoveryName", "ResourceUrl", "Parent", "Data",
});
com.google.api.AnnotationsProto.getDescriptor();
com.google.iam.v1.PolicyProto.getDescriptor();
com.google.protobuf.AnyProto.getDescriptor();
com.google.protobuf.StructProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
}
Expand Down
Loading

0 comments on commit d7eb569

Please sign in to comment.