Interface SimulateMaintenanceEventRequestOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getName()
      Required.
      com.google.protobuf.ByteString getNameBytes()
      Required.
      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.MessageLiteOrBuilder

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