Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 7970b23

Browse files
chore: remove unused proto imports (#514)
- [ ] 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
1 parent 5a9e017 commit 7970b23

27 files changed

+985
-1037
lines changed

proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Common.java

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,22 +42,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
4242
java.lang.String[] descriptorData = {
4343
"\n3google/cloud/osconfig/v1alpha/osconfig"
4444
+ "_common.proto\022\035google.cloud.osconfig.v1a"
45-
+ "lpha\032\034google/api/annotations.proto\"<\n\016Fi"
46-
+ "xedOrPercent\022\017\n\005fixed\030\001 \001(\005H\000\022\021\n\007percent"
47-
+ "\030\002 \001(\005H\000B\006\n\004modeB\327\001\n!com.google.cloud.os"
48-
+ "config.v1alphaB\006CommonP\001ZEgoogle.golang."
49-
+ "org/genproto/googleapis/cloud/osconfig/v"
50-
+ "1alpha;osconfig\252\002\035Google.Cloud.OsConfig."
51-
+ "V1Alpha\312\002\035Google\\Cloud\\OsConfig\\V1alpha\352"
52-
+ "\002 Google::Cloud::OsConfig::V1alphab\006prot"
53-
+ "o3"
45+
+ "lpha\"<\n\016FixedOrPercent\022\017\n\005fixed\030\001 \001(\005H\000\022"
46+
+ "\021\n\007percent\030\002 \001(\005H\000B\006\n\004modeB\327\001\n!com.googl"
47+
+ "e.cloud.osconfig.v1alphaB\006CommonP\001ZEgoog"
48+
+ "le.golang.org/genproto/googleapis/cloud/"
49+
+ "osconfig/v1alpha;osconfig\252\002\035Google.Cloud"
50+
+ ".OsConfig.V1Alpha\312\002\035Google\\Cloud\\OsConfi"
51+
+ "g\\V1alpha\352\002 Google::Cloud::OsConfig::V1a"
52+
+ "lphab\006proto3"
5453
};
5554
descriptor =
5655
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
57-
descriptorData,
58-
new com.google.protobuf.Descriptors.FileDescriptor[] {
59-
com.google.api.AnnotationsProto.getDescriptor(),
60-
});
56+
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
6157
internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_descriptor =
6258
getDescriptor().getMessageTypes().get(0);
6359
internal_static_google_cloud_osconfig_v1alpha_FixedOrPercent_fieldAccessorTable =
@@ -66,7 +62,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
6662
new java.lang.String[] {
6763
"Fixed", "Percent", "Mode",
6864
});
69-
com.google.api.AnnotationsProto.getDescriptor();
7065
}
7166

7267
// @@protoc_insertion_point(outer_class_scope)

proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ConfigCommonProto.java

