public Builder mergeFrom(io.pravega.controller.stream.api.grpc.v1.Controller.ScopeInfo other) { if (other == io.pravega.controller.stream.api.grpc.v1.Controller.ScopeInfo.getDefaultInstance()) return this; if (!other.getScope().isEmpty()) { scope_ = other.scope_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "deleteScope", requestType = io.pravega.controller.stream.api.grpc.v1.Controller.ScopeInfo.class, responseType = io.pravega.controller.stream.api.grpc.v1.Controller.DeleteScopeStatus.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<io.pravega.controller.stream.api.grpc.v1.Controller.ScopeInfo, io.pravega.controller.stream.api.grpc.v1.Controller.DeleteScopeStatus> getDeleteScopeMethod() { io.grpc.MethodDescriptor<io.pravega.controller.stream.api.grpc.v1.Controller.ScopeInfo, io.pravega.controller.stream.api.grpc.v1.Controller.DeleteScopeStatus> getDeleteScopeMethod; if ((getDeleteScopeMethod = ControllerServiceGrpc.getDeleteScopeMethod) == null) { synchronized (ControllerServiceGrpc.class) { if ((getDeleteScopeMethod = ControllerServiceGrpc.getDeleteScopeMethod) == null) { ControllerServiceGrpc.getDeleteScopeMethod = getDeleteScopeMethod = io.grpc.MethodDescriptor.<io.pravega.controller.stream.api.grpc.v1.Controller.ScopeInfo, io.pravega.controller.stream.api.grpc.v1.Controller.DeleteScopeStatus>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "io.pravega.controller.stream.api.grpc.v1.ControllerService", "deleteScope")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.pravega.controller.stream.api.grpc.v1.Controller.ScopeInfo.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.pravega.controller.stream.api.grpc.v1.Controller.DeleteScopeStatus.getDefaultInstance())) .setSchemaDescriptor(new ControllerServiceMethodDescriptorSupplier("deleteScope")) .build(); } } } return getDeleteScopeMethod; }
@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "createScope", requestType = io.pravega.controller.stream.api.grpc.v1.Controller.ScopeInfo.class, responseType = io.pravega.controller.stream.api.grpc.v1.Controller.CreateScopeStatus.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<io.pravega.controller.stream.api.grpc.v1.Controller.ScopeInfo, io.pravega.controller.stream.api.grpc.v1.Controller.CreateScopeStatus> getCreateScopeMethod() { io.grpc.MethodDescriptor<io.pravega.controller.stream.api.grpc.v1.Controller.ScopeInfo, io.pravega.controller.stream.api.grpc.v1.Controller.CreateScopeStatus> getCreateScopeMethod; if ((getCreateScopeMethod = ControllerServiceGrpc.getCreateScopeMethod) == null) { synchronized (ControllerServiceGrpc.class) { if ((getCreateScopeMethod = ControllerServiceGrpc.getCreateScopeMethod) == null) { ControllerServiceGrpc.getCreateScopeMethod = getCreateScopeMethod = io.grpc.MethodDescriptor.<io.pravega.controller.stream.api.grpc.v1.Controller.ScopeInfo, io.pravega.controller.stream.api.grpc.v1.Controller.CreateScopeStatus>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "io.pravega.controller.stream.api.grpc.v1.ControllerService", "createScope")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.pravega.controller.stream.api.grpc.v1.Controller.ScopeInfo.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.pravega.controller.stream.api.grpc.v1.Controller.CreateScopeStatus.getDefaultInstance())) .setSchemaDescriptor(new ControllerServiceMethodDescriptorSupplier("createScope")) .build(); } } } return getCreateScopeMethod; }
public io.pravega.controller.stream.api.grpc.v1.Controller.ScopeInfo getDefaultInstanceForType() { return io.pravega.controller.stream.api.grpc.v1.Controller.ScopeInfo.getDefaultInstance(); }
/** * <code>string scope = 1;</code> */ public Builder clearScope() { scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /**