@java.lang.Override public com.google.pubsub.v1.GetSnapshotRequest getDefaultInstanceForType() { return com.google.pubsub.v1.GetSnapshotRequest.getDefaultInstance(); }
/** * * * <pre> * The name of the snapshot to get. * Format is `projects/{project}/snapshots/{snap}`. * </pre> * * <code>string snapshot = 1;</code> */ public Builder clearSnapshot() { snapshot_ = getDefaultInstance().getSnapshot(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.pubsub.v1.GetSnapshotRequest other) { if (other == com.google.pubsub.v1.GetSnapshotRequest.getDefaultInstance()) return this; if (!other.getSnapshot().isEmpty()) { snapshot_ = other.snapshot_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
private static io.grpc.MethodDescriptor< com.google.pubsub.v1.GetSnapshotRequest, com.google.pubsub.v1.Snapshot> getGetSnapshotMethodHelper() { io.grpc.MethodDescriptor<com.google.pubsub.v1.GetSnapshotRequest, com.google.pubsub.v1.Snapshot> getGetSnapshotMethod; if ((getGetSnapshotMethod = SubscriberGrpc.getGetSnapshotMethod) == null) { synchronized (SubscriberGrpc.class) { if ((getGetSnapshotMethod = SubscriberGrpc.getGetSnapshotMethod) == null) { SubscriberGrpc.getGetSnapshotMethod = getGetSnapshotMethod = io.grpc.MethodDescriptor .<com.google.pubsub.v1.GetSnapshotRequest, com.google.pubsub.v1.Snapshot> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName("google.pubsub.v1.Subscriber", "GetSnapshot")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.pubsub.v1.GetSnapshotRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.pubsub.v1.Snapshot.getDefaultInstance())) .setSchemaDescriptor(new SubscriberMethodDescriptorSupplier("GetSnapshot")) .build(); } } } return getGetSnapshotMethod; }
@java.lang.Override public com.google.pubsub.v1.GetSnapshotRequest getDefaultInstanceForType() { return com.google.pubsub.v1.GetSnapshotRequest.getDefaultInstance(); }
/** * * * <pre> * The name of the snapshot to get. * Format is `projects/{project}/snapshots/{snap}`. * </pre> * * <code>string snapshot = 1;</code> */ public Builder clearSnapshot() { snapshot_ = getDefaultInstance().getSnapshot(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.pubsub.v1.GetSnapshotRequest other) { if (other == com.google.pubsub.v1.GetSnapshotRequest.getDefaultInstance()) return this; if (!other.getSnapshot().isEmpty()) { snapshot_ = other.snapshot_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
private static io.grpc.MethodDescriptor< com.google.pubsub.v1.GetSnapshotRequest, com.google.pubsub.v1.Snapshot> getGetSnapshotMethodHelper() { io.grpc.MethodDescriptor<com.google.pubsub.v1.GetSnapshotRequest, com.google.pubsub.v1.Snapshot> getGetSnapshotMethod; if ((getGetSnapshotMethod = SubscriberGrpc.getGetSnapshotMethod) == null) { synchronized (SubscriberGrpc.class) { if ((getGetSnapshotMethod = SubscriberGrpc.getGetSnapshotMethod) == null) { SubscriberGrpc.getGetSnapshotMethod = getGetSnapshotMethod = io.grpc.MethodDescriptor .<com.google.pubsub.v1.GetSnapshotRequest, com.google.pubsub.v1.Snapshot> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName("google.pubsub.v1.Subscriber", "GetSnapshot")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.pubsub.v1.GetSnapshotRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.pubsub.v1.Snapshot.getDefaultInstance())) .setSchemaDescriptor(new SubscriberMethodDescriptorSupplier("GetSnapshot")) .build(); } } } return getGetSnapshotMethod; }