Skip to content

Commit 062ac77

Browse files
committed
Format the generated code.
1 parent 0a7884c commit 062ac77

37 files changed

+287722
-174055
lines changed

proto/src/main/java/io/kubernetes/client/proto/IntStr.java

Lines changed: 225 additions & 263 deletions
Large diffs are not rendered by default.

proto/src/main/java/io/kubernetes/client/proto/Meta.java

Lines changed: 14140 additions & 10155 deletions
Large diffs are not rendered by default.

proto/src/main/java/io/kubernetes/client/proto/Resource.java

Lines changed: 354 additions & 365 deletions
Large diffs are not rendered by default.

proto/src/main/java/io/kubernetes/client/proto/Runtime.java

Lines changed: 717 additions & 561 deletions
Large diffs are not rendered by default.

proto/src/main/java/io/kubernetes/client/proto/RuntimeSchema.java

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,49 @@
1-
// Generated by the protocol buffer compiler. DO NOT EDIT!
2-
// source: k8s.io/apimachinery/pkg/runtime/schema/generated.proto
3-
1+
/*
2+
Copyright 2021 The Kubernetes Authors.
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
http://www.apache.org/licenses/LICENSE-2.0
7+
Unless required by applicable law or agreed to in writing, software
8+
distributed under the License is distributed on an "AS IS" BASIS,
9+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
See the License for the specific language governing permissions and
11+
limitations under the License.
12+
*/
413
package io.kubernetes.client.proto;
514

615
public final class RuntimeSchema {
716
private RuntimeSchema() {}
8-
public static void registerAllExtensions(
9-
com.google.protobuf.ExtensionRegistryLite registry) {
10-
}
1117

12-
public static void registerAllExtensions(
13-
com.google.protobuf.ExtensionRegistry registry) {
14-
registerAllExtensions(
15-
(com.google.protobuf.ExtensionRegistryLite) registry);
18+
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
19+
20+
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
21+
registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
1622
}
1723

18-
public static com.google.protobuf.Descriptors.FileDescriptor
19-
getDescriptor() {
24+
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
2025
return descriptor;
2126
}
22-
private static com.google.protobuf.Descriptors.FileDescriptor
23-
descriptor;
27+
28+
private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
29+
2430
static {
2531
java.lang.String[] descriptorData = {
26-
"\n6k8s.io/apimachinery/pkg/runtime/schema" +
27-
"/generated.proto\022&k8s.io.apimachinery.pk" +
28-
"g.runtime.schemaB3\n\032io.kubernetes.client" +
29-
".protoB\rRuntimeSchemaZ\006schema"
32+
"\n6k8s.io/apimachinery/pkg/runtime/schema"
33+
+ "/generated.proto\022&k8s.io.apimachinery.pk"
34+
+ "g.runtime.schemaB3\n\032io.kubernetes.client"
35+
+ ".protoB\rRuntimeSchemaZ\006schema"
3036
};
3137
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
32-
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
38+
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
3339
public com.google.protobuf.ExtensionRegistry assignDescriptors(
3440
com.google.protobuf.Descriptors.FileDescriptor root) {
3541
descriptor = root;
3642
return null;
3743
}
3844
};
39-
com.google.protobuf.Descriptors.FileDescriptor
40-
.internalBuildGeneratedFileFrom(descriptorData,
41-
new com.google.protobuf.Descriptors.FileDescriptor[] {
42-
}, assigner);
45+
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
46+
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}, assigner);
4347
}
4448

4549
// @@protoc_insertion_point(outer_class_scope)

0 commit comments

Comments
 (0)