Class JobStatus.TaskGroupStatus

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.batch.v1alpha.JobStatus.TaskGroupStatus
All Implemented Interfaces:
JobStatus.TaskGroupStatusOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
JobStatus

public static final class JobStatus.TaskGroupStatus extends com.google.protobuf.GeneratedMessage implements JobStatus.TaskGroupStatusOrBuilder
 Aggregated task status for a TaskGroup.
 
Protobuf type google.cloud.batch.v1alpha.JobStatus.TaskGroupStatus
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getCountsCount

      public int getCountsCount()
      Description copied from interface: JobStatus.TaskGroupStatusOrBuilder
       Count of task in each state in the TaskGroup.
       The map key is task state name.
       
      map<string, int64> counts = 1;
      Specified by:
      getCountsCount in interface JobStatus.TaskGroupStatusOrBuilder
    • containsCounts

      public boolean containsCounts(String key)
       Count of task in each state in the TaskGroup.
       The map key is task state name.
       
      map<string, int64> counts = 1;
      Specified by:
      containsCounts in interface JobStatus.TaskGroupStatusOrBuilder
    • getCounts

      @Deprecated public Map<String,Long> getCounts()
      Deprecated.
      Use getCountsMap() instead.
      Specified by:
      getCounts in interface JobStatus.TaskGroupStatusOrBuilder
    • getCountsMap

      public Map<String,Long> getCountsMap()
       Count of task in each state in the TaskGroup.
       The map key is task state name.
       
      map<string, int64> counts = 1;
      Specified by:
      getCountsMap in interface JobStatus.TaskGroupStatusOrBuilder
    • getCountsOrDefault

      public long getCountsOrDefault(String key, long defaultValue)
       Count of task in each state in the TaskGroup.
       The map key is task state name.
       
      map<string, int64> counts = 1;
      Specified by:
      getCountsOrDefault in interface JobStatus.TaskGroupStatusOrBuilder
    • getCountsOrThrow

      public long getCountsOrThrow(String key)
       Count of task in each state in the TaskGroup.
       The map key is task state name.
       
      map<string, int64> counts = 1;
      Specified by:
      getCountsOrThrow in interface JobStatus.TaskGroupStatusOrBuilder
    • getInstancesList

      public List<JobStatus.InstanceStatus> getInstancesList()
       Status of instances allocated for the TaskGroup.
       
      repeated .google.cloud.batch.v1alpha.JobStatus.InstanceStatus instances = 2;
      Specified by:
      getInstancesList in interface JobStatus.TaskGroupStatusOrBuilder
    • getInstancesOrBuilderList

      public List<? extends JobStatus.InstanceStatusOrBuilder> getInstancesOrBuilderList()
       Status of instances allocated for the TaskGroup.
       
      repeated .google.cloud.batch.v1alpha.JobStatus.InstanceStatus instances = 2;
      Specified by:
      getInstancesOrBuilderList in interface JobStatus.TaskGroupStatusOrBuilder
    • getInstancesCount

      public int getInstancesCount()
       Status of instances allocated for the TaskGroup.
       
      repeated .google.cloud.batch.v1alpha.JobStatus.InstanceStatus instances = 2;
      Specified by:
      getInstancesCount in interface JobStatus.TaskGroupStatusOrBuilder
    • getInstances

      public JobStatus.InstanceStatus getInstances(int index)
       Status of instances allocated for the TaskGroup.
       
      repeated .google.cloud.batch.v1alpha.JobStatus.InstanceStatus instances = 2;
      Specified by:
      getInstances in interface JobStatus.TaskGroupStatusOrBuilder
    • getInstancesOrBuilder

      public JobStatus.InstanceStatusOrBuilder getInstancesOrBuilder(int index)
       Status of instances allocated for the TaskGroup.
       
      repeated .google.cloud.batch.v1alpha.JobStatus.InstanceStatus instances = 2;
      Specified by:
      getInstancesOrBuilder in interface JobStatus.TaskGroupStatusOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static JobStatus.TaskGroupStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static JobStatus.TaskGroupStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static JobStatus.TaskGroupStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static JobStatus.TaskGroupStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static JobStatus.TaskGroupStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static JobStatus.TaskGroupStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static JobStatus.TaskGroupStatus parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static JobStatus.TaskGroupStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static JobStatus.TaskGroupStatus parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static JobStatus.TaskGroupStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static JobStatus.TaskGroupStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static JobStatus.TaskGroupStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public JobStatus.TaskGroupStatus.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static JobStatus.TaskGroupStatus.Builder newBuilder()
    • newBuilder

      public static JobStatus.TaskGroupStatus.Builder newBuilder(JobStatus.TaskGroupStatus prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected JobStatus.TaskGroupStatus.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static JobStatus.TaskGroupStatus getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<JobStatus.TaskGroupStatus> parser()
    • getParserForType

      public com.google.protobuf.Parser<JobStatus.TaskGroupStatus> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public JobStatus.TaskGroupStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder