Skip to content

Commit

Permalink
Update proto v1.44.0 (#2406)
Browse files Browse the repository at this point in the history
Update Proto to v1.44.0
  • Loading branch information
Quinn-With-Two-Ns authored Feb 11, 2025
1 parent 24f225c commit fc4d714
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ final class ActivityPollTask implements Poller.PollTask<ActivityTask> {
private final Scope metricsScope;
private final PollActivityTaskQueueRequest pollRequest;

@SuppressWarnings("deprecation")
public ActivityPollTask(
@Nonnull WorkflowServiceStubs service,
@Nonnull String namespace,
Expand Down Expand Up @@ -87,6 +88,7 @@ public ActivityPollTask(
}

@Override
@SuppressWarnings("deprecation")
public ActivityTask poll() {
if (log.isTraceEnabled()) {
log.trace("poll request begin: " + pollRequest);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ final class NexusPollTask implements Poller.PollTask<NexusTask> {
private final Scope metricsScope;
private final PollNexusTaskQueueRequest pollRequest;

@SuppressWarnings("deprecation")
public NexusPollTask(
@Nonnull WorkflowServiceStubs service,
@Nonnull String namespace,
Expand Down Expand Up @@ -77,6 +78,7 @@ public NexusPollTask(
}

@Override
@SuppressWarnings("deprecation")
public NexusTask poll() {
if (log.isTraceEnabled()) {
log.trace("poll request begin: " + pollRequest);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ final class WorkflowPollTask implements Poller.PollTask<WorkflowTask> {
private final PollWorkflowTaskQueueRequest pollRequest;
private final PollWorkflowTaskQueueRequest stickyPollRequest;

@SuppressWarnings("deprecation")
public WorkflowPollTask(
@Nonnull WorkflowServiceStubs service,
@Nonnull String namespace,
Expand Down Expand Up @@ -118,6 +119,7 @@ public WorkflowPollTask(
}

@Override
@SuppressWarnings("deprecation")
public WorkflowTask poll() {
boolean isSuccessful = false;
SlotPermit permit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public class WorkflowSlotInfo extends SlotInfo {
private final boolean fromStickyQueue;

/** Don't rely on this constructor. It is for internal use by the SDK. */
@SuppressWarnings("deprecation")
public WorkflowSlotInfo(
@Nonnull PollWorkflowTaskQueueResponse response,
@Nonnull PollWorkflowTaskQueueRequest request) {
Expand Down

0 comments on commit fc4d714

Please sign in to comment.