Lines changed: 32 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -50,45 +50,41 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
5050
java.lang.String[] descriptorData = {
5151
"\n1google/cloud/osconfig/v1alpha/config_c"
5252
+ "ommon.proto\022\035google.cloud.osconfig.v1alp"
53-
+ "ha\032\034google/api/annotations.proto\"\261\003\n\032OSP"
54-
+ "olicyResourceConfigStep\022L\n\004type\030\001 \001(\0162>."
55-
+ "google.cloud.osconfig.v1alpha.OSPolicyRe"
56-
+ "sourceConfigStep.Type\022R\n\007outcome\030\002 \001(\0162A"
57-
+ ".google.cloud.osconfig.v1alpha.OSPolicyR"
58-
+ "esourceConfigStep.Outcome\022\025\n\rerror_messa"
59-
+ "ge\030\003 \001(\t\"\222\001\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022"
60-
+ "\016\n\nVALIDATION\020\001\022\027\n\023DESIRED_STATE_CHECK\020\002"
61-
+ "\022\035\n\031DESIRED_STATE_ENFORCEMENT\020\003\022(\n$DESIR"
62-
+ "ED_STATE_CHECK_POST_ENFORCEMENT\020\004\032\002\030\001\"A\n"
63-
+ "\007Outcome\022\027\n\023OUTCOME_UNSPECIFIED\020\000\022\r\n\tSUC"
64-
+ "CEEDED\020\001\022\n\n\006FAILED\020\002\032\002\030\001:\002\030\001\"\205\003\n\032OSPolic"
65-
+ "yResourceCompliance\022\035\n\025os_policy_resourc"
66-
+ "e_id\030\001 \001(\t\022O\n\014config_steps\030\002 \003(\01329.googl"
67-
+ "e.cloud.osconfig.v1alpha.OSPolicyResourc"
68-
+ "eConfigStep\022E\n\005state\030\003 \001(\01626.google.clou"
69-
+ "d.osconfig.v1alpha.OSPolicyComplianceSta"
70-
+ "te\022l\n\024exec_resource_output\030\004 \001(\0132L.googl"
71-
+ "e.cloud.osconfig.v1alpha.OSPolicyResourc"
72-
+ "eCompliance.ExecResourceOutputH\000\0324\n\022Exec"
73-
+ "ResourceOutput\022\032\n\022enforcement_output\030\002 \001"
74-
+ "(\014:\002\030\001:\002\030\001B\010\n\006output*\227\001\n\027OSPolicyComplia"
75-
+ "nceState\022*\n&OS_POLICY_COMPLIANCE_STATE_U"
76-
+ "NSPECIFIED\020\000\022\r\n\tCOMPLIANT\020\001\022\021\n\rNON_COMPL"
77-
+ "IANT\020\002\022\013\n\007UNKNOWN\020\003\022\035\n\031NO_OS_POLICIES_AP"
78-
+ "PLICABLE\020\004\032\002\030\001B\342\001\n!com.google.cloud.osco"
79-
+ "nfig.v1alphaB\021ConfigCommonProtoP\001ZEgoogl"
80-
+ "e.golang.org/genproto/googleapis/cloud/o"
81-
+ "sconfig/v1alpha;osconfig\252\002\035Google.Cloud."
82-
+ "OsConfig.V1Alpha\312\002\035Google\\Cloud\\OsConfig"
83-
+ "\\V1alpha\352\002 Google::Cloud::OsConfig::V1al"
84-
+ "phab\006proto3"
53+
+ "ha\"\261\003\n\032OSPolicyResourceConfigStep\022L\n\004typ"
54+
+ "e\030\001 \001(\0162>.google.cloud.osconfig.v1alpha."
55+
+ "OSPolicyResourceConfigStep.Type\022R\n\007outco"
56+
+ "me\030\002 \001(\0162A.google.cloud.osconfig.v1alpha"
57+
+ ".OSPolicyResourceConfigStep.Outcome\022\025\n\re"
58+
+ "rror_message\030\003 \001(\t\"\222\001\n\004Type\022\024\n\020TYPE_UNSP"
59+
+ "ECIFIED\020\000\022\016\n\nVALIDATION\020\001\022\027\n\023DESIRED_STA"
60+
+ "TE_CHECK\020\002\022\035\n\031DESIRED_STATE_ENFORCEMENT\020"
61+
+ "\003\022(\n$DESIRED_STATE_CHECK_POST_ENFORCEMEN"
62+
+ "T\020\004\032\002\030\001\"A\n\007Outcome\022\027\n\023OUTCOME_UNSPECIFIE"
63+
+ "D\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAILED\020\002\032\002\030\001:\002\030\001\"\205"
64+
+ "\003\n\032OSPolicyResourceCompliance\022\035\n\025os_poli"
65+
+ "cy_resource_id\030\001 \001(\t\022O\n\014config_steps\030\002 \003"
66+
+ "(\01329.google.cloud.osconfig.v1alpha.OSPol"
67+
+ "icyResourceConfigStep\022E\n\005state\030\003 \001(\01626.g"
68+
+ "oogle.cloud.osconfig.v1alpha.OSPolicyCom"
69+
+ "plianceState\022l\n\024exec_resource_output\030\004 \001"
70+
+ "(\0132L.google.cloud.osconfig.v1alpha.OSPol"
71+
+ "icyResourceCompliance.ExecResourceOutput"
72+
+ "H\000\0324\n\022ExecResourceOutput\022\032\n\022enforcement_"
73+
+ "output\030\002 \001(\014:\002\030\001:\002\030\001B\010\n\006output*\227\001\n\027OSPol"
74+
+ "icyComplianceState\022*\n&OS_POLICY_COMPLIAN"
75+
+ "CE_STATE_UNSPECIFIED\020\000\022\r\n\tCOMPLIANT\020\001\022\021\n"
76+
+ "\rNON_COMPLIANT\020\002\022\013\n\007UNKNOWN\020\003\022\035\n\031NO_OS_P"
77+
+ "OLICIES_APPLICABLE\020\004\032\002\030\001B\342\001\n!com.google."
78+
+ "cloud.osconfig.v1alphaB\021ConfigCommonProt"
79+
+ "oP\001ZEgoogle.golang.org/genproto/googleap"
80+
+ "is/cloud/osconfig/v1alpha;osconfig\252\002\035Goo"
81+
+ "gle.Cloud.OsConfig.V1Alpha\312\002\035Google\\Clou"
82+
+ "d\\OsConfig\\V1alpha\352\002 Google::Cloud::OsCo"
83+
+ "nfig::V1alphab\006proto3"
8584
};
8685
descriptor =
8786
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
88-
descriptorData,
89-
new com.google.protobuf.Descriptors.FileDescriptor[] {
90-
com.google.api.AnnotationsProto.getDescriptor(),
91-
});
87+
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
9288
internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_descriptor =
9389
getDescriptor().getMessageTypes().get(0);
9490
internal_static_google_cloud_osconfig_v1alpha_OSPolicyResourceConfigStep_fieldAccessorTable =
@@ -115,7 +111,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
115111
new java.lang.String[] {
116112
"EnforcementOutput",
117113
});
118-
com.google.api.AnnotationsProto.getDescriptor();
119114
}
120115

