|
|
@ -1,3 +1,19 @@ |
|
|
|
|
|
|
|
/* |
|
|
|
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more |
|
|
|
|
|
|
|
* contributor license agreements. See the NOTICE file distributed with |
|
|
|
|
|
|
|
* this work for additional information regarding copyright ownership. |
|
|
|
|
|
|
|
* The ASF licenses this file to You under the Apache License, Version 2.0 |
|
|
|
|
|
|
|
* (the "License"); you may not use this file except in compliance with |
|
|
|
|
|
|
|
* the License. You may obtain a copy of the License at |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* Unless required by applicable law or agreed to in writing, software |
|
|
|
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
|
|
|
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
|
|
|
|
|
* See the License for the specific language governing permissions and |
|
|
|
|
|
|
|
* limitations under the License. |
|
|
|
|
|
|
|
*/ |
|
|
|
package org.apache.dolphinscheduler.rpc; |
|
|
|
package org.apache.dolphinscheduler.rpc; |
|
|
|
|
|
|
|
|
|
|
|
import static io.grpc.MethodDescriptor.generateFullMethodName; |
|
|
|
import static io.grpc.MethodDescriptor.generateFullMethodName; |
|
|
@ -32,7 +48,7 @@ public final class LogViewServiceGrpc { |
|
|
|
|
|
|
|
|
|
|
|
// Static method descriptors that strictly reflect the proto.
|
|
|
|
// Static method descriptors that strictly reflect the proto.
|
|
|
|
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") |
|
|
|
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") |
|
|
|
@java.lang.Deprecated // Use {@link #getRollViewLogMethod()} instead.
|
|
|
|
@java.lang.Deprecated // Use {@link #getRollViewLogMethod()} instead.
|
|
|
|
public static final io.grpc.MethodDescriptor<org.apache.dolphinscheduler.rpc.LogParameter, |
|
|
|
public static final io.grpc.MethodDescriptor<org.apache.dolphinscheduler.rpc.LogParameter, |
|
|
|
org.apache.dolphinscheduler.rpc.RetStrInfo> METHOD_ROLL_VIEW_LOG = getRollViewLogMethod(); |
|
|
|
org.apache.dolphinscheduler.rpc.RetStrInfo> METHOD_ROLL_VIEW_LOG = getRollViewLogMethod(); |
|
|
|
|
|
|
|
|
|
|
@ -46,7 +62,7 @@ public final class LogViewServiceGrpc { |
|
|
|
if ((getRollViewLogMethod = LogViewServiceGrpc.getRollViewLogMethod) == null) { |
|
|
|
if ((getRollViewLogMethod = LogViewServiceGrpc.getRollViewLogMethod) == null) { |
|
|
|
synchronized (LogViewServiceGrpc.class) { |
|
|
|
synchronized (LogViewServiceGrpc.class) { |
|
|
|
if ((getRollViewLogMethod = LogViewServiceGrpc.getRollViewLogMethod) == null) { |
|
|
|
if ((getRollViewLogMethod = LogViewServiceGrpc.getRollViewLogMethod) == null) { |
|
|
|
LogViewServiceGrpc.getRollViewLogMethod = getRollViewLogMethod = |
|
|
|
LogViewServiceGrpc.getRollViewLogMethod = getRollViewLogMethod = |
|
|
|
io.grpc.MethodDescriptor.<org.apache.dolphinscheduler.rpc.LogParameter, org.apache.dolphinscheduler.rpc.RetStrInfo>newBuilder() |
|
|
|
io.grpc.MethodDescriptor.<org.apache.dolphinscheduler.rpc.LogParameter, org.apache.dolphinscheduler.rpc.RetStrInfo>newBuilder() |
|
|
|
.setType(io.grpc.MethodDescriptor.MethodType.UNARY) |
|
|
|
.setType(io.grpc.MethodDescriptor.MethodType.UNARY) |
|
|
|
.setFullMethodName(generateFullMethodName( |
|
|
|
.setFullMethodName(generateFullMethodName( |
|
|
@ -64,7 +80,7 @@ public final class LogViewServiceGrpc { |
|
|
|
return getRollViewLogMethod; |
|
|
|
return getRollViewLogMethod; |
|
|
|
} |
|
|
|
} |
|
|
|
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") |
|
|
|
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") |
|
|
|
@java.lang.Deprecated // Use {@link #getViewLogMethod()} instead.
|
|
|
|
@java.lang.Deprecated // Use {@link #getViewLogMethod()} instead.
|
|
|
|
public static final io.grpc.MethodDescriptor<org.apache.dolphinscheduler.rpc.PathParameter, |
|
|
|
public static final io.grpc.MethodDescriptor<org.apache.dolphinscheduler.rpc.PathParameter, |
|
|
|
org.apache.dolphinscheduler.rpc.RetStrInfo> METHOD_VIEW_LOG = getViewLogMethod(); |
|
|
|
org.apache.dolphinscheduler.rpc.RetStrInfo> METHOD_VIEW_LOG = getViewLogMethod(); |
|
|
|
|
|
|
|
|
|
|
@ -78,7 +94,7 @@ public final class LogViewServiceGrpc { |
|
|
|
if ((getViewLogMethod = LogViewServiceGrpc.getViewLogMethod) == null) { |
|
|
|
if ((getViewLogMethod = LogViewServiceGrpc.getViewLogMethod) == null) { |
|
|
|
synchronized (LogViewServiceGrpc.class) { |
|
|
|
synchronized (LogViewServiceGrpc.class) { |
|
|
|
if ((getViewLogMethod = LogViewServiceGrpc.getViewLogMethod) == null) { |
|
|
|
if ((getViewLogMethod = LogViewServiceGrpc.getViewLogMethod) == null) { |
|
|
|
LogViewServiceGrpc.getViewLogMethod = getViewLogMethod = |
|
|
|
LogViewServiceGrpc.getViewLogMethod = getViewLogMethod = |
|
|
|
io.grpc.MethodDescriptor.<org.apache.dolphinscheduler.rpc.PathParameter, org.apache.dolphinscheduler.rpc.RetStrInfo>newBuilder() |
|
|
|
io.grpc.MethodDescriptor.<org.apache.dolphinscheduler.rpc.PathParameter, org.apache.dolphinscheduler.rpc.RetStrInfo>newBuilder() |
|
|
|
.setType(io.grpc.MethodDescriptor.MethodType.UNARY) |
|
|
|
.setType(io.grpc.MethodDescriptor.MethodType.UNARY) |
|
|
|
.setFullMethodName(generateFullMethodName( |
|
|
|
.setFullMethodName(generateFullMethodName( |
|
|
@ -96,7 +112,7 @@ public final class LogViewServiceGrpc { |
|
|
|
return getViewLogMethod; |
|
|
|
return getViewLogMethod; |
|
|
|
} |
|
|
|
} |
|
|
|
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") |
|
|
|
@io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") |
|
|
|
@java.lang.Deprecated // Use {@link #getGetLogBytesMethod()} instead.
|
|
|
|
@java.lang.Deprecated // Use {@link #getGetLogBytesMethod()} instead.
|
|
|
|
public static final io.grpc.MethodDescriptor<org.apache.dolphinscheduler.rpc.PathParameter, |
|
|
|
public static final io.grpc.MethodDescriptor<org.apache.dolphinscheduler.rpc.PathParameter, |
|
|
|
org.apache.dolphinscheduler.rpc.RetByteInfo> METHOD_GET_LOG_BYTES = getGetLogBytesMethod(); |
|
|
|
org.apache.dolphinscheduler.rpc.RetByteInfo> METHOD_GET_LOG_BYTES = getGetLogBytesMethod(); |
|
|
|
|
|
|
|
|
|
|
@ -110,7 +126,7 @@ public final class LogViewServiceGrpc { |
|
|
|
if ((getGetLogBytesMethod = LogViewServiceGrpc.getGetLogBytesMethod) == null) { |
|
|
|
if ((getGetLogBytesMethod = LogViewServiceGrpc.getGetLogBytesMethod) == null) { |
|
|
|
synchronized (LogViewServiceGrpc.class) { |
|
|
|
synchronized (LogViewServiceGrpc.class) { |
|
|
|
if ((getGetLogBytesMethod = LogViewServiceGrpc.getGetLogBytesMethod) == null) { |
|
|
|
if ((getGetLogBytesMethod = LogViewServiceGrpc.getGetLogBytesMethod) == null) { |
|
|
|
LogViewServiceGrpc.getGetLogBytesMethod = getGetLogBytesMethod = |
|
|
|
LogViewServiceGrpc.getGetLogBytesMethod = getGetLogBytesMethod = |
|
|
|
io.grpc.MethodDescriptor.<org.apache.dolphinscheduler.rpc.PathParameter, org.apache.dolphinscheduler.rpc.RetByteInfo>newBuilder() |
|
|
|
io.grpc.MethodDescriptor.<org.apache.dolphinscheduler.rpc.PathParameter, org.apache.dolphinscheduler.rpc.RetByteInfo>newBuilder() |
|
|
|
.setType(io.grpc.MethodDescriptor.MethodType.UNARY) |
|
|
|
.setType(io.grpc.MethodDescriptor.MethodType.UNARY) |
|
|
|
.setFullMethodName(generateFullMethodName( |
|
|
|
.setFullMethodName(generateFullMethodName( |
|
|
|