Interface SimulateMaintenanceEventRequestOrBuilder (2.54.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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the workerIds.