121116
// @@protoc_insertion_point(outer_class_scope)

proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceProto.java

Lines changed: 45 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -58,57 +58,56 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
5858
java.lang.String[] descriptorData = {
5959
"\nCgoogle/cloud/osconfig/v1alpha/instance"
6060
+ "_os_policies_compliance.proto\022\035google.cl"
61-
+ "oud.osconfig.v1alpha\032\034google/api/annotat"
62-
+ "ions.proto\032\037google/api/field_behavior.pr"
63-
+ "oto\032\031google/api/resource.proto\0321google/c"
64-
+ "loud/osconfig/v1alpha/config_common.prot"
65-
+ "o\032\037google/protobuf/timestamp.proto\"\356\006\n\034I"
66-
+ "nstanceOSPoliciesCompliance\022\021\n\004name\030\001 \001("
67-
+ "\tB\003\340A\003\022\025\n\010instance\030\002 \001(\tB\003\340A\003\022J\n\005state\030\003"
68-
+ " \001(\01626.google.cloud.osconfig.v1alpha.OSP"
69-
+ "olicyComplianceStateB\003\340A\003\022\033\n\016detailed_st"
70-
+ "ate\030\004 \001(\tB\003\340A\003\022\"\n\025detailed_state_reason\030"
71-
+ "\005 \001(\tB\003\340A\003\022r\n\025os_policy_compliances\030\006 \003("
72-
+ "\0132N.google.cloud.osconfig.v1alpha.Instan"
73-
+ "ceOSPoliciesCompliance.OSPolicyComplianc"
74-
+ "eB\003\340A\003\022C\n\032last_compliance_check_time\030\007 \001"
75-
+ "(\0132\032.google.protobuf.TimestampB\003\340A\003\022#\n\026l"
76-
+ "ast_compliance_run_id\030\010 \001(\tB\003\340A\003\032\247\002\n\022OSP"
77-
+ "olicyCompliance\022\024\n\014os_policy_id\030\001 \001(\t\022M\n"
78-
+ "\024os_policy_assignment\030\002 \001(\tB/\372A,\n*osconf"
79-
+ "ig.googleapis.com/OSPolicyAssignment\022E\n\005"
80-
+ "state\030\004 \001(\01626.google.cloud.osconfig.v1al"
81-
+ "pha.OSPolicyComplianceState\022a\n\036os_policy"
82-
+ "_resource_compliances\030\005 \003(\01329.google.clo"
83-
+ "ud.osconfig.v1alpha.OSPolicyResourceComp"
84-
+ "liance:\002\030\001:\216\001\030\001\352A\210\001\n4osconfig.googleapis"
85-
+ ".com/InstanceOSPoliciesCompliance\022Pproje"
86-
+ "cts/{project}/locations/{location}/insta"
87-
+ "nceOSPoliciesCompliances/{instance}\"x\n&G"
88-
+ "etInstanceOSPoliciesComplianceRequest\022J\n"
89-
+ "\004name\030\001 \001(\tB<\340A\002\372A6\n4osconfig.googleapis"
90-
+ ".com/InstanceOSPoliciesCompliance:\002\030\001\"\240\001"
91-
+ "\n(ListInstanceOSPoliciesCompliancesReque"
92-
+ "st\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.go"
93-
+ "ogleapis.com/Location\022\021\n\tpage_size\030\002 \001(\005"
94-
+ "\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t:\002\030\001"
95-
+ "\"\257\001\n)ListInstanceOSPoliciesCompliancesRe"
96-
+ "sponse\022e\n instance_os_policies_complianc"
97-
+ "es\030\001 \003(\0132;.google.cloud.osconfig.v1alpha"
98-
+ ".InstanceOSPoliciesCompliance\022\027\n\017next_pa"
99-
+ "ge_token\030\002 \001(\t:\002\030\001B\362\001\n!com.google.cloud."
100-
+ "osconfig.v1alphaB!InstanceOSPoliciesComp"
101-
+ "lianceProtoP\001ZEgoogle.golang.org/genprot"
102-
+ "o/googleapis/cloud/osconfig/v1alpha;osco"
103-
+ "nfig\252\002\035Google.Cloud.OsConfig.V1Alpha\312\002\035G"
104-
+ "oogle\\Cloud\\OsConfig\\V1alpha\352\002 Google::C"
105-
+ "loud::OsConfig::V1alphab\006proto3"
61+
+ "oud.osconfig.v1alpha\032\037google/api/field_b"
62+
+ "ehavior.proto\032\031google/api/resource.proto"
63+
+ "\0321google/cloud/osconfig/v1alpha/config_c"
64+
+ "ommon.proto\032\037google/protobuf/timestamp.p"
65+
+ "roto\"\356\006\n\034InstanceOSPoliciesCompliance\022\021\n"
66+
+ "\004name\030\001 \001(\tB\003\340A\003\022\025\n\010instance\030\002 \001(\tB\003\340A\003\022"
67+
+ "J\n\005state\030\003 \001(\01626.google.cloud.osconfig.v"
68+
+ "1alpha.OSPolicyComplianceStateB\003\340A\003\022\033\n\016d"
69+
+ "etailed_state\030\004 \001(\tB\003\340A\003\022\"\n\025detailed_sta"
70+
+ "te_reason\030\005 \001(\tB\003\340A\003\022r\n\025os_policy_compli"
71+
+ "ances\030\006 \003(\0132N.google.cloud.osconfig.v1al"
72+
+ "pha.InstanceOSPoliciesCompliance.OSPolic"
73+
+ "yComplianceB\003\340A\003\022C\n\032last_compliance_chec"
74+
+ "k_time\030\007 \001(\0132\032.google.protobuf.Timestamp"
75+
+ "B\003\340A\003\022#\n\026last_compliance_run_id\030\010 \001(\tB\003\340"
76+
+ "A\003\032\247\002\n\022OSPolicyCompliance\022\024\n\014os_policy_i"
77+
+ "d\030\001 \001(\t\022M\n\024os_policy_assignment\030\002 \001(\tB/\372"
78+
+ "A,\n*osconfig.googleapis.com/OSPolicyAssi"
79+
+ "gnment\022E\n\005state\030\004 \001(\01626.google.cloud.osc"
80+
+ "onfig.v1alpha.OSPolicyComplianceState\022a\n"
81+
+ "\036os_policy_resource_compliances\030\005 \003(\01329."
82+
+ "google.cloud.osconfig.v1alpha.OSPolicyRe"
83+
+ "sourceCompliance:\002\030\001:\216\001\030\001\352A\210\001\n4osconfig."
84+
+ "googleapis.com/InstanceOSPoliciesComplia"
85+
+ "nce\022Pprojects/{project}/locations/{locat"
86+
+ "ion}/instanceOSPoliciesCompliances/{inst"
87+
+ "ance}\"x\n&GetInstanceOSPoliciesCompliance"
88+
+ "Request\022J\n\004name\030\001 \001(\tB<\340A\002\372A6\n4osconfig."
89+
+ "googleapis.com/InstanceOSPoliciesComplia"
90+
+ "nce:\002\030\001\"\240\001\n(ListInstanceOSPoliciesCompli"
91+
+ "ancesRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!lo"
92+
+ "cations.googleapis.com/Location\022\021\n\tpage_"
93+
+ "size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter"
94+
+ "\030\004 \001(\t:\002\030\001\"\257\001\n)ListInstanceOSPoliciesCom"
95+
+ "pliancesResponse\022e\n instance_os_policies"
96+
+ "_compliances\030\001 \003(\0132;.google.cloud.osconf"
97+
+ "ig.v1alpha.InstanceOSPoliciesCompliance\022"
98+
+ "\027\n\017next_page_token\030\002 \001(\t:\002\030\001B\362\001\n!com.goo"
99+
+ "gle.cloud.osconfig.v1alphaB!InstanceOSPo"
100+
+ "liciesComplianceProtoP\001ZEgoogle.golang.o"
101+
+ "rg/genproto/googleapis/cloud/osconfig/v1"
102+
+ "alpha;osconfig\252\002\035Google.Cloud.OsConfig.V"
103+
+ "1Alpha\312\002\035Google\\Cloud\\OsConfig\\V1alpha\352\002"
104+
+ " Google::Cloud::OsConfig::V1alphab\006proto"
105+
+ "3"
106106
};
107107
descriptor =
108108
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
109109
descriptorData,
110110
new com.google.protobuf.Descriptors.FileDescriptor[] {
111-
com.google.api.AnnotationsProto.getDescriptor(),
112111
com.google.api.FieldBehaviorProto.getDescriptor(),
113112
com.google.api.ResourceProto.getDescriptor(),
114113
com.google.cloud.osconfig.v1alpha.ConfigCommonProto.getDescriptor(),
@@ -170,7 +169,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
170169
registry.add(com.google.api.ResourceProto.resourceReference);
171170
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
172171
descriptor, registry);
173-
com.google.api.AnnotationsProto.getDescriptor();
174172
com.google.api.FieldBehaviorProto.getDescriptor();
175173
com.google.api.ResourceProto.getDescriptor();
176174
com.google.cloud.osconfig.v1alpha.ConfigCommonProto.getDescriptor();

0 commit comments

Comments
 (0)