Interface UnitOrBuilder (0.2.0)

public interface UnitOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsAnnotations(String key)

public abstract 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];

Parameter
Name Description
key String
Returns
Type Description
boolean

containsLabels(String key)

public abstract 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];

Parameter
Name Description
key String
Returns
Type Description
boolean

getAnnotations() (deprecated)

public abstract Map<String,String> getAnnotations()

Use #getAnnotationsMap() instead.

Returns
Type Description
Map<String,String>

getAnnotationsCount()

public abstract int getAnnotationsCount()

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];

Returns
Type Description
int

getAnnotationsMap()

public abstract 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];

Returns
Type Description
Map<String,String>

getAnnotationsOrDefault(String key, String defaultValue)

public abstract 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];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getAnnotationsOrThrow(String key)

public abstract 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];

Parameter
Name Description
key String
Returns
Type Description
String

getConditions(int index)

public abstract 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];

Parameter
Name Description
index int
Returns
Type Description
UnitCondition

getConditionsCount()

public abstract 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];

Returns
Type Description
int

getConditionsList()

public abstract 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];

Returns
Type Description
List<UnitCondition>

getConditionsOrBuilder(int index)

public abstract 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];

Parameter
Name Description
index int
Returns
Type Description
UnitConditionOrBuilder

getConditionsOrBuilderList()

public abstract 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];

Returns
Type Description
List<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitConditionOrBuilder>

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The timestamp when the resource was created.

.google.protobuf.Timestamp create_time = 10303 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The timestamp when the resource was created.

.google.protobuf.Timestamp create_time = 10303 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDependencies(int index)

public abstract 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];

Parameter
Name Description
index int
Returns
Type Description
UnitDependency

getDependenciesCount()

public abstract 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];

Returns
Type Description
int

getDependenciesList()

public abstract 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];

Returns
Type Description
List<UnitDependency>

getDependenciesOrBuilder(int index)

public abstract 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];

Parameter
Name Description
index int
Returns
Type Description
UnitDependencyOrBuilder

getDependenciesOrBuilderList()

public abstract 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];

Returns
Type Description
List<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitDependencyOrBuilder>

getDependents(int index)

public abstract 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];

Parameter
Name Description
index int
Returns
Type Description
UnitDependency

getDependentsCount()

public abstract 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];

Returns
Type Description
int

getDependentsList()

public abstract 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];

Returns
Type Description
List<UnitDependency>

getDependentsOrBuilder(int index)

public abstract 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];

Parameter
Name Description
index int
Returns
Type Description
UnitDependencyOrBuilder

getDependentsOrBuilderList()

public abstract 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];

Returns
Type Description
List<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitDependencyOrBuilder>

getEtag()

public abstract 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];

Returns
Type Description
String

The etag.

getEtagBytes()

public abstract 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];

Returns
Type Description
ByteString

The bytes for etag.

getInputVariables(int index)

public abstract 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];

Parameter
Name Description
index int
Returns
Type Description
UnitVariable

getInputVariablesCount()

public abstract 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];

Returns
Type Description
int

getInputVariablesList()

public abstract 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];

Returns
Type Description
List<UnitVariable>

getInputVariablesOrBuilder(int index)

public abstract 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];

Parameter
Name Description
index int
Returns
Type Description
UnitVariableOrBuilder

getInputVariablesOrBuilderList()

public abstract 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];

Returns
Type Description
List<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariableOrBuilder>

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

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];

Returns
Type Description
int

getLabelsMap()

public abstract 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];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract 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];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract 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];

Parameter
Name Description
key String
Returns
Type Description
String

getMaintenance()

public abstract 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];

Returns
Type Description
Unit.MaintenanceSettings

The maintenance.

getMaintenanceOrBuilder()

public abstract 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];

Returns
Type Description
Unit.MaintenanceSettingsOrBuilder

getManagementMode()

public abstract 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];

Returns
Type Description
Unit.ManagementMode

The managementMode.

getManagementModeValue()

public abstract 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];

Returns
Type Description
int

The enum numeric value on the wire for managementMode.

