Class DeploymentGroup.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DeploymentGroup.Builder>
com.google.cloud.config.v1.DeploymentGroup.Builder
All Implemented Interfaces:
DeploymentGroupOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DeploymentGroup

public static final class DeploymentGroup.Builder extends com.google.protobuf.GeneratedMessage.Builder<DeploymentGroup.Builder> implements DeploymentGroupOrBuilder
 A DeploymentGroup is a collection of DeploymentUnits that in a DAG-like
 structure.
 
Protobuf type google.cloud.config.v1.DeploymentGroup
  • 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<DeploymentGroup.Builder>
    • internalGetMutableMapFieldReflection

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

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

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

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

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

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

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

      public DeploymentGroup.Builder mergeFrom(DeploymentGroup other)
    • isInitialized

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

      public DeploymentGroup.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<DeploymentGroup.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. The name of the deployment group.
       Format:
       'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface DeploymentGroupOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The name of the deployment group.
       Format:
       'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface DeploymentGroupOrBuilder
      Returns:
      The bytes for name.
    • setName

      public DeploymentGroup.Builder setName(String value)
       Identifier. The name of the deployment group.
       Format:
       'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public DeploymentGroup.Builder clearName()
       Identifier. The name of the deployment group.
       Format:
       'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public DeploymentGroup.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The name of the deployment group.
       Format:
       'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Time when the deployment group was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface DeploymentGroupOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Time when the deployment group was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface DeploymentGroupOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public DeploymentGroup.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time when the deployment group was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public DeploymentGroup.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time when the deployment group was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public DeploymentGroup.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time when the deployment group was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public DeploymentGroup.Builder clearCreateTime()
       Output only. Time when the deployment group was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Time when the deployment group was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Time when the deployment group was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface DeploymentGroupOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Time when the deployment group was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface DeploymentGroupOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Time when the deployment group was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface DeploymentGroupOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public DeploymentGroup.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Time when the deployment group was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public DeploymentGroup.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time when the deployment group was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public DeploymentGroup.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Time when the deployment group was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public DeploymentGroup.Builder clearUpdateTime()
       Output only. Time when the deployment group was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Time when the deployment group was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Time when the deployment group was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface DeploymentGroupOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: DeploymentGroupOrBuilder
       Optional. User-defined metadata for the deployment group.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface DeploymentGroupOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. User-defined metadata for the deployment group.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface DeploymentGroupOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface DeploymentGroupOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. User-defined metadata for the deployment group.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface DeploymentGroupOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. User-defined metadata for the deployment group.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface DeploymentGroupOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. User-defined metadata for the deployment group.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface DeploymentGroupOrBuilder
    • clearLabels

      public DeploymentGroup.Builder clearLabels()
    • removeLabels

      public DeploymentGroup.Builder removeLabels(String key)
       Optional. User-defined metadata for the deployment group.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public DeploymentGroup.Builder putLabels(String key, String value)
       Optional. User-defined metadata for the deployment group.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public DeploymentGroup.Builder putAllLabels(Map<String,String> values)
       Optional. User-defined metadata for the deployment group.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotationsCount

      public int getAnnotationsCount()
      Description copied from interface: DeploymentGroupOrBuilder
       Optional. Arbitrary key-value metadata storage e.g. to help client tools
       identify deployment group during automation. See
       https://google.aip.dev/148#annotations for details on format and size
       limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsCount in interface DeploymentGroupOrBuilder
    • containsAnnotations

      public boolean containsAnnotations(String key)
       Optional. Arbitrary key-value metadata storage e.g. to help client tools
       identify deployment group during automation. See
       https://google.aip.dev/148#annotations for details on format and size
       limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsAnnotations in interface DeploymentGroupOrBuilder
    • getAnnotations

      @Deprecated public Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
      Specified by:
      getAnnotations in interface DeploymentGroupOrBuilder
    • getAnnotationsMap

      public Map<String,String> getAnnotationsMap()
       Optional. Arbitrary key-value metadata storage e.g. to help client tools
       identify deployment group during automation. See
       https://google.aip.dev/148#annotations for details on format and size
       limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsMap in interface DeploymentGroupOrBuilder
    • getAnnotationsOrDefault

      public String getAnnotationsOrDefault(String key, String defaultValue)
       Optional. Arbitrary key-value metadata storage e.g. to help client tools
       identify deployment group during automation. See
       https://google.aip.dev/148#annotations for details on format and size
       limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsOrDefault in interface DeploymentGroupOrBuilder
    • getAnnotationsOrThrow

      public String getAnnotationsOrThrow(String key)
       Optional. Arbitrary key-value metadata storage e.g. to help client tools
       identify deployment group during automation. See
       https://google.aip.dev/148#annotations for details on format and size
       limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsOrThrow in interface DeploymentGroupOrBuilder
    • clearAnnotations

      public DeploymentGroup.Builder clearAnnotations()
    • removeAnnotations

      public DeploymentGroup.Builder removeAnnotations(String key)
       Optional. Arbitrary key-value metadata storage e.g. to help client tools
       identify deployment group during automation. See
       https://google.aip.dev/148#annotations for details on format and size
       limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableAnnotations

      @Deprecated public Map<String,String> getMutableAnnotations()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAnnotations

      public DeploymentGroup.Builder putAnnotations(String key, String value)
       Optional. Arbitrary key-value metadata storage e.g. to help client tools
       identify deployment group during automation. See
       https://google.aip.dev/148#annotations for details on format and size
       limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
    • putAllAnnotations

      public DeploymentGroup.Builder putAllAnnotations(Map<String,String> values)
       Optional. Arbitrary key-value metadata storage e.g. to help client tools
       identify deployment group during automation. See
       https://google.aip.dev/148#annotations for details on format and size
       limitations.
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getStateValue

      public int getStateValue()
       Output only. Current state of the deployment group.
       
      .google.cloud.config.v1.DeploymentGroup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface DeploymentGroupOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public DeploymentGroup.Builder setStateValue(int value)
       Output only. Current state of the deployment group.
       
      .google.cloud.config.v1.DeploymentGroup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public DeploymentGroup.State getState()
       Output only. Current state of the deployment group.
       
      .google.cloud.config.v1.DeploymentGroup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface DeploymentGroupOrBuilder
      Returns:
      The state.
    • setState

       Output only. Current state of the deployment group.
       
      .google.cloud.config.v1.DeploymentGroup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public DeploymentGroup.Builder clearState()
       Output only. Current state of the deployment group.
       
      .google.cloud.config.v1.DeploymentGroup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getStateDescription

      public String getStateDescription()
       Output only. Additional information regarding the current state.
       
      string state_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateDescription in interface DeploymentGroupOrBuilder
      Returns:
      The stateDescription.
    • getStateDescriptionBytes

      public com.google.protobuf.ByteString getStateDescriptionBytes()
       Output only. Additional information regarding the current state.
       
      string state_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateDescriptionBytes in interface DeploymentGroupOrBuilder
      Returns:
      The bytes for stateDescription.
    • setStateDescription

      public DeploymentGroup.Builder setStateDescription(String value)
       Output only. Additional information regarding the current state.
       
      string state_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The stateDescription to set.
      Returns:
      This builder for chaining.
    • clearStateDescription

      public DeploymentGroup.Builder clearStateDescription()
       Output only. Additional information regarding the current state.
       
      string state_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setStateDescriptionBytes

      public DeploymentGroup.Builder setStateDescriptionBytes(com.google.protobuf.ByteString value)
       Output only. Additional information regarding the current state.
       
      string state_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for stateDescription to set.
      Returns:
      This builder for chaining.
    • getDeploymentUnitsList

      public List<DeploymentUnit> getDeploymentUnitsList()
       The deployment units of the deployment group in a DAG like structure.
       When a deployment group is being provisioned, the deployment units are
       deployed in a DAG order.
       The provided units must be in a DAG order, otherwise an error will be
       returned.
       
      repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8;
      Specified by:
      getDeploymentUnitsList in interface DeploymentGroupOrBuilder
    • getDeploymentUnitsCount

      public int getDeploymentUnitsCount()
       The deployment units of the deployment group in a DAG like structure.
       When a deployment group is being provisioned, the deployment units are
       deployed in a DAG order.
       The provided units must be in a DAG order, otherwise an error will be
       returned.
       
      repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8;
      Specified by:
      getDeploymentUnitsCount in interface DeploymentGroupOrBuilder
    • getDeploymentUnits

      public DeploymentUnit getDeploymentUnits(int index)
       The deployment units of the deployment group in a DAG like structure.
       When a deployment group is being provisioned, the deployment units are
       deployed in a DAG order.
       The provided units must be in a DAG order, otherwise an error will be
       returned.
       
      repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8;
      Specified by:
      getDeploymentUnits in interface DeploymentGroupOrBuilder
    • setDeploymentUnits

      public DeploymentGroup.Builder setDeploymentUnits(int index, DeploymentUnit value)
       The deployment units of the deployment group in a DAG like structure.
       When a deployment group is being provisioned, the deployment units are
       deployed in a DAG order.
       The provided units must be in a DAG order, otherwise an error will be
       returned.
       
      repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8;
    • setDeploymentUnits

      public DeploymentGroup.Builder setDeploymentUnits(int index, DeploymentUnit.Builder builderForValue)
       The deployment units of the deployment group in a DAG like structure.
       When a deployment group is being provisioned, the deployment units are
       deployed in a DAG order.
       The provided units must be in a DAG order, otherwise an error will be
       returned.
       
      repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8;
    • addDeploymentUnits

      public DeploymentGroup.Builder addDeploymentUnits(DeploymentUnit value)
       The deployment units of the deployment group in a DAG like structure.
       When a deployment group is being provisioned, the deployment units are
       deployed in a DAG order.
       The provided units must be in a DAG order, otherwise an error will be
       returned.
       
      repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8;
    • addDeploymentUnits

      public DeploymentGroup.Builder addDeploymentUnits(int index, DeploymentUnit value)
       The deployment units of the deployment group in a DAG like structure.
       When a deployment group is being provisioned, the deployment units are
       deployed in a DAG order.
       The provided units must be in a DAG order, otherwise an error will be
       returned.
       
      repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8;
    • addDeploymentUnits

      public DeploymentGroup.Builder addDeploymentUnits(DeploymentUnit.Builder builderForValue)
       The deployment units of the deployment group in a DAG like structure.
       When a deployment group is being provisioned, the deployment units are
       deployed in a DAG order.
       The provided units must be in a DAG order, otherwise an error will be
       returned.
       
      repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8;
    • addDeploymentUnits

      public DeploymentGroup.Builder addDeploymentUnits(int index, DeploymentUnit.Builder builderForValue)
       The deployment units of the deployment group in a DAG like structure.
       When a deployment group is being provisioned, the deployment units are
       deployed in a DAG order.
       The provided units must be in a DAG order, otherwise an error will be
       returned.
       
      repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8;
    • addAllDeploymentUnits

      public DeploymentGroup.Builder addAllDeploymentUnits(Iterable<? extends DeploymentUnit> values)
       The deployment units of the deployment group in a DAG like structure.
       When a deployment group is being provisioned, the deployment units are
       deployed in a DAG order.
       The provided units must be in a DAG order, otherwise an error will be
       returned.
       
      repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8;
    • clearDeploymentUnits

      public DeploymentGroup.Builder clearDeploymentUnits()
       The deployment units of the deployment group in a DAG like structure.
       When a deployment group is being provisioned, the deployment units are
       deployed in a DAG order.
       The provided units must be in a DAG order, otherwise an error will be
       returned.
       
      repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8;
    • removeDeploymentUnits

      public DeploymentGroup.Builder removeDeploymentUnits(int index)
       The deployment units of the deployment group in a DAG like structure.
       When a deployment group is being provisioned, the deployment units are
       deployed in a DAG order.
       The provided units must be in a DAG order, otherwise an error will be
       returned.
       
      repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8;
    • getDeploymentUnitsBuilder

      public DeploymentUnit.Builder getDeploymentUnitsBuilder(int index)
       The deployment units of the deployment group in a DAG like structure.
       When a deployment group is being provisioned, the deployment units are
       deployed in a DAG order.
       The provided units must be in a DAG order, otherwise an error will be
       returned.
       
      repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8;
    • getDeploymentUnitsOrBuilder

      public DeploymentUnitOrBuilder getDeploymentUnitsOrBuilder(int index)
       The deployment units of the deployment group in a DAG like structure.
       When a deployment group is being provisioned, the deployment units are
       deployed in a DAG order.
       The provided units must be in a DAG order, otherwise an error will be
       returned.
       
      repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8;
      Specified by:
      getDeploymentUnitsOrBuilder in interface DeploymentGroupOrBuilder
    • getDeploymentUnitsOrBuilderList

      public List<? extends DeploymentUnitOrBuilder> getDeploymentUnitsOrBuilderList()
       The deployment units of the deployment group in a DAG like structure.
       When a deployment group is being provisioned, the deployment units are
       deployed in a DAG order.
       The provided units must be in a DAG order, otherwise an error will be
       returned.
       
      repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8;
      Specified by:
      getDeploymentUnitsOrBuilderList in interface DeploymentGroupOrBuilder
    • addDeploymentUnitsBuilder

      public DeploymentUnit.Builder addDeploymentUnitsBuilder()
       The deployment units of the deployment group in a DAG like structure.
       When a deployment group is being provisioned, the deployment units are
       deployed in a DAG order.
       The provided units must be in a DAG order, otherwise an error will be
       returned.
       
      repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8;
    • addDeploymentUnitsBuilder

      public DeploymentUnit.Builder addDeploymentUnitsBuilder(int index)
       The deployment units of the deployment group in a DAG like structure.
       When a deployment group is being provisioned, the deployment units are
       deployed in a DAG order.
       The provided units must be in a DAG order, otherwise an error will be
       returned.
       
      repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8;
    • getDeploymentUnitsBuilderList

      public List<DeploymentUnit.Builder> getDeploymentUnitsBuilderList()
       The deployment units of the deployment group in a DAG like structure.
       When a deployment group is being provisioned, the deployment units are
       deployed in a DAG order.
       The provided units must be in a DAG order, otherwise an error will be
       returned.
       
      repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8;
    • getProvisioningStateValue

      public int getProvisioningStateValue()
       Output only. The provisioning state of the deployment group.
       
      .google.cloud.config.v1.DeploymentGroup.ProvisioningState provisioning_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProvisioningStateValue in interface DeploymentGroupOrBuilder
      Returns:
      The enum numeric value on the wire for provisioningState.
    • setProvisioningStateValue

      public DeploymentGroup.Builder setProvisioningStateValue(int value)
       Output only. The provisioning state of the deployment group.
       
      .google.cloud.config.v1.DeploymentGroup.ProvisioningState provisioning_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for provisioningState to set.
      Returns:
      This builder for chaining.
    • getProvisioningState

      public DeploymentGroup.ProvisioningState getProvisioningState()
       Output only. The provisioning state of the deployment group.
       
      .google.cloud.config.v1.DeploymentGroup.ProvisioningState provisioning_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProvisioningState in interface DeploymentGroupOrBuilder
      Returns:
      The provisioningState.
    • setProvisioningState

      public DeploymentGroup.Builder setProvisioningState(DeploymentGroup.ProvisioningState value)
       Output only. The provisioning state of the deployment group.
       
      .google.cloud.config.v1.DeploymentGroup.ProvisioningState provisioning_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The provisioningState to set.
      Returns:
      This builder for chaining.
    • clearProvisioningState

      public DeploymentGroup.Builder clearProvisioningState()
       Output only. The provisioning state of the deployment group.
       
      .google.cloud.config.v1.DeploymentGroup.ProvisioningState provisioning_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getProvisioningStateDescription

      public String getProvisioningStateDescription()
       Output only. Additional information regarding the current provisioning
       state.
       
      string provisioning_state_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProvisioningStateDescription in interface DeploymentGroupOrBuilder
      Returns:
      The provisioningStateDescription.
    • getProvisioningStateDescriptionBytes

      public com.google.protobuf.ByteString getProvisioningStateDescriptionBytes()
       Output only. Additional information regarding the current provisioning
       state.
       
      string provisioning_state_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProvisioningStateDescriptionBytes in interface DeploymentGroupOrBuilder
      Returns:
      The bytes for provisioningStateDescription.
    • setProvisioningStateDescription

      public DeploymentGroup.Builder setProvisioningStateDescription(String value)
       Output only. Additional information regarding the current provisioning
       state.
       
      string provisioning_state_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The provisioningStateDescription to set.
      Returns:
      This builder for chaining.
    • clearProvisioningStateDescription

      public DeploymentGroup.Builder clearProvisioningStateDescription()
       Output only. Additional information regarding the current provisioning
       state.
       
      string provisioning_state_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setProvisioningStateDescriptionBytes

      public DeploymentGroup.Builder setProvisioningStateDescriptionBytes(com.google.protobuf.ByteString value)
       Output only. Additional information regarding the current provisioning
       state.
       
      string provisioning_state_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for provisioningStateDescription to set.
      Returns:
      This builder for chaining.
    • hasProvisioningError

      public boolean hasProvisioningError()
       Output only. The error status of the deployment group provisioning or
       deprovisioning.
       
      .google.rpc.Status provisioning_error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasProvisioningError in interface DeploymentGroupOrBuilder
      Returns:
      Whether the provisioningError field is set.
    • getProvisioningError

      public Status getProvisioningError()
       Output only. The error status of the deployment group provisioning or
       deprovisioning.
       
      .google.rpc.Status provisioning_error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProvisioningError in interface DeploymentGroupOrBuilder
      Returns:
      The provisioningError.
    • setProvisioningError

      public DeploymentGroup.Builder setProvisioningError(Status value)
       Output only. The error status of the deployment group provisioning or
       deprovisioning.
       
      .google.rpc.Status provisioning_error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setProvisioningError

      public DeploymentGroup.Builder setProvisioningError(Status.Builder builderForValue)
       Output only. The error status of the deployment group provisioning or
       deprovisioning.
       
      .google.rpc.Status provisioning_error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeProvisioningError

      public DeploymentGroup.Builder mergeProvisioningError(Status value)
       Output only. The error status of the deployment group provisioning or
       deprovisioning.
       
      .google.rpc.Status provisioning_error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearProvisioningError

      public DeploymentGroup.Builder clearProvisioningError()
       Output only. The error status of the deployment group provisioning or
       deprovisioning.
       
      .google.rpc.Status provisioning_error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getProvisioningErrorBuilder

      public Status.Builder getProvisioningErrorBuilder()
       Output only. The error status of the deployment group provisioning or
       deprovisioning.
       
      .google.rpc.Status provisioning_error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getProvisioningErrorOrBuilder

      public StatusOrBuilder getProvisioningErrorOrBuilder()
       Output only. The error status of the deployment group provisioning or
       deprovisioning.
       
      .google.rpc.Status provisioning_error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProvisioningErrorOrBuilder in interface DeploymentGroupOrBuilder