public Builder mergeFrom(com.salesforce.servicelibs.TimeReply other) { if (other == com.salesforce.servicelibs.TimeReply.getDefaultInstance()) return this; if (other.hasTime()) { mergeTime(other.getTime()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
private TimeServiceCompletableFutureStub(Channel channel, CallOptions callOptions, Function<ListenableFuture, CompletableFuture> futureAdapter) { super(channel, callOptions); this.futureAdapter = futureAdapter; innerStub = TimeServiceGrpc.newFutureStub(channel).build(channel, callOptions); }
public com.salesforce.servicelibs.TimeReply build() { com.salesforce.servicelibs.TimeReply result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
@java.lang.Override protected TimeServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new TimeServiceStub(channel, callOptions); }
/** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static TimeServiceBlockingStub newBlockingStub( io.grpc.Channel channel) { return new TimeServiceBlockingStub(channel); }
/** * Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static TimeServiceFutureStub newFutureStub( io.grpc.Channel channel) { return new TimeServiceFutureStub(channel); }
/** * <code>.google.protobuf.Timestamp time = 1;</code> */ public com.google.protobuf.TimestampOrBuilder getTimeOrBuilder() { return getTime(); }
@java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /**
private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() {
public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { registerAllExtensions( (com.google.protobuf.ExtensionRegistryLite) registry); } static final com.google.protobuf.Descriptors.Descriptor
@Override protected TimeServiceCompletableFutureStub build(Channel channel, CallOptions callOptions) { TimeServiceCompletableFutureStub stub = new TimeServiceCompletableFutureStub(channel, callOptions, futureAdapter); return stub; }
public Builder mergeFrom(com.salesforce.servicelibs.TimeReply other) { if (other == com.salesforce.servicelibs.TimeReply.getDefaultInstance()) return this; if (other.hasTime()) { mergeTime(other.getTime()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public com.salesforce.servicelibs.TimeReply build() { com.salesforce.servicelibs.TimeReply result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
@java.lang.Override protected TimeServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new TimeServiceStub(channel, callOptions); }
@java.lang.Override protected TimeServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new TimeServiceBlockingStub(channel, callOptions); }
@java.lang.Override protected TimeServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new TimeServiceFutureStub(channel, callOptions); }
/** * Creates a new async stub that supports all call types for the service */ public static TimeServiceStub newStub(io.grpc.Channel channel) { return new TimeServiceStub(channel); }
/** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static TimeServiceBlockingStub newBlockingStub( io.grpc.Channel channel) { return new TimeServiceBlockingStub(channel); }