public static final class Unit.Builder extends GeneratedMessageV3.Builder<Unit.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Unit.BuilderImplements
UnitOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllConditions(Iterable<? extends UnitCondition> values)
public Unit.Builder addAllConditions(Iterable<? extends UnitCondition> values)
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 |
values |
Iterable<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitCondition> |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addAllDependencies(Iterable<? extends UnitDependency> values)
public Unit.Builder addAllDependencies(Iterable<? extends UnitDependency> values)
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 |
values |
Iterable<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitDependency> |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addAllDependents(Iterable<? extends UnitDependency> values)
public Unit.Builder addAllDependents(Iterable<? extends UnitDependency> values)
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 |
values |
Iterable<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitDependency> |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addAllInputVariables(Iterable<? extends UnitVariable> values)
public Unit.Builder addAllInputVariables(Iterable<? extends UnitVariable> values)
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 |
values |
Iterable<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable> |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addAllOngoingOperations(Iterable<String> values)
public Unit.Builder addAllOngoingOperations(Iterable<String> values)
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 |
values |
Iterable<String> The ongoingOperations to add. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
addAllOutputVariables(Iterable<? extends UnitVariable> values)
public Unit.Builder addAllOutputVariables(Iterable<? extends UnitVariable> values)
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 |
values |
Iterable<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable> |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addAllPendingOperations(Iterable<String> values)
public Unit.Builder addAllPendingOperations(Iterable<String> values)
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 |
values |
Iterable<String> The pendingOperations to add. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
addAllScheduledOperations(Iterable<String> values)
public Unit.Builder addAllScheduledOperations(Iterable<String> values)
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 |
values |
Iterable<String> The scheduledOperations to add. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
addConditions(UnitCondition value)
public Unit.Builder addConditions(UnitCondition value)
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 |
value |
UnitCondition |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addConditions(UnitCondition.Builder builderForValue)
public Unit.Builder addConditions(UnitCondition.Builder builderForValue)
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 |
builderForValue |
UnitCondition.Builder |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addConditions(int index, UnitCondition value)
public Unit.Builder addConditions(int index, UnitCondition value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
UnitCondition |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addConditions(int index, UnitCondition.Builder builderForValue)
public Unit.Builder addConditions(int index, UnitCondition.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
UnitCondition.Builder |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addConditionsBuilder()
public UnitCondition.Builder addConditionsBuilder()
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 |
UnitCondition.Builder |
addConditionsBuilder(int index)
public UnitCondition.Builder addConditionsBuilder(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.Builder |
addDependencies(UnitDependency value)
public Unit.Builder addDependencies(UnitDependency value)
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 |
value |
UnitDependency |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addDependencies(UnitDependency.Builder builderForValue)
public Unit.Builder addDependencies(UnitDependency.Builder builderForValue)
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 |
builderForValue |
UnitDependency.Builder |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addDependencies(int index, UnitDependency value)
public Unit.Builder addDependencies(int index, UnitDependency value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
UnitDependency |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addDependencies(int index, UnitDependency.Builder builderForValue)
public Unit.Builder addDependencies(int index, UnitDependency.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
UnitDependency.Builder |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addDependenciesBuilder()
public UnitDependency.Builder addDependenciesBuilder()
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 |
UnitDependency.Builder |
addDependenciesBuilder(int index)
public UnitDependency.Builder addDependenciesBuilder(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.Builder |
addDependents(UnitDependency value)
public Unit.Builder addDependents(UnitDependency value)
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 |
value |
UnitDependency |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addDependents(UnitDependency.Builder builderForValue)
public Unit.Builder addDependents(UnitDependency.Builder builderForValue)
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 |
builderForValue |
UnitDependency.Builder |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addDependents(int index, UnitDependency value)
public Unit.Builder addDependents(int index, UnitDependency value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
UnitDependency |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addDependents(int index, UnitDependency.Builder builderForValue)
public Unit.Builder addDependents(int index, UnitDependency.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
UnitDependency.Builder |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addDependentsBuilder()
public UnitDependency.Builder addDependentsBuilder()
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 |
UnitDependency.Builder |
addDependentsBuilder(int index)
public UnitDependency.Builder addDependentsBuilder(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.Builder |
addInputVariables(UnitVariable value)
public Unit.Builder addInputVariables(UnitVariable value)
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 |
value |
UnitVariable |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addInputVariables(UnitVariable.Builder builderForValue)
public Unit.Builder addInputVariables(UnitVariable.Builder builderForValue)
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 |
builderForValue |
UnitVariable.Builder |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addInputVariables(int index, UnitVariable value)
public Unit.Builder addInputVariables(int index, UnitVariable value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
UnitVariable |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addInputVariables(int index, UnitVariable.Builder builderForValue)
public Unit.Builder addInputVariables(int index, UnitVariable.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
UnitVariable.Builder |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addInputVariablesBuilder()
public UnitVariable.Builder addInputVariablesBuilder()
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 |
UnitVariable.Builder |
addInputVariablesBuilder(int index)
public UnitVariable.Builder addInputVariablesBuilder(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.Builder |
addOngoingOperations(String value)
public Unit.Builder addOngoingOperations(String value)
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 |
value |
String The ongoingOperations to add. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
addOngoingOperationsBytes(ByteString value)
public Unit.Builder addOngoingOperationsBytes(ByteString value)
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 |
value |
ByteString The bytes of the ongoingOperations to add. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
addOutputVariables(UnitVariable value)
public Unit.Builder addOutputVariables(UnitVariable value)
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 |
value |
UnitVariable |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addOutputVariables(UnitVariable.Builder builderForValue)
public Unit.Builder addOutputVariables(UnitVariable.Builder builderForValue)
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 |
builderForValue |
UnitVariable.Builder |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addOutputVariables(int index, UnitVariable value)
public Unit.Builder addOutputVariables(int index, UnitVariable value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
UnitVariable |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addOutputVariables(int index, UnitVariable.Builder builderForValue)
public Unit.Builder addOutputVariables(int index, UnitVariable.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
UnitVariable.Builder |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addOutputVariablesBuilder()
public UnitVariable.Builder addOutputVariablesBuilder()
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 |
UnitVariable.Builder |
addOutputVariablesBuilder(int index)
public UnitVariable.Builder addOutputVariablesBuilder(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.Builder |
addPendingOperations(String value)
public Unit.Builder addPendingOperations(String value)
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 |
value |
String The pendingOperations to add. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
addPendingOperationsBytes(ByteString value)
public Unit.Builder addPendingOperationsBytes(ByteString value)
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 |
value |
ByteString The bytes of the pendingOperations to add. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Unit.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Unit.Builder |
addScheduledOperations(String value)
public Unit.Builder addScheduledOperations(String value)
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 |
value |
String The scheduledOperations to add. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
addScheduledOperationsBytes(ByteString value)
public Unit.Builder addScheduledOperationsBytes(ByteString value)
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 |
value |
ByteString The bytes of the scheduledOperations to add. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
build()
public Unit build()
Returns | |
---|---|
Type | Description |
Unit |
buildPartial()
public Unit buildPartial()
Returns | |
---|---|
Type | Description |
Unit |
clear()
public Unit.Builder clear()
Returns | |
---|---|
Type | Description |
Unit.Builder |
clearAnnotations()
public Unit.Builder clearAnnotations()
Returns | |
---|---|
Type | Description |
Unit.Builder |
clearConditions()
public Unit.Builder clearConditions()
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 |
Unit.Builder |
clearCreateTime()
public Unit.Builder clearCreateTime()
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 10303 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Unit.Builder |
clearDependencies()
public Unit.Builder clearDependencies()
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 |
Unit.Builder |
clearDependents()
public Unit.Builder clearDependents()
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 |
Unit.Builder |
clearEtag()
public Unit.Builder clearEtag()
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 |
Unit.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Unit.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Unit.Builder |
clearInputVariables()
public Unit.Builder clearInputVariables()
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 |
Unit.Builder |
clearLabels()
public Unit.Builder clearLabels()
Returns | |
---|---|
Type | Description |
Unit.Builder |
clearMaintenance()
public Unit.Builder clearMaintenance()
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.Builder |
clearManagementMode()
public Unit.Builder clearManagementMode()
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.Builder |
This builder for chaining. |
clearName()
public Unit.Builder clearName()
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 |
Unit.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Unit.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Unit.Builder |
clearOngoingOperations()
public Unit.Builder clearOngoingOperations()
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 |
Unit.Builder |
This builder for chaining. |
clearOutputVariables()
public Unit.Builder clearOutputVariables()
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 |
Unit.Builder |
clearPendingOperations()
public Unit.Builder clearPendingOperations()
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 |
Unit.Builder |
This builder for chaining. |
clearRelease()
public Unit.Builder clearRelease()
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 |
Unit.Builder |
This builder for chaining. |
clearScheduledOperations()
public Unit.Builder clearScheduledOperations()
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 |
Unit.Builder |
This builder for chaining. |
clearState()
public Unit.Builder clearState()
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.Builder |
This builder for chaining. |
clearSystemCleanupAt()
public Unit.Builder clearSystemCleanupAt()
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 |
Unit.Builder |
clearSystemManagedState()
public Unit.Builder clearSystemManagedState()
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.Builder |
This builder for chaining. |
clearTenant()
public Unit.Builder clearTenant()
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 |
Unit.Builder |
This builder for chaining. |
clearUid()
public Unit.Builder clearUid()
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 |
Unit.Builder |
This builder for chaining. |
clearUnitKind()
public Unit.Builder clearUnitKind()
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 |
Unit.Builder |
This builder for chaining. |
clearUpdateTime()
public Unit.Builder clearUpdateTime()
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 |
Unit.Builder |
clone()
public Unit.Builder clone()
Returns | |
---|---|
Type | Description |
Unit.Builder |
containsAnnotations(String key)
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];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
containsLabels(String key)
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];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getAnnotations() (deprecated)
public Map<String,String> getAnnotations()
Use #getAnnotationsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getAnnotationsCount()
public 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 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 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 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 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 |
getConditionsBuilder(int index)
public UnitCondition.Builder getConditionsBuilder(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.Builder |
getConditionsBuilderList()
public List<UnitCondition.Builder> getConditionsBuilderList()
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<Builder> |
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];
Returns | |
---|---|
Type | Description |
int |
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];
Returns | |
---|---|
Type | Description |
List<UnitCondition> |
getConditionsOrBuilder(int index)
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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
UnitConditionOrBuilder |
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];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitConditionOrBuilder> |
getCreateTime()
public 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. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 10303 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public 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 |
getDefaultInstanceForType()
public Unit getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Unit |
getDependencies(int index)
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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
UnitDependency |
getDependenciesBuilder(int index)
public UnitDependency.Builder getDependenciesBuilder(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.Builder |
getDependenciesBuilderList()
public List<UnitDependency.Builder> getDependenciesBuilderList()
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<Builder> |
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];
Returns | |
---|---|
Type | Description |
int |
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];
Returns | |
---|---|
Type | Description |
List<UnitDependency> |
getDependenciesOrBuilder(int index)
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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
UnitDependencyOrBuilder |
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];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitDependencyOrBuilder> |
getDependents(int index)
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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
UnitDependency |
getDependentsBuilder(int index)
public UnitDependency.Builder getDependentsBuilder(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.Builder |
getDependentsBuilderList()
public List<UnitDependency.Builder> getDependentsBuilderList()
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<Builder> |
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];
Returns | |
---|---|
Type | Description |
int |
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];
Returns | |
---|---|
Type | Description |
List<UnitDependency> |
getDependentsOrBuilder(int index)
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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
UnitDependencyOrBuilder |
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];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitDependencyOrBuilder> |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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];
Returns | |
---|---|
Type | Description |
String |
The etag. |
getEtagBytes()
public 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 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 |
getInputVariablesBuilder(int index)
public UnitVariable.Builder getInputVariablesBuilder(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.Builder |
getInputVariablesBuilderList()
public List<UnitVariable.Builder> getInputVariablesBuilderList()
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<Builder> |
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];
Returns | |
---|---|
Type | Description |
int |
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];
Returns | |
---|---|
Type | Description |
List<UnitVariable> |
getInputVariablesOrBuilder(int index)
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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
UnitVariableOrBuilder |
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];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariableOrBuilder> |
getLabels() (deprecated)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public 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 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 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 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 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. |
getMaintenanceBuilder()
public Unit.MaintenanceSettings.Builder getMaintenanceBuilder()
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.Builder |
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];
Returns | |
---|---|
Type | Description |
Unit.MaintenanceSettingsOrBuilder |
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];
Returns | |
---|---|
Type | Description |
Unit.ManagementMode |
The managementMode. |
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];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for managementMode. |
getMutableAnnotations() (deprecated)
public Map<String,String> getMutableAnnotations()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
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];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public 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 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 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 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 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) = { ... }
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the ongoingOperations. |
getOutputVariables(int index)
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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
UnitVariable |
getOutputVariablesBuilder(int index)
public UnitVariable.Builder getOutputVariablesBuilder(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.Builder |
getOutputVariablesBuilderList()
public List<UnitVariable.Builder> getOutputVariablesBuilderList()
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<Builder> |
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];
Returns | |
---|---|
Type | Description |
int |
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];
Returns | |
---|---|
Type | Description |
List<UnitVariable> |
getOutputVariablesOrBuilder(int index)
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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
UnitVariableOrBuilder |
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];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariableOrBuilder> |
getPendingOperations(int index)
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) = { ... }
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 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 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 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) = { ... }
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the pendingOperations. |
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) = { ... }
Returns | |
---|---|
Type | Description |
String |
The release. |
getReleaseBytes()
public 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 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 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 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 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) = { ... }
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the scheduledOperations. |
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];
Returns | |
---|---|
Type | Description |
Unit.UnitState |
The state. |
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];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
getSystemCleanupAt()
public 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. |
getSystemCleanupAtBuilder()
public Timestamp.Builder getSystemCleanupAtBuilder()
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 |
Builder |
getSystemCleanupAtOrBuilder()
public 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 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 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 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 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 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 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 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 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 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. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
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 |
Builder |
getUpdateTimeOrBuilder()
public 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Unit.Builder mergeCreateTime(Timestamp value)
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 10303 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Unit.Builder |
mergeFrom(Unit other)
public Unit.Builder mergeFrom(Unit other)
Parameter | |
---|---|
Name | Description |
other |
Unit |
Returns | |
---|---|
Type | Description |
Unit.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Unit.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Unit.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Unit.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Unit.Builder |
mergeMaintenance(Unit.MaintenanceSettings value)
public Unit.Builder mergeMaintenance(Unit.MaintenanceSettings value)
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];
Parameter | |
---|---|
Name | Description |
value |
Unit.MaintenanceSettings |
Returns | |
---|---|
Type | Description |
Unit.Builder |
mergeSystemCleanupAt(Timestamp value)
public Unit.Builder mergeSystemCleanupAt(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Unit.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Unit.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Unit.Builder |
mergeUpdateTime(Timestamp value)
public Unit.Builder mergeUpdateTime(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Unit.Builder |
putAllAnnotations(Map<String,String> values)
public Unit.Builder putAllAnnotations(Map<String,String> values)
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 |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
Unit.Builder |
putAllLabels(Map<String,String> values)
public Unit.Builder putAllLabels(Map<String,String> values)
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 |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
Unit.Builder |
putAnnotations(String key, String value)
public Unit.Builder putAnnotations(String key, String value)
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 |
value |
String |
Returns | |
---|---|
Type | Description |
Unit.Builder |
putLabels(String key, String value)
public Unit.Builder putLabels(String key, String value)
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 |
value |
String |
Returns | |
---|---|
Type | Description |
Unit.Builder |
removeAnnotations(String key)
public Unit.Builder removeAnnotations(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 |
Unit.Builder |
removeConditions(int index)
public Unit.Builder removeConditions(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 |
Unit.Builder |
removeDependencies(int index)
public Unit.Builder removeDependencies(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 |
Unit.Builder |
removeDependents(int index)
public Unit.Builder removeDependents(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 |
Unit.Builder |
removeInputVariables(int index)
public Unit.Builder removeInputVariables(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 |
Unit.Builder |
removeLabels(String key)
public Unit.Builder removeLabels(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 |
Unit.Builder |
removeOutputVariables(int index)
public Unit.Builder removeOutputVariables(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 |
Unit.Builder |
setConditions(int index, UnitCondition value)
public Unit.Builder setConditions(int index, UnitCondition value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
UnitCondition |
Returns | |
---|---|
Type | Description |
Unit.Builder |
setConditions(int index, UnitCondition.Builder builderForValue)
public Unit.Builder setConditions(int index, UnitCondition.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
UnitCondition.Builder |
Returns | |
---|---|
Type | Description |
Unit.Builder |
setCreateTime(Timestamp value)
public Unit.Builder setCreateTime(Timestamp value)
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 10303 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Unit.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Unit.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 10303 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Unit.Builder |
setDependencies(int index, UnitDependency value)
public Unit.Builder setDependencies(int index, UnitDependency value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
UnitDependency |
Returns | |
---|---|
Type | Description |
Unit.Builder |
setDependencies(int index, UnitDependency.Builder builderForValue)
public Unit.Builder setDependencies(int index, UnitDependency.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
UnitDependency.Builder |
Returns | |
---|---|
Type | Description |
Unit.Builder |
setDependents(int index, UnitDependency value)
public Unit.Builder setDependents(int index, UnitDependency value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
UnitDependency |
Returns | |
---|---|
Type | Description |
Unit.Builder |
setDependents(int index, UnitDependency.Builder builderForValue)
public Unit.Builder setDependents(int index, UnitDependency.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
UnitDependency.Builder |
Returns | |
---|---|
Type | Description |
Unit.Builder |
setEtag(String value)
public Unit.Builder setEtag(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The etag to set. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
setEtagBytes(ByteString value)
public Unit.Builder setEtagBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for etag to set. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Unit.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Unit.Builder |
setInputVariables(int index, UnitVariable value)
public Unit.Builder setInputVariables(int index, UnitVariable value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
UnitVariable |
Returns | |
---|---|
Type | Description |
Unit.Builder |
setInputVariables(int index, UnitVariable.Builder builderForValue)
public Unit.Builder setInputVariables(int index, UnitVariable.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
UnitVariable.Builder |
Returns | |
---|---|
Type | Description |
Unit.Builder |
setMaintenance(Unit.MaintenanceSettings value)
public Unit.Builder setMaintenance(Unit.MaintenanceSettings value)
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];
Parameter | |
---|---|
Name | Description |
value |
Unit.MaintenanceSettings |
Returns | |
---|---|
Type | Description |
Unit.Builder |
setMaintenance(Unit.MaintenanceSettings.Builder builderForValue)
public Unit.Builder setMaintenance(Unit.MaintenanceSettings.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Unit.MaintenanceSettings.Builder |
Returns | |
---|---|
Type | Description |
Unit.Builder |
setManagementMode(Unit.ManagementMode value)
public Unit.Builder setManagementMode(Unit.ManagementMode value)
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];
Parameter | |
---|---|
Name | Description |
value |
Unit.ManagementMode The managementMode to set. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
setManagementModeValue(int value)
public Unit.Builder setManagementModeValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for managementMode to set. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
setName(String value)
public Unit.Builder setName(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Unit.Builder setNameBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
setOngoingOperations(int index, String value)
public Unit.Builder setOngoingOperations(int index, String value)
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) = { ... }
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The ongoingOperations to set. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
setOutputVariables(int index, UnitVariable value)
public Unit.Builder setOutputVariables(int index, UnitVariable value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
UnitVariable |
Returns | |
---|---|
Type | Description |
Unit.Builder |
setOutputVariables(int index, UnitVariable.Builder builderForValue)
public Unit.Builder setOutputVariables(int index, UnitVariable.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
UnitVariable.Builder |
Returns | |
---|---|
Type | Description |
Unit.Builder |
setPendingOperations(int index, String value)
public Unit.Builder setPendingOperations(int index, String value)
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) = { ... }
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The pendingOperations to set. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
setRelease(String value)
public Unit.Builder setRelease(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The release to set. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
setReleaseBytes(ByteString value)
public Unit.Builder setReleaseBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for release to set. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Unit.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Unit.Builder |
setScheduledOperations(int index, String value)
public Unit.Builder setScheduledOperations(int index, String value)
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) = { ... }
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The scheduledOperations to set. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
setState(Unit.UnitState value)
public Unit.Builder setState(Unit.UnitState value)
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];
Parameter | |
---|---|
Name | Description |
value |
Unit.UnitState The state to set. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
setStateValue(int value)
public Unit.Builder setStateValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
setSystemCleanupAt(Timestamp value)
public Unit.Builder setSystemCleanupAt(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Unit.Builder |
setSystemCleanupAt(Timestamp.Builder builderForValue)
public Unit.Builder setSystemCleanupAt(Timestamp.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Unit.Builder |
setSystemManagedState(Unit.SystemManagedState value)
public Unit.Builder setSystemManagedState(Unit.SystemManagedState value)
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];
Parameter | |
---|---|
Name | Description |
value |
Unit.SystemManagedState The systemManagedState to set. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
setSystemManagedStateValue(int value)
public Unit.Builder setSystemManagedStateValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for systemManagedState to set. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
setTenant(String value)
public Unit.Builder setTenant(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The tenant to set. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
setTenantBytes(ByteString value)
public Unit.Builder setTenantBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for tenant to set. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
setUid(String value)
public Unit.Builder setUid(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The uid to set. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
setUidBytes(ByteString value)
public Unit.Builder setUidBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for uid to set. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
setUnitKind(String value)
public Unit.Builder setUnitKind(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The unitKind to set. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
setUnitKindBytes(ByteString value)
public Unit.Builder setUnitKindBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for unitKind to set. |
Returns | |
---|---|
Type | Description |
Unit.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Unit.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Unit.Builder |
setUpdateTime(Timestamp value)
public Unit.Builder setUpdateTime(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Unit.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Unit.Builder setUpdateTime(Timestamp.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Unit.Builder |