Interface SimulateMaintenanceEventRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SimulateMaintenanceEventRequest, SimulateMaintenanceEventRequest.Builder

@Generated public interface SimulateMaintenanceEventRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    getWorkerIds(int index)
    The 0-based worker ID.
    com.google.protobuf.ByteString
    getWorkerIdsBytes(int index)
    The 0-based worker ID.
    int
    The 0-based worker ID.
    The 0-based worker ID.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.
    • getWorkerIdsList

      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:
      A list containing the workerIds.
    • getWorkerIdsCount

      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:
      The count of workerIds.
    • getWorkerIds

      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;
      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, 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;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the workerIds at the given index.