Class OperationGroup.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OperationGroup.Builder>
com.google.cloud.recommender.v1beta1.OperationGroup.Builder
All Implemented Interfaces:
OperationGroupOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
OperationGroup

public static final class OperationGroup.Builder extends com.google.protobuf.GeneratedMessage.Builder<OperationGroup.Builder> implements OperationGroupOrBuilder
 Group of operations that need to be performed atomically.
 
Protobuf type google.cloud.recommender.v1beta1.OperationGroup
  • Method Details

    • getDescriptor

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

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

      public OperationGroup.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<OperationGroup.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<OperationGroup.Builder>
    • getDefaultInstanceForType

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

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

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

      public OperationGroup.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<OperationGroup.Builder>
    • mergeFrom

      public OperationGroup.Builder mergeFrom(OperationGroup other)
    • isInitialized

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

      public OperationGroup.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<OperationGroup.Builder>
      Throws:
      IOException
    • getOperationsList

      public List<Operation> getOperationsList()
       List of operations across one or more resources that belong to this group.
       Loosely based on RFC6902 and should be performed in the order they appear.
       
      repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
      Specified by:
      getOperationsList in interface OperationGroupOrBuilder
    • getOperationsCount

      public int getOperationsCount()
       List of operations across one or more resources that belong to this group.
       Loosely based on RFC6902 and should be performed in the order they appear.
       
      repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
      Specified by:
      getOperationsCount in interface OperationGroupOrBuilder
    • getOperations

      public Operation getOperations(int index)
       List of operations across one or more resources that belong to this group.
       Loosely based on RFC6902 and should be performed in the order they appear.
       
      repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
      Specified by:
      getOperations in interface OperationGroupOrBuilder
    • setOperations

      public OperationGroup.Builder setOperations(int index, Operation value)
       List of operations across one or more resources that belong to this group.
       Loosely based on RFC6902 and should be performed in the order they appear.
       
      repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
    • setOperations

      public OperationGroup.Builder setOperations(int index, Operation.Builder builderForValue)
       List of operations across one or more resources that belong to this group.
       Loosely based on RFC6902 and should be performed in the order they appear.
       
      repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
    • addOperations

      public OperationGroup.Builder addOperations(Operation value)
       List of operations across one or more resources that belong to this group.
       Loosely based on RFC6902 and should be performed in the order they appear.
       
      repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
    • addOperations

      public OperationGroup.Builder addOperations(int index, Operation value)
       List of operations across one or more resources that belong to this group.
       Loosely based on RFC6902 and should be performed in the order they appear.
       
      repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
    • addOperations

      public OperationGroup.Builder addOperations(Operation.Builder builderForValue)
       List of operations across one or more resources that belong to this group.
       Loosely based on RFC6902 and should be performed in the order they appear.
       
      repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
    • addOperations

      public OperationGroup.Builder addOperations(int index, Operation.Builder builderForValue)
       List of operations across one or more resources that belong to this group.
       Loosely based on RFC6902 and should be performed in the order they appear.
       
      repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
    • addAllOperations

      public OperationGroup.Builder addAllOperations(Iterable<? extends Operation> values)
       List of operations across one or more resources that belong to this group.
       Loosely based on RFC6902 and should be performed in the order they appear.
       
      repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
    • clearOperations

      public OperationGroup.Builder clearOperations()
       List of operations across one or more resources that belong to this group.
       Loosely based on RFC6902 and should be performed in the order they appear.
       
      repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
    • removeOperations

      public OperationGroup.Builder removeOperations(int index)
       List of operations across one or more resources that belong to this group.
       Loosely based on RFC6902 and should be performed in the order they appear.
       
      repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
    • getOperationsBuilder

      public Operation.Builder getOperationsBuilder(int index)
       List of operations across one or more resources that belong to this group.
       Loosely based on RFC6902 and should be performed in the order they appear.
       
      repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
    • getOperationsOrBuilder

      public OperationOrBuilder getOperationsOrBuilder(int index)
       List of operations across one or more resources that belong to this group.
       Loosely based on RFC6902 and should be performed in the order they appear.
       
      repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
      Specified by:
      getOperationsOrBuilder in interface OperationGroupOrBuilder
    • getOperationsOrBuilderList

      public List<? extends OperationOrBuilder> getOperationsOrBuilderList()
       List of operations across one or more resources that belong to this group.
       Loosely based on RFC6902 and should be performed in the order they appear.
       
      repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
      Specified by:
      getOperationsOrBuilderList in interface OperationGroupOrBuilder
    • addOperationsBuilder

      public Operation.Builder addOperationsBuilder()
       List of operations across one or more resources that belong to this group.
       Loosely based on RFC6902 and should be performed in the order they appear.
       
      repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
    • addOperationsBuilder

      public Operation.Builder addOperationsBuilder(int index)
       List of operations across one or more resources that belong to this group.
       Loosely based on RFC6902 and should be performed in the order they appear.
       
      repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
    • getOperationsBuilderList

      public List<Operation.Builder> getOperationsBuilderList()
       List of operations across one or more resources that belong to this group.
       Loosely based on RFC6902 and should be performed in the order they appear.
       
      repeated .google.cloud.recommender.v1beta1.Operation operations = 1;