Skip to content

Commit

Permalink
GH-44290: [Java][Flight] Add ActionType description getter
Browse files Browse the repository at this point in the history
  • Loading branch information
devinrsmith committed Oct 2, 2024
1 parent b8eae60 commit 878c985
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ public String getType() {
return type;
}

public String getDescription() {
return description;
}

/** Converts the POJO to the corresponding protocol buffer type. */
Flight.ActionType toProtocol() {
return Flight.ActionType.newBuilder().setType(type).setDescription(description).build();
Expand Down

0 comments on commit 878c985

Please sign in to comment.