Package com.google.cloud.tpu.v2alpha1
Interface GetGuestAttributesRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GetGuestAttributesRequest
,GetGuestAttributesRequest.Builder
public interface GetGuestAttributesRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.String
getQueryPath()
The guest attributes path to be queried.com.google.protobuf.ByteString
getQueryPathBytes()
The guest attributes path to be queried.String
getWorkerIds(int index)
The 0-based worker ID.com.google.protobuf.ByteString
getWorkerIdsBytes(int index)
The 0-based worker ID.int
getWorkerIdsCount()
The 0-based worker ID.List<String>
getWorkerIdsList()
The 0-based worker ID.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. The resource name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. The resource name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for name.
-
getQueryPath
String getQueryPath()
The guest attributes path to be queried.
string query_path = 2;
- Returns:
- The queryPath.
-
getQueryPathBytes
com.google.protobuf.ByteString getQueryPathBytes()
The guest attributes path to be queried.
string query_path = 2;
- Returns:
- The bytes for queryPath.
-
getWorkerIdsList
List<String> getWorkerIdsList()
The 0-based worker ID. If it is empty, all workers' GuestAttributes will be returned.
repeated string worker_ids = 3;
- Returns:
- A list containing the workerIds.
-
getWorkerIdsCount
int getWorkerIdsCount()
The 0-based worker ID. If it is empty, all workers' GuestAttributes will be returned.
repeated string worker_ids = 3;
- Returns:
- The count of workerIds.
-
getWorkerIds
String getWorkerIds(int index)
The 0-based worker ID. If it is empty, all workers' GuestAttributes will be returned.
repeated string worker_ids = 3;
- Parameters:
index
- The index of the element to return.- Returns:
- The workerIds at the given index.
-
getWorkerIdsBytes
com.google.protobuf.ByteString getWorkerIdsBytes(int index)
The 0-based worker ID. If it is empty, all workers' GuestAttributes will be returned.
repeated string worker_ids = 3;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the workerIds at the given index.
-
-