Class DeploymentGroup

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.config.v1.DeploymentGroup
All Implemented Interfaces:
DeploymentGroupOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DeploymentGroup extends com.google.protobuf.GeneratedMessage implements DeploymentGroupOrBuilder
 A DeploymentGroup is a collection of DeploymentUnits that in a DAG-like
 structure.
 
Protobuf type google.cloud.config.v1.DeploymentGroup
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
    • LABELS_FIELD_NUMBER

      public static final int LABELS_FIELD_NUMBER
      See Also:
    • ANNOTATIONS_FIELD_NUMBER

      public static final int ANNOTATIONS_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • STATE_DESCRIPTION_FIELD_NUMBER

      public static final int STATE_DESCRIPTION_FIELD_NUMBER
      See Also:
    • DEPLOYMENT_UNITS_FIELD_NUMBER

      public static final int DEPLOYMENT_UNITS_FIELD_NUMBER
      See Also:
    • PROVISIONING_STATE_FIELD_NUMBER

      public static final int PROVISIONING_STATE_FIELD_NUMBER
      See Also:
    • PROVISIONING_STATE_DESCRIPTION_FIELD_NUMBER

      public static final int PROVISIONING_STATE_DESCRIPTION_FIELD_NUMBER
      See Also:
    • PROVISIONING_ERROR_FIELD_NUMBER

      public static final int PROVISIONING_ERROR_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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.
    • 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.
    • 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
    • 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
    • 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.
    • 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.
    • 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.
    • 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
    • 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
    • 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
    • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • 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 DeploymentGroup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static DeploymentGroup parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static DeploymentGroup parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static DeploymentGroup.Builder newBuilder()
    • newBuilder

      public static DeploymentGroup.Builder newBuilder(DeploymentGroup prototype)
    • toBuilder

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

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

      public static DeploymentGroup getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<DeploymentGroup> 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 DeploymentGroup getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder