Class JobDependency.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<JobDependency.Builder>
com.google.cloud.batch.v1alpha.JobDependency.Builder
All Implemented Interfaces:
JobDependencyOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
JobDependency

public static final class JobDependency.Builder extends com.google.protobuf.GeneratedMessage.Builder<JobDependency.Builder> implements JobDependencyOrBuilder
 JobDependency describes the state of other Jobs that the start of this Job
 depends on.
 All dependent Jobs must have been submitted in the same region.
 
Protobuf type google.cloud.batch.v1alpha.JobDependency
  • 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.Builder<JobDependency.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<JobDependency.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<JobDependency.Builder>
    • clear

      public JobDependency.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<JobDependency.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<JobDependency.Builder>
    • getDefaultInstanceForType

      public JobDependency getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public JobDependency build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public JobDependency buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public JobDependency.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<JobDependency.Builder>
    • mergeFrom

      public JobDependency.Builder mergeFrom(JobDependency other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<JobDependency.Builder>
    • mergeFrom

      public JobDependency.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<JobDependency.Builder>
      Throws:
      IOException
    • getItemsCount

      public int getItemsCount()
      Description copied from interface: JobDependencyOrBuilder
       Each item maps a Job name to a Type.
       All items must be satisfied for the JobDependency to be satisfied (the AND
       operation).
       Once a condition for one item becomes true, it won't go back to false
       even the dependent Job state changes again.
       
      map<string, .google.cloud.batch.v1alpha.JobDependency.Type> items = 1;
      Specified by:
      getItemsCount in interface JobDependencyOrBuilder
    • containsItems

      public boolean containsItems(String key)
       Each item maps a Job name to a Type.
       All items must be satisfied for the JobDependency to be satisfied (the AND
       operation).
       Once a condition for one item becomes true, it won't go back to false
       even the dependent Job state changes again.
       
      map<string, .google.cloud.batch.v1alpha.JobDependency.Type> items = 1;
      Specified by:
      containsItems in interface JobDependencyOrBuilder
    • getItems

      Deprecated.
      Use getItemsMap() instead.
      Specified by:
      getItems in interface JobDependencyOrBuilder
    • getItemsMap

      public Map<String,JobDependency.Type> getItemsMap()
       Each item maps a Job name to a Type.
       All items must be satisfied for the JobDependency to be satisfied (the AND
       operation).
       Once a condition for one item becomes true, it won't go back to false
       even the dependent Job state changes again.
       
      map<string, .google.cloud.batch.v1alpha.JobDependency.Type> items = 1;
      Specified by:
      getItemsMap in interface JobDependencyOrBuilder
    • getItemsOrDefault

      public JobDependency.Type getItemsOrDefault(String key, JobDependency.Type defaultValue)
       Each item maps a Job name to a Type.
       All items must be satisfied for the JobDependency to be satisfied (the AND
       operation).
       Once a condition for one item becomes true, it won't go back to false
       even the dependent Job state changes again.
       
      map<string, .google.cloud.batch.v1alpha.JobDependency.Type> items = 1;
      Specified by:
      getItemsOrDefault in interface JobDependencyOrBuilder
    • getItemsOrThrow

      public JobDependency.Type getItemsOrThrow(String key)
       Each item maps a Job name to a Type.
       All items must be satisfied for the JobDependency to be satisfied (the AND
       operation).
       Once a condition for one item becomes true, it won't go back to false
       even the dependent Job state changes again.
       
      map<string, .google.cloud.batch.v1alpha.JobDependency.Type> items = 1;
      Specified by:
      getItemsOrThrow in interface JobDependencyOrBuilder
    • getItemsValue

      @Deprecated public Map<String,Integer> getItemsValue()
      Deprecated.
      Use getItemsValueMap() instead.
      Specified by:
      getItemsValue in interface JobDependencyOrBuilder
    • getItemsValueMap

      public Map<String,Integer> getItemsValueMap()
       Each item maps a Job name to a Type.
       All items must be satisfied for the JobDependency to be satisfied (the AND
       operation).
       Once a condition for one item becomes true, it won't go back to false
       even the dependent Job state changes again.
       
      map<string, .google.cloud.batch.v1alpha.JobDependency.Type> items = 1;
      Specified by:
      getItemsValueMap in interface JobDependencyOrBuilder
    • getItemsValueOrDefault

      public int getItemsValueOrDefault(String key, int defaultValue)
       Each item maps a Job name to a Type.
       All items must be satisfied for the JobDependency to be satisfied (the AND
       operation).
       Once a condition for one item becomes true, it won't go back to false
       even the dependent Job state changes again.
       
      map<string, .google.cloud.batch.v1alpha.JobDependency.Type> items = 1;
      Specified by:
      getItemsValueOrDefault in interface JobDependencyOrBuilder
    • getItemsValueOrThrow

      public int getItemsValueOrThrow(String key)
       Each item maps a Job name to a Type.
       All items must be satisfied for the JobDependency to be satisfied (the AND
       operation).
       Once a condition for one item becomes true, it won't go back to false
       even the dependent Job state changes again.
       
      map<string, .google.cloud.batch.v1alpha.JobDependency.Type> items = 1;
      Specified by:
      getItemsValueOrThrow in interface JobDependencyOrBuilder
    • clearItems

      public JobDependency.Builder clearItems()
    • removeItems

      public JobDependency.Builder removeItems(String key)
       Each item maps a Job name to a Type.
       All items must be satisfied for the JobDependency to be satisfied (the AND
       operation).
       Once a condition for one item becomes true, it won't go back to false
       even the dependent Job state changes again.
       
      map<string, .google.cloud.batch.v1alpha.JobDependency.Type> items = 1;
    • getMutableItems

      @Deprecated public Map<String,JobDependency.Type> getMutableItems()
      Deprecated.
      Use alternate mutation accessors instead.
    • putItems

      public JobDependency.Builder putItems(String key, JobDependency.Type value)
       Each item maps a Job name to a Type.
       All items must be satisfied for the JobDependency to be satisfied (the AND
       operation).
       Once a condition for one item becomes true, it won't go back to false
       even the dependent Job state changes again.
       
      map<string, .google.cloud.batch.v1alpha.JobDependency.Type> items = 1;
    • putAllItems

      public JobDependency.Builder putAllItems(Map<String,JobDependency.Type> values)
       Each item maps a Job name to a Type.
       All items must be satisfied for the JobDependency to be satisfied (the AND
       operation).
       Once a condition for one item becomes true, it won't go back to false
       even the dependent Job state changes again.
       
      map<string, .google.cloud.batch.v1alpha.JobDependency.Type> items = 1;
    • getMutableItemsValue

      @Deprecated public Map<String,Integer> getMutableItemsValue()
      Deprecated.
      Use alternate mutation accessors instead.
    • putItemsValue

      public JobDependency.Builder putItemsValue(String key, int value)
       Each item maps a Job name to a Type.
       All items must be satisfied for the JobDependency to be satisfied (the AND
       operation).
       Once a condition for one item becomes true, it won't go back to false
       even the dependent Job state changes again.
       
      map<string, .google.cloud.batch.v1alpha.JobDependency.Type> items = 1;
    • putAllItemsValue

      public JobDependency.Builder putAllItemsValue(Map<String,Integer> values)
       Each item maps a Job name to a Type.
       All items must be satisfied for the JobDependency to be satisfied (the AND
       operation).
       Once a condition for one item becomes true, it won't go back to false
       even the dependent Job state changes again.
       
      map<string, .google.cloud.batch.v1alpha.JobDependency.Type> items = 1;