getName()

public abstract 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];

Returns
Type Description
String

The name.

getNameBytes()

public abstract 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];

Returns
Type Description
ByteString

The bytes for name.

getOngoingOperations(int index)

public abstract 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) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The ongoingOperations at the given index.

getOngoingOperationsBytes(int index)

public abstract 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) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the ongoingOperations at the given index.

getOngoingOperationsCount()

public abstract 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) = { ... }

Returns
Type Description
int

The count of ongoingOperations.

getOngoingOperationsList()

public abstract List<String> 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) = { ... }

Returns
Type Description
List<String>

A list containing the ongoingOperations.

getOutputVariables(int index)

public abstract 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];

Parameter
Name Description
index int
Returns
Type Description
UnitVariable

getOutputVariablesCount()

public abstract 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];

Returns
Type Description
int

getOutputVariablesList()

public abstract 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];

Returns
Type Description
List<UnitVariable>

getOutputVariablesOrBuilder(int index)

public abstract 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];

Parameter
Name Description
index int
Returns
Type Description
UnitVariableOrBuilder

getOutputVariablesOrBuilderList()

public abstract 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];

Returns
Type Description
List<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariableOrBuilder>

getPendingOperations(int index)

public abstract 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) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The pendingOperations at the given index.

getPendingOperationsBytes(int index)

public abstract 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) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the pendingOperations at the given index.

getPendingOperationsCount()

public abstract 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) = { ... }

Returns
Type Description
int

The count of pendingOperations.

getPendingOperationsList()

public abstract List<String> 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) = { ... }

Returns
Type Description
List<String>

A list containing the pendingOperations.

getRelease()

public abstract 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) = { ... }

Returns
Type Description
String

The release.

getReleaseBytes()

public abstract 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) = { ... }

Returns
Type Description
ByteString

The bytes for release.

getScheduledOperations(int index)

public abstract 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) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The scheduledOperations at the given index.

getScheduledOperationsBytes(int index)

public abstract 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) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the scheduledOperations at the given index.

getScheduledOperationsCount()

public abstract 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) = { ... }

Returns
Type Description
int

The count of scheduledOperations.

getScheduledOperationsList()

public abstract List<String> 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) = { ... }

Returns
Type Description
List<String>

A list containing the scheduledOperations.

getState()

public abstract 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];

Returns
Type Description
Unit.UnitState

The state.

getStateValue()

public abstract 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];

Returns
Type Description
int

The enum numeric value on the wire for state.

getSystemCleanupAt()

public abstract 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];

Returns
Type Description
Timestamp

The systemCleanupAt.

getSystemCleanupAtOrBuilder()

public abstract 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];

Returns
Type Description
TimestampOrBuilder

getSystemManagedState()

public abstract 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];

Returns
Type Description
Unit.SystemManagedState

The systemManagedState.

getSystemManagedStateValue()

public abstract 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];

Returns
Type Description
int

The enum numeric value on the wire for systemManagedState.

getTenant()

public abstract 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) = { ... }

Returns
Type Description
String

The tenant.

getTenantBytes()

public abstract 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) = { ... }

Returns
Type Description
ByteString

The bytes for tenant.

getUid()

public abstract 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) = { ... }

Returns
Type Description
String

The uid.

getUidBytes()

public abstract 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) = { ... }

Returns
Type Description
ByteString

The bytes for uid.

getUnitKind()

public abstract 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) = { ... }

Returns
Type Description
String

The unitKind.

getUnitKindBytes()

public abstract 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) = { ... }

Returns
Type Description
ByteString

The bytes for unitKind.

getUpdateTime()

public abstract 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];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract 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];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The timestamp when the resource was created.

.google.protobuf.Timestamp create_time = 10303 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasMaintenance()

public abstract 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];

Returns
Type Description
boolean

Whether the maintenance field is set.

hasSystemCleanupAt()

public abstract 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];

Returns
Type Description
boolean

Whether the systemCleanupAt field is set.

hasUpdateTime()

public abstract 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];

Returns
Type Description
boolean

Whether the updateTime field is set.