java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit
All Implemented Interfaces:
UnitOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Unit extends com.google.protobuf.GeneratedMessage implements UnitOrBuilder
 A unit of deployment that has its lifecycle via a CRUD API using an actuation
 engine under the hood (e.g. based on Terraform, Helm or a custom
 implementation provided by a service producer). A building block of a SaaS
 Tenant.
 
Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • UNIT_KIND_FIELD_NUMBER

      public static final int UNIT_KIND_FIELD_NUMBER
      See Also:
    • RELEASE_FIELD_NUMBER

      public static final int RELEASE_FIELD_NUMBER
      See Also:
    • TENANT_FIELD_NUMBER

      public static final int TENANT_FIELD_NUMBER
      See Also:
    • ONGOING_OPERATIONS_FIELD_NUMBER

      public static final int ONGOING_OPERATIONS_FIELD_NUMBER
      See Also:
    • PENDING_OPERATIONS_FIELD_NUMBER

      public static final int PENDING_OPERATIONS_FIELD_NUMBER
      See Also:
    • SCHEDULED_OPERATIONS_FIELD_NUMBER

      public static final int SCHEDULED_OPERATIONS_FIELD_NUMBER
      See Also:
    • DEPENDENTS_FIELD_NUMBER

      public static final int DEPENDENTS_FIELD_NUMBER
      See Also:
    • DEPENDENCIES_FIELD_NUMBER

      public static final int DEPENDENCIES_FIELD_NUMBER
      See Also:
    • INPUT_VARIABLES_FIELD_NUMBER

      public static final int INPUT_VARIABLES_FIELD_NUMBER
      See Also:
    • OUTPUT_VARIABLES_FIELD_NUMBER

      public static final int OUTPUT_VARIABLES_FIELD_NUMBER
      See Also:
    • MAINTENANCE_FIELD_NUMBER

      public static final int MAINTENANCE_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • CONDITIONS_FIELD_NUMBER

      public static final int CONDITIONS_FIELD_NUMBER
      See Also:
    • MANAGEMENT_MODE_FIELD_NUMBER

      public static final int MANAGEMENT_MODE_FIELD_NUMBER
      See Also:
    • SYSTEM_MANAGED_STATE_FIELD_NUMBER

      public static final int SYSTEM_MANAGED_STATE_FIELD_NUMBER
      See Also:
    • SYSTEM_CLEANUP_AT_FIELD_NUMBER

      public static final int SYSTEM_CLEANUP_AT_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:
    • UID_FIELD_NUMBER

      public static final int UID_FIELD_NUMBER
      See Also:
    • ETAG_FIELD_NUMBER

      public static final int ETAG_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:
  • 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 resource name (full URI of the resource) following the
       standard naming scheme:
      
       "projects/{project}/locations/{location}/units/{unit}"
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface UnitOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name (full URI of the resource) following the
       standard naming scheme:
      
       "projects/{project}/locations/{location}/units/{unit}"
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface UnitOrBuilder
      Returns:
      The bytes for name.
    • getUnitKind

      public String getUnitKind()
       Optional. Reference to the UnitKind this Unit belongs to. Immutable once
       set.
       
      string unit_kind = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getUnitKind in interface UnitOrBuilder
      Returns:
      The unitKind.
    • getUnitKindBytes

      public com.google.protobuf.ByteString getUnitKindBytes()
       Optional. Reference to the UnitKind this Unit belongs to. Immutable once
       set.
       
      string unit_kind = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getUnitKindBytes in interface UnitOrBuilder
      Returns:
      The bytes for unitKind.
    • getRelease

      public String getRelease()
       Optional. Output only. The current Release object for this Unit.
       
      string release = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getRelease in interface UnitOrBuilder
      Returns:
      The release.
    • getReleaseBytes

      public com.google.protobuf.ByteString getReleaseBytes()
       Optional. Output only. The current Release object for this Unit.
       
      string release = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getReleaseBytes in interface UnitOrBuilder
      Returns:
      The bytes for release.
    • getTenant

      public String getTenant()
       Optional. Reference to the Saas Tenant resource this unit belongs to. This
       for example informs the maintenance policies to use for scheduling future
       updates on a unit. (optional and immutable once created)
       
      string tenant = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getTenant in interface UnitOrBuilder
      Returns:
      The tenant.
    • getTenantBytes

      public com.google.protobuf.ByteString getTenantBytes()
       Optional. Reference to the Saas Tenant resource this unit belongs to. This
       for example informs the maintenance policies to use for scheduling future
       updates on a unit. (optional and immutable once created)
       
      string tenant = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getTenantBytes in interface UnitOrBuilder
      Returns:
      The bytes for tenant.
    • getOngoingOperationsList

      public com.google.protobuf.ProtocolStringList getOngoingOperationsList()
       Optional. Output only. List of concurrent UnitOperations that are operating
       on this Unit.
       
      repeated string ongoing_operations = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getOngoingOperationsList in interface UnitOrBuilder
      Returns:
      A list containing the ongoingOperations.
    • getOngoingOperationsCount

      public int getOngoingOperationsCount()
       Optional. Output only. List of concurrent UnitOperations that are operating
       on this Unit.
       
      repeated string ongoing_operations = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getOngoingOperationsCount in interface UnitOrBuilder
      Returns:
      The count of ongoingOperations.
    • getOngoingOperations

      public String getOngoingOperations(int index)
       Optional. Output only. List of concurrent UnitOperations that are operating
       on this Unit.
       
      repeated string ongoing_operations = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getOngoingOperations in interface UnitOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The ongoingOperations at the given index.
    • getOngoingOperationsBytes

      public com.google.protobuf.ByteString getOngoingOperationsBytes(int index)
       Optional. Output only. List of concurrent UnitOperations that are operating
       on this Unit.
       
      repeated string ongoing_operations = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getOngoingOperationsBytes in interface UnitOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the ongoingOperations at the given index.
    • getPendingOperationsList

      public com.google.protobuf.ProtocolStringList getPendingOperationsList()
       Optional. Output only. List of pending (wait to be executed) UnitOperations
       for this unit.
       
      repeated string pending_operations = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getPendingOperationsList in interface UnitOrBuilder
      Returns:
      A list containing the pendingOperations.
    • getPendingOperationsCount

      public int getPendingOperationsCount()
       Optional. Output only. List of pending (wait to be executed) UnitOperations
       for this unit.
       
      repeated string pending_operations = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getPendingOperationsCount in interface UnitOrBuilder
      Returns:
      The count of pendingOperations.
    • getPendingOperations

      public String getPendingOperations(int index)
       Optional. Output only. List of pending (wait to be executed) UnitOperations
       for this unit.
       
      repeated string pending_operations = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getPendingOperations in interface UnitOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The pendingOperations at the given index.
    • getPendingOperationsBytes

      public com.google.protobuf.ByteString getPendingOperationsBytes(int index)
       Optional. Output only. List of pending (wait to be executed) UnitOperations
       for this unit.
       
      repeated string pending_operations = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getPendingOperationsBytes in interface UnitOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the pendingOperations at the given index.
    • getScheduledOperationsList

      public com.google.protobuf.ProtocolStringList getScheduledOperationsList()
       Optional. Output only. List of scheduled UnitOperations for this unit.
       
      repeated string scheduled_operations = 24 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getScheduledOperationsList in interface UnitOrBuilder
      Returns:
      A list containing the scheduledOperations.
    • getScheduledOperationsCount

      public int getScheduledOperationsCount()
       Optional. Output only. List of scheduled UnitOperations for this unit.
       
      repeated string scheduled_operations = 24 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getScheduledOperationsCount in interface UnitOrBuilder
      Returns:
      The count of scheduledOperations.
    • getScheduledOperations

      public String getScheduledOperations(int index)
       Optional. Output only. List of scheduled UnitOperations for this unit.
       
      repeated string scheduled_operations = 24 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getScheduledOperations in interface UnitOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The scheduledOperations at the given index.
    • getScheduledOperationsBytes

      public com.google.protobuf.ByteString getScheduledOperationsBytes(int index)
       Optional. Output only. List of scheduled UnitOperations for this unit.
       
      repeated string scheduled_operations = 24 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getScheduledOperationsBytes in interface UnitOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the scheduledOperations at the given index.
    • getDependentsList

      public List<UnitDependency> getDependentsList()
       Optional. Output only. List of Units that depend on this unit. Unit can
       only be deprovisioned if this list is empty. Maximum 1000.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitDependency dependents = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDependentsList in interface UnitOrBuilder
    • getDependentsOrBuilderList

      public List<? extends UnitDependencyOrBuilder> getDependentsOrBuilderList()
       Optional. Output only. List of Units that depend on this unit. Unit can
       only be deprovisioned if this list is empty. Maximum 1000.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitDependency dependents = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDependentsOrBuilderList in interface UnitOrBuilder
    • getDependentsCount

      public int getDependentsCount()
       Optional. Output only. List of Units that depend on this unit. Unit can
       only be deprovisioned if this list is empty. Maximum 1000.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitDependency dependents = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDependentsCount in interface UnitOrBuilder
    • getDependents

      public UnitDependency getDependents(int index)
       Optional. Output only. List of Units that depend on this unit. Unit can
       only be deprovisioned if this list is empty. Maximum 1000.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitDependency dependents = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDependents in interface UnitOrBuilder
    • getDependentsOrBuilder

      public UnitDependencyOrBuilder getDependentsOrBuilder(int index)
       Optional. Output only. List of Units that depend on this unit. Unit can
       only be deprovisioned if this list is empty. Maximum 1000.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitDependency dependents = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDependentsOrBuilder in interface UnitOrBuilder
    • getDependenciesList

      public List<UnitDependency> getDependenciesList()
       Optional. Output only. Set of dependencies for this unit. Maximum 10.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitDependency dependencies = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDependenciesList in interface UnitOrBuilder
    • getDependenciesOrBuilderList

      public List<? extends UnitDependencyOrBuilder> getDependenciesOrBuilderList()
       Optional. Output only. Set of dependencies for this unit. Maximum 10.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitDependency dependencies = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDependenciesOrBuilderList in interface UnitOrBuilder
    • getDependenciesCount

      public int getDependenciesCount()
       Optional. Output only. Set of dependencies for this unit. Maximum 10.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitDependency dependencies = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDependenciesCount in interface UnitOrBuilder
    • getDependencies

      public UnitDependency getDependencies(int index)
       Optional. Output only. Set of dependencies for this unit. Maximum 10.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitDependency dependencies = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDependencies in interface UnitOrBuilder
    • getDependenciesOrBuilder

      public UnitDependencyOrBuilder getDependenciesOrBuilder(int index)
       Optional. Output only. Set of dependencies for this unit. Maximum 10.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitDependency dependencies = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDependenciesOrBuilder in interface UnitOrBuilder
    • getInputVariablesList

      public List<UnitVariable> getInputVariablesList()
       Optional. Output only. Indicates the current input variables deployed by
       the unit
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable input_variables = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInputVariablesList in interface UnitOrBuilder
    • getInputVariablesOrBuilderList

      public List<? extends UnitVariableOrBuilder> getInputVariablesOrBuilderList()
       Optional. Output only. Indicates the current input variables deployed by
       the unit
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable input_variables = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInputVariablesOrBuilderList in interface UnitOrBuilder
    • getInputVariablesCount

      public int getInputVariablesCount()
       Optional. Output only. Indicates the current input variables deployed by
       the unit
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable input_variables = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInputVariablesCount in interface UnitOrBuilder
    • getInputVariables

      public UnitVariable getInputVariables(int index)
       Optional. Output only. Indicates the current input variables deployed by
       the unit
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable input_variables = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInputVariables in interface UnitOrBuilder
    • getInputVariablesOrBuilder

      public UnitVariableOrBuilder getInputVariablesOrBuilder(int index)
       Optional. Output only. Indicates the current input variables deployed by
       the unit
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable input_variables = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInputVariablesOrBuilder in interface UnitOrBuilder
    • getOutputVariablesList

      public List<UnitVariable> getOutputVariablesList()
       Optional. Output only. Set of key/value pairs corresponding to output
       variables from execution of actuation templates. The variables are declared
       in actuation configs (e.g in helm chart or terraform) and the values are
       fetched and returned by the actuation engine upon completion of execution.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable output_variables = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOutputVariablesList in interface UnitOrBuilder
    • getOutputVariablesOrBuilderList

      public List<? extends UnitVariableOrBuilder> getOutputVariablesOrBuilderList()
       Optional. Output only. Set of key/value pairs corresponding to output
       variables from execution of actuation templates. The variables are declared
       in actuation configs (e.g in helm chart or terraform) and the values are
       fetched and returned by the actuation engine upon completion of execution.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable output_variables = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOutputVariablesOrBuilderList in interface UnitOrBuilder
    • getOutputVariablesCount

      public int getOutputVariablesCount()
       Optional. Output only. Set of key/value pairs corresponding to output
       variables from execution of actuation templates. The variables are declared
       in actuation configs (e.g in helm chart or terraform) and the values are
       fetched and returned by the actuation engine upon completion of execution.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable output_variables = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOutputVariablesCount in interface UnitOrBuilder
    • getOutputVariables

      public UnitVariable getOutputVariables(int index)
       Optional. Output only. Set of key/value pairs corresponding to output
       variables from execution of actuation templates. The variables are declared
       in actuation configs (e.g in helm chart or terraform) and the values are
       fetched and returned by the actuation engine upon completion of execution.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable output_variables = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOutputVariables in interface UnitOrBuilder
    • getOutputVariablesOrBuilder

      public UnitVariableOrBuilder getOutputVariablesOrBuilder(int index)
       Optional. Output only. Set of key/value pairs corresponding to output
       variables from execution of actuation templates. The variables are declared
       in actuation configs (e.g in helm chart or terraform) and the values are
       fetched and returned by the actuation engine upon completion of execution.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable output_variables = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOutputVariablesOrBuilder in interface UnitOrBuilder
    • hasMaintenance

      public boolean hasMaintenance()
       Optional. Captures requested directives for performing future maintenance
       on the unit. This includes a request for the unit to skip maintenance for a
       period of time and remain pinned to its current release as well as controls
       for postponing maintenance scheduled in future.
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit.MaintenanceSettings maintenance = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasMaintenance in interface UnitOrBuilder
      Returns:
      Whether the maintenance field is set.
    • getMaintenance

      public Unit.MaintenanceSettings getMaintenance()
       Optional. Captures requested directives for performing future maintenance
       on the unit. This includes a request for the unit to skip maintenance for a
       period of time and remain pinned to its current release as well as controls
       for postponing maintenance scheduled in future.
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit.MaintenanceSettings maintenance = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMaintenance in interface UnitOrBuilder
      Returns:
      The maintenance.
    • getMaintenanceOrBuilder

      public Unit.MaintenanceSettingsOrBuilder getMaintenanceOrBuilder()
       Optional. Captures requested directives for performing future maintenance
       on the unit. This includes a request for the unit to skip maintenance for a
       period of time and remain pinned to its current release as well as controls
       for postponing maintenance scheduled in future.
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit.MaintenanceSettings maintenance = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMaintenanceOrBuilder in interface UnitOrBuilder
    • getStateValue

      public int getStateValue()
       Optional. Output only. Current lifecycle state of the resource (e.g. if
       it's being created or ready to use).
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit.UnitState state = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface UnitOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public Unit.UnitState getState()
       Optional. Output only. Current lifecycle state of the resource (e.g. if
       it's being created or ready to use).
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit.UnitState state = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface UnitOrBuilder
      Returns:
      The state.
    • getConditionsList

      public List<UnitCondition> getConditionsList()
       Optional. Output only. A set of conditions which indicate the various
       conditions this resource can have.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitCondition conditions = 20 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getConditionsList in interface UnitOrBuilder
    • getConditionsOrBuilderList

      public List<? extends UnitConditionOrBuilder> getConditionsOrBuilderList()
       Optional. Output only. A set of conditions which indicate the various
       conditions this resource can have.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitCondition conditions = 20 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getConditionsOrBuilderList in interface UnitOrBuilder
    • getConditionsCount

      public int getConditionsCount()
       Optional. Output only. A set of conditions which indicate the various
       conditions this resource can have.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitCondition conditions = 20 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getConditionsCount in interface UnitOrBuilder
    • getConditions

      public UnitCondition getConditions(int index)
       Optional. Output only. A set of conditions which indicate the various
       conditions this resource can have.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitCondition conditions = 20 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getConditions in interface UnitOrBuilder
    • getConditionsOrBuilder

      public UnitConditionOrBuilder getConditionsOrBuilder(int index)
       Optional. Output only. A set of conditions which indicate the various
       conditions this resource can have.
       
      repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitCondition conditions = 20 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getConditionsOrBuilder in interface UnitOrBuilder
    • getManagementModeValue

      public int getManagementModeValue()
       Optional. Immutable. Indicates whether the Unit life cycle is controlled
       by the user or by the system.
       Immutable once created.
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit.ManagementMode management_mode = 22 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getManagementModeValue in interface UnitOrBuilder
      Returns:
      The enum numeric value on the wire for managementMode.
    • getManagementMode

      public Unit.ManagementMode getManagementMode()
       Optional. Immutable. Indicates whether the Unit life cycle is controlled
       by the user or by the system.
       Immutable once created.
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit.ManagementMode management_mode = 22 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getManagementMode in interface UnitOrBuilder
      Returns:
      The managementMode.
    • getSystemManagedStateValue

      public int getSystemManagedStateValue()
       Optional. Output only. Indicates the system managed state of the unit.
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit.SystemManagedState system_managed_state = 25 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSystemManagedStateValue in interface UnitOrBuilder
      Returns:
      The enum numeric value on the wire for systemManagedState.
    • getSystemManagedState

      public Unit.SystemManagedState getSystemManagedState()
       Optional. Output only. Indicates the system managed state of the unit.
       
      .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit.SystemManagedState system_managed_state = 25 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSystemManagedState in interface UnitOrBuilder
      Returns:
      The systemManagedState.
    • hasSystemCleanupAt

      public boolean hasSystemCleanupAt()
       Optional. Output only. If set, indicates the time when the system will
       start removing the unit.
       
      .google.protobuf.Timestamp system_cleanup_at = 26 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasSystemCleanupAt in interface UnitOrBuilder
      Returns:
      Whether the systemCleanupAt field is set.
    • getSystemCleanupAt

      public com.google.protobuf.Timestamp getSystemCleanupAt()
       Optional. Output only. If set, indicates the time when the system will
       start removing the unit.
       
      .google.protobuf.Timestamp system_cleanup_at = 26 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSystemCleanupAt in interface UnitOrBuilder
      Returns:
      The systemCleanupAt.
    • getSystemCleanupAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getSystemCleanupAtOrBuilder()
       Optional. Output only. If set, indicates the time when the system will
       start removing the unit.
       
      .google.protobuf.Timestamp system_cleanup_at = 26 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSystemCleanupAtOrBuilder in interface UnitOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: UnitOrBuilder
       Optional. The labels on the resource, which can be used for categorization.
       similar to Kubernetes resource labels.
       
      map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface UnitOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. The labels on the resource, which can be used for categorization.
       similar to Kubernetes resource labels.
       
      map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface UnitOrBuilder
    • getLabels

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

      public Map<String,String> getLabelsMap()
       Optional. The labels on the resource, which can be used for categorization.
       similar to Kubernetes resource labels.
       
      map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface UnitOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. The labels on the resource, which can be used for categorization.
       similar to Kubernetes resource labels.
       
      map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface UnitOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. The labels on the resource, which can be used for categorization.
       similar to Kubernetes resource labels.
       
      map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface UnitOrBuilder
    • getAnnotationsCount

      public int getAnnotationsCount()
      Description copied from interface: UnitOrBuilder
       Optional. Annotations is an unstructured key-value map stored with a
       resource that may be set by external tools to store and retrieve arbitrary
       metadata. They are not queryable and should be preserved when modifying
       objects.
      
       More info: https://kubernetes.io/docs/user-guide/annotations
       
      map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsCount in interface UnitOrBuilder
    • containsAnnotations

      public boolean containsAnnotations(String key)
       Optional. Annotations is an unstructured key-value map stored with a
       resource that may be set by external tools to store and retrieve arbitrary
       metadata. They are not queryable and should be preserved when modifying
       objects.
      
       More info: https://kubernetes.io/docs/user-guide/annotations
       
      map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsAnnotations in interface UnitOrBuilder
    • getAnnotations

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

      public Map<String,String> getAnnotationsMap()
       Optional. Annotations is an unstructured key-value map stored with a
       resource that may be set by external tools to store and retrieve arbitrary
       metadata. They are not queryable and should be preserved when modifying
       objects.
      
       More info: https://kubernetes.io/docs/user-guide/annotations
       
      map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsMap in interface UnitOrBuilder
    • getAnnotationsOrDefault

      public String getAnnotationsOrDefault(String key, String defaultValue)
       Optional. Annotations is an unstructured key-value map stored with a
       resource that may be set by external tools to store and retrieve arbitrary
       metadata. They are not queryable and should be preserved when modifying
       objects.
      
       More info: https://kubernetes.io/docs/user-guide/annotations
       
      map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsOrDefault in interface UnitOrBuilder
    • getAnnotationsOrThrow

      public String getAnnotationsOrThrow(String key)
       Optional. Annotations is an unstructured key-value map stored with a
       resource that may be set by external tools to store and retrieve arbitrary
       metadata. They are not queryable and should be preserved when modifying
       objects.
      
       More info: https://kubernetes.io/docs/user-guide/annotations
       
      map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsOrThrow in interface UnitOrBuilder
    • getUid

      public String getUid()
       Output only. The unique identifier of the resource. UID is unique in the
       time and space for this resource within the scope of the service. It is
       typically generated by the server on successful creation of a resource
       and must not be changed. UID is used to uniquely identify resources
       with resource name reuses. This should be a UUID4.
       
      string uid = 10201 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getUid in interface UnitOrBuilder
      Returns:
      The uid.
    • getUidBytes

      public com.google.protobuf.ByteString getUidBytes()
       Output only. The unique identifier of the resource. UID is unique in the
       time and space for this resource within the scope of the service. It is
       typically generated by the server on successful creation of a resource
       and must not be changed. UID is used to uniquely identify resources
       with resource name reuses. This should be a UUID4.
       
      string uid = 10201 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getUidBytes in interface UnitOrBuilder
      Returns:
      The bytes for uid.
    • getEtag

      public String getEtag()
       Output only. An opaque value that uniquely identifies a version or
       generation of a resource. It can be used to confirm that the client
       and server agree on the ordering of a resource being written.
       
      string etag = 10202 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEtag in interface UnitOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       Output only. An opaque value that uniquely identifies a version or
       generation of a resource. It can be used to confirm that the client
       and server agree on the ordering of a resource being written.
       
      string etag = 10202 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEtagBytes in interface UnitOrBuilder
      Returns:
      The bytes for etag.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 10303 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface UnitOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 10303 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface UnitOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 10303 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface UnitOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The timestamp when the resource was last updated. Any
       change to the resource made by users must refresh this value.
       Changes to a resource made by the service should refresh this value.
       
      .google.protobuf.Timestamp update_time = 10304 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface UnitOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The timestamp when the resource was last updated. Any
       change to the resource made by users must refresh this value.
       Changes to a resource made by the service should refresh this value.
       
      .google.protobuf.Timestamp update_time = 10304 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface UnitOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The timestamp when the resource was last updated. Any
       change to the resource made by users must refresh this value.
       Changes to a resource made by the service should refresh this value.
       
      .google.protobuf.Timestamp update_time = 10304 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface UnitOrBuilder
    • 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 Unit parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static Unit.Builder newBuilder()
    • newBuilder

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

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

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

      public static Unit getDefaultInstance()
    • parser

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

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