JobDefOrBuilder

giao diện công cộng JobDefOrBuilder
Các lớp con gián tiếp đã biết

Phương pháp công khai

trừu tượng boolean
chứa Nhiệm vụ (khóa int)
 Mapping from task ID to "hostname:port" string.
chuỗi trừu tượng
lấy Tên ()
 The name of this job.
tóm tắt com.google.protobuf.ByteString
getNameBytes ()
 The name of this job.
Bản đồ trừu tượng<Số nguyên, Chuỗi>
getTask ()
Thay vào đó hãy sử dụng getTasksMap() .
int trừu tượng
getTasksCount ()
 Mapping from task ID to "hostname:port" string.
Bản đồ trừu tượng<Số nguyên, Chuỗi>
getTasksMap ()
 Mapping from task ID to "hostname:port" string.
chuỗi trừu tượng
getTasksOrDefault (khóa int, Chuỗi defaultValue)
 Mapping from task ID to "hostname:port" string.
chuỗi trừu tượng
getTasksOrThrow (khóa int)
 Mapping from task ID to "hostname:port" string.

Phương pháp công khai

boolean trừu tượng công khai chứaTasks (khóa int)

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

Chuỗi tóm tắt công khai getName ()

 The name of this job.
 
string name = 1;

tóm tắt công khai com.google.protobuf.ByteString getNameBytes ()

string name = 1;

 The name of this job.
 
= 1;

Bản đồ trừu tượng công khai<Integer, String> getTasks ()

Thay vào đó hãy sử dụng getTasksMap() .

tóm tắt công khai int getTasksCount ()

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

Bản đồ trừu tượng công khai<Integer, String> getTasksMap ()

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

Chuỗi tóm tắt công khai getTasksOrDefault (khóa int, Chuỗi defaultValue)

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

Chuỗi tóm tắt công khai getTasksOrThrow (khóa int)

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

,
giao diện công cộng JobDefOrBuilder
Các lớp con gián tiếp đã biết

Phương pháp công khai

trừu tượng boolean
chứa Nhiệm vụ (khóa int)
 Mapping from task ID to "hostname:port" string.
chuỗi trừu tượng
lấy Tên ()
 The name of this job.
tóm tắt com.google.protobuf.ByteString
getNameBytes ()
 The name of this job.
Bản đồ trừu tượng<Số nguyên, Chuỗi>
getTask ()
Thay vào đó hãy sử dụng getTasksMap() .
int trừu tượng
getTasksCount ()
 Mapping from task ID to "hostname:port" string.
Bản đồ trừu tượng<Số nguyên, Chuỗi>
getTasksMap ()
 Mapping from task ID to "hostname:port" string.
chuỗi trừu tượng
getTasksOrDefault (khóa int, Chuỗi defaultValue)
 Mapping from task ID to "hostname:port" string.
chuỗi trừu tượng
getTasksOrThrow (khóa int)
 Mapping from task ID to "hostname:port" string.

Phương pháp công khai

boolean trừu tượng công khai chứaTasks (khóa int)

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

Chuỗi tóm tắt công khai getName ()

 The name of this job.
 
string name = 1;

tóm tắt công khai com.google.protobuf.ByteString getNameBytes ()

string name = 1;

 The name of this job.
 
= 1;

Bản đồ trừu tượng công khai<Integer, String> getTasks ()

Thay vào đó hãy sử dụng getTasksMap() .

tóm tắt công khai int getTasksCount ()

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

Bản đồ trừu tượng công khai<Integer, String> getTasksMap ()

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

Chuỗi tóm tắt công khai getTasksOrDefault (khóa int, Chuỗi defaultValue)

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

Chuỗi tóm tắt công khai getTasksOrThrow (khóa int)

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

,
giao diện công cộng JobDefOrBuilder
Các lớp con gián tiếp đã biết

Phương pháp công khai

trừu tượng boolean
chứa Nhiệm vụ (khóa int)
 Mapping from task ID to "hostname:port" string.
chuỗi trừu tượng
lấy Tên ()
 The name of this job.
tóm tắt com.google.protobuf.ByteString
getNameBytes ()
 The name of this job.
Bản đồ trừu tượng<Số nguyên, Chuỗi>
getTask ()
Thay vào đó hãy sử dụng getTasksMap() .
int trừu tượng
getTasksCount ()
 Mapping from task ID to "hostname:port" string.
Bản đồ trừu tượng<Số nguyên, Chuỗi>
getTasksMap ()
 Mapping from task ID to "hostname:port" string.
chuỗi trừu tượng
getTasksOrDefault (khóa int, Chuỗi defaultValue)
 Mapping from task ID to "hostname:port" string.
chuỗi trừu tượng
getTasksOrThrow (khóa int)
 Mapping from task ID to "hostname:port" string.

Phương pháp công khai

boolean trừu tượng công khai chứaTasks (khóa int)

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

Chuỗi tóm tắt công khai getName ()

 The name of this job.
 
string name = 1;

tóm tắt công khai com.google.protobuf.ByteString getNameBytes ()

string name = 1;

 The name of this job.
 
= 1;

Bản đồ trừu tượng công khai<Integer, String> getTasks ()

Thay vào đó hãy sử dụng getTasksMap() .

tóm tắt công khai int getTasksCount ()

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

Bản đồ trừu tượng công khai<Integer, String> getTasksMap ()

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

Chuỗi tóm tắt công khai getTasksOrDefault (khóa int, Chuỗi defaultValue)

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

Chuỗi tóm tắt công khai getTasksOrThrow (khóa int)

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;