-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathSdkProtocolVersion.java
More file actions
37 lines (29 loc) · 934 Bytes
/
SdkProtocolVersion.java
File metadata and controls
37 lines (29 loc) · 934 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------------------------------------------*/
// Code generated by update-protocol-version.ts. DO NOT EDIT.
package com.github.copilot.sdk;
/**
* Provides the SDK protocol version. This must match the version expected by
* the copilot-agent-runtime server.
*
* @since 1.0.0
*/
public enum SdkProtocolVersion {
LATEST(2);
private int versionNumber;
private SdkProtocolVersion(int versionNumber) {
this.versionNumber = versionNumber;
}
public int getVersionNumber() {
return this.versionNumber;
}
/**
* Gets the SDK protocol version.
*
* @return the protocol version
*/
public static int get() {
return LATEST.getVersionNumber();
}
}