Interface SimulateMaintenanceEventRequestOrBuilder (2.10.0)

public interface SimulateMaintenanceEventRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Required. The resource name.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The resource name.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getWorkerIds(int index)

public abstract String getWorkerIds(int index)

The 0-based worker ID. If it is empty, worker ID 0 will be selected for maintenance event simulation. A maintenance event will only be fired on the first specified worker ID. Future implementations may support firing on multiple workers.

repeated string worker_ids = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The workerIds at the given index.

getWorkerIdsBytes(int index)

public abstract ByteString getWorkerIdsBytes(int index)

The 0-based worker ID. If it is empty, worker ID 0 will be selected for maintenance event simulation. A maintenance event will only be fired on the first specified worker ID. Future implementations may support firing on multiple workers.

repeated string worker_ids = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the workerIds at the given index.

getWorkerIdsCount()

public abstract int getWorkerIdsCount()

The 0-based worker ID. If it is empty, worker ID 0 will be selected for maintenance event simulation. A maintenance event will only be fired on the first specified worker ID. Future implementations may support firing on multiple workers.

repeated string worker_ids = 2;

Returns
TypeDescription
int

The count of workerIds.

getWorkerIdsList()

public abstract List<String> getWorkerIdsList()

The 0-based worker ID. If it is empty, worker ID 0 will be selected for maintenance event simulation. A maintenance event will only be fired on the first specified worker ID. Future implementations may support firing on multiple workers.

repeated string worker_ids = 2;

Returns
TypeDescription
List<String>

A list containing the workerIds.