Class UnitKind.Builder (0.2.0)

public static final class UnitKind.Builder extends GeneratedMessageV3.Builder<UnitKind.Builder> implements UnitKindOrBuilder

Definition of a Unit. Units belonging to the same UnitKind are managed together; for example they follow the same release model (blueprints, versions etc.) and are typically rolled out together.

Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind

Implements

UnitKindOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDependencies(Iterable<? extends Dependency> values)

public UnitKind.Builder addAllDependencies(Iterable<? extends Dependency> values)

Optional. Immutable. List of other unit kinds that this release will depend on. Dependencies will be automatically provisioned if not found. Maximum 10.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Dependency dependencies = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
values Iterable<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.Dependency>
Returns
Type Description
UnitKind.Builder

addAllInputVariableMappings(Iterable<? extends VariableMapping> values)

public UnitKind.Builder addAllInputVariableMappings(Iterable<? extends VariableMapping> values)

Optional. List of inputVariables for this release that will either be retrieved from a dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping input_variable_mappings = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping>
Returns
Type Description
UnitKind.Builder

addAllOutputVariableMappings(Iterable<? extends VariableMapping> values)

public UnitKind.Builder addAllOutputVariableMappings(Iterable<? extends VariableMapping> values)

Optional. List of outputVariables for this unit kind will be passed to this unit's outputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping output_variable_mappings = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping>
Returns
Type Description
UnitKind.Builder

addDependencies(Dependency value)

public UnitKind.Builder addDependencies(Dependency value)

Optional. Immutable. List of other unit kinds that this release will depend on. Dependencies will be automatically provisioned if not found. Maximum 10.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Dependency dependencies = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value Dependency
Returns
Type Description
UnitKind.Builder

addDependencies(Dependency.Builder builderForValue)

public UnitKind.Builder addDependencies(Dependency.Builder builderForValue)

Optional. Immutable. List of other unit kinds that this release will depend on. Dependencies will be automatically provisioned if not found. Maximum 10.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Dependency dependencies = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
builderForValue Dependency.Builder
Returns
Type Description
UnitKind.Builder

addDependencies(int index, Dependency value)

public UnitKind.Builder addDependencies(int index, Dependency value)

Optional. Immutable. List of other unit kinds that this release will depend on. Dependencies will be automatically provisioned if not found. Maximum 10.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Dependency dependencies = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameters
Name Description
index int
value Dependency
Returns
Type Description
UnitKind.Builder

addDependencies(int index, Dependency.Builder builderForValue)

public UnitKind.Builder addDependencies(int index, Dependency.Builder builderForValue)

Optional. Immutable. List of other unit kinds that this release will depend on. Dependencies will be automatically provisioned if not found. Maximum 10.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Dependency dependencies = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameters
Name Description
index int
builderForValue Dependency.Builder
Returns
Type Description
UnitKind.Builder

addDependenciesBuilder()

public Dependency.Builder addDependenciesBuilder()

Optional. Immutable. List of other unit kinds that this release will depend on. Dependencies will be automatically provisioned if not found. Maximum 10.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Dependency dependencies = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
Dependency.Builder

addDependenciesBuilder(int index)

public Dependency.Builder addDependenciesBuilder(int index)

Optional. Immutable. List of other unit kinds that this release will depend on. Dependencies will be automatically provisioned if not found. Maximum 10.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Dependency dependencies = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
index int
Returns
Type Description
Dependency.Builder

addInputVariableMappings(VariableMapping value)

public UnitKind.Builder addInputVariableMappings(VariableMapping value)

Optional. List of inputVariables for this release that will either be retrieved from a dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping input_variable_mappings = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value VariableMapping
Returns
Type Description
UnitKind.Builder

addInputVariableMappings(VariableMapping.Builder builderForValue)

public UnitKind.Builder addInputVariableMappings(VariableMapping.Builder builderForValue)

Optional. List of inputVariables for this release that will either be retrieved from a dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping input_variable_mappings = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue VariableMapping.Builder
Returns
Type Description
UnitKind.Builder

addInputVariableMappings(int index, VariableMapping value)

public UnitKind.Builder addInputVariableMappings(int index, VariableMapping value)

Optional. List of inputVariables for this release that will either be retrieved from a dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping input_variable_mappings = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value VariableMapping
Returns
Type Description
UnitKind.Builder

addInputVariableMappings(int index, VariableMapping.Builder builderForValue)

public UnitKind.Builder addInputVariableMappings(int index, VariableMapping.Builder builderForValue)

Optional. List of inputVariables for this release that will either be retrieved from a dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping input_variable_mappings = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue VariableMapping.Builder
Returns
Type Description
UnitKind.Builder

addInputVariableMappingsBuilder()

public VariableMapping.Builder addInputVariableMappingsBuilder()

Optional. List of inputVariables for this release that will either be retrieved from a dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping input_variable_mappings = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VariableMapping.Builder

addInputVariableMappingsBuilder(int index)

public VariableMapping.Builder addInputVariableMappingsBuilder(int index)

Optional. List of inputVariables for this release that will either be retrieved from a dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping input_variable_mappings = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
VariableMapping.Builder

addOutputVariableMappings(VariableMapping value)

public UnitKind.Builder addOutputVariableMappings(VariableMapping value)

Optional. List of outputVariables for this unit kind will be passed to this unit's outputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping output_variable_mappings = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value VariableMapping
Returns
Type Description
UnitKind.Builder

addOutputVariableMappings(VariableMapping.Builder builderForValue)

public UnitKind.Builder addOutputVariableMappings(VariableMapping.Builder builderForValue)

Optional. List of outputVariables for this unit kind will be passed to this unit's outputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping output_variable_mappings = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue VariableMapping.Builder
Returns
Type Description
UnitKind.Builder

addOutputVariableMappings(int index, VariableMapping value)

public UnitKind.Builder addOutputVariableMappings(int index, VariableMapping value)

Optional. List of outputVariables for this unit kind will be passed to this unit's outputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping output_variable_mappings = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value VariableMapping
Returns
Type Description
UnitKind.Builder

addOutputVariableMappings(int index, VariableMapping.Builder builderForValue)

public UnitKind.Builder addOutputVariableMappings(int index, VariableMapping.Builder builderForValue)

Optional. List of outputVariables for this unit kind will be passed to this unit's outputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping output_variable_mappings = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue VariableMapping.Builder
Returns
Type Description
UnitKind.Builder

addOutputVariableMappingsBuilder()

public VariableMapping.Builder addOutputVariableMappingsBuilder()

Optional. List of outputVariables for this unit kind will be passed to this unit's outputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping output_variable_mappings = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VariableMapping.Builder

addOutputVariableMappingsBuilder(int index)

public VariableMapping.Builder addOutputVariableMappingsBuilder(int index)

Optional. List of outputVariables for this unit kind will be passed to this unit's outputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping output_variable_mappings = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
VariableMapping.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UnitKind.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UnitKind.Builder
Overrides

build()

public UnitKind build()
Returns
Type Description
UnitKind

buildPartial()

public UnitKind buildPartial()
Returns
Type Description
UnitKind

clear()

public UnitKind.Builder clear()
Returns
Type Description
UnitKind.Builder
Overrides

clearAnnotations()

public UnitKind.Builder clearAnnotations()
Returns
Type Description
UnitKind.Builder

clearCreateTime()

public UnitKind.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
UnitKind.Builder

clearDefaultRelease()

public UnitKind.Builder clearDefaultRelease()

Optional. A reference to the Release object to use as default for creating new units of this UnitKind (optional).

If not specified, a new unit must explicitly reference which release to use for its creation.

string default_release = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
UnitKind.Builder

This builder for chaining.

clearDependencies()

public UnitKind.Builder clearDependencies()

Optional. Immutable. List of other unit kinds that this release will depend on. Dependencies will be automatically provisioned if not found. Maximum 10.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Dependency dependencies = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
UnitKind.Builder

clearEtag()

public UnitKind.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
UnitKind.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public UnitKind.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UnitKind.Builder
Overrides

clearInputVariableMappings()

public UnitKind.Builder clearInputVariableMappings()

Optional. List of inputVariables for this release that will either be retrieved from a dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping input_variable_mappings = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UnitKind.Builder

clearLabels()

public UnitKind.Builder clearLabels()
Returns
Type Description
UnitKind.Builder

clearName()

public UnitKind.Builder clearName()

Identifier. The resource name (full URI of the resource) following the standard naming scheme:

"projects/{project}/locations/{location}/unitKinds/{unitKind}"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
UnitKind.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UnitKind.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UnitKind.Builder
Overrides

clearOutputVariableMappings()

public UnitKind.Builder clearOutputVariableMappings()

Optional. List of outputVariables for this unit kind will be passed to this unit's outputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping output_variable_mappings = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UnitKind.Builder

clearSaas()

public UnitKind.Builder clearSaas()

Required. Immutable. A reference to the Saas that defines the product (managed service) that the producer wants to manage with SaaS Runtime. Part of the SaaS Runtime common data model. Immutable once set.

string saas = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
UnitKind.Builder

This builder for chaining.

clearUid()

public UnitKind.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
UnitKind.Builder

This builder for chaining.

clearUpdateTime()

public UnitKind.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
UnitKind.Builder

clone()

public UnitKind.Builder clone()
Returns
Type Description
UnitKind.Builder
Overrides

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

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 UnitKind getDefaultInstanceForType()
Returns
Type Description
UnitKind

getDefaultRelease()

public String getDefaultRelease()

Optional. A reference to the Release object to use as default for creating new units of this UnitKind (optional).

If not specified, a new unit must explicitly reference which release to use for its creation.

string default_release = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The defaultRelease.

getDefaultReleaseBytes()

public ByteString getDefaultReleaseBytes()

Optional. A reference to the Release object to use as default for creating new units of this UnitKind (optional).

If not specified, a new unit must explicitly reference which release to use for its creation.

string default_release = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for defaultRelease.

getDependencies(int index)

public Dependency getDependencies(int index)

Optional. Immutable. List of other unit kinds that this release will depend on. Dependencies will be automatically provisioned if not found. Maximum 10.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Dependency dependencies = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
index int
Returns
Type Description
Dependency

getDependenciesBuilder(int index)

public Dependency.Builder getDependenciesBuilder(int index)

Optional. Immutable. List of other unit kinds that this release will depend on. Dependencies will be automatically provisioned if not found. Maximum 10.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Dependency dependencies = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
index int
Returns
Type Description
Dependency.Builder

getDependenciesBuilderList()

public List<Dependency.Builder> getDependenciesBuilderList()

Optional. Immutable. List of other unit kinds that this release will depend on. Dependencies will be automatically provisioned if not found. Maximum 10.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Dependency dependencies = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
List<Builder>

getDependenciesCount()

public int getDependenciesCount()

Optional. Immutable. List of other unit kinds that this release will depend on. Dependencies will be automatically provisioned if not found. Maximum 10.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Dependency dependencies = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
int

getDependenciesList()

public List<Dependency> getDependenciesList()

Optional. Immutable. List of other unit kinds that this release will depend on. Dependencies will be automatically provisioned if not found. Maximum 10.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Dependency dependencies = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
List<Dependency>

getDependenciesOrBuilder(int index)

public DependencyOrBuilder getDependenciesOrBuilder(int index)

Optional. Immutable. List of other unit kinds that this release will depend on. Dependencies will be automatically provisioned if not found. Maximum 10.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Dependency dependencies = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
index int
Returns
Type Description
DependencyOrBuilder

getDependenciesOrBuilderList()

public List<? extends DependencyOrBuilder> getDependenciesOrBuilderList()

Optional. Immutable. List of other unit kinds that this release will depend on. Dependencies will be automatically provisioned if not found. Maximum 10.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Dependency dependencies = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getInputVariableMappings(int index)

public VariableMapping getInputVariableMappings(int index)

Optional. List of inputVariables for this release that will either be retrieved from a dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping input_variable_mappings = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
VariableMapping

getInputVariableMappingsBuilder(int index)

public VariableMapping.Builder getInputVariableMappingsBuilder(int index)

Optional. List of inputVariables for this release that will either be retrieved from a dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping input_variable_mappings = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
VariableMapping.Builder

getInputVariableMappingsBuilderList()

public List<VariableMapping.Builder> getInputVariableMappingsBuilderList()

Optional. List of inputVariables for this release that will either be retrieved from a dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping input_variable_mappings = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getInputVariableMappingsCount()

public int getInputVariableMappingsCount()

Optional. List of inputVariables for this release that will either be retrieved from a dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping input_variable_mappings = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getInputVariableMappingsList()

public List<VariableMapping> getInputVariableMappingsList()

Optional. List of inputVariables for this release that will either be retrieved from a dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping input_variable_mappings = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<VariableMapping>

getInputVariableMappingsOrBuilder(int index)

public VariableMappingOrBuilder getInputVariableMappingsOrBuilder(int index)

Optional. List of inputVariables for this release that will either be retrieved from a dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping input_variable_mappings = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
VariableMappingOrBuilder

getInputVariableMappingsOrBuilderList()

public List<? extends VariableMappingOrBuilder> getInputVariableMappingsOrBuilderList()

Optional. List of inputVariables for this release that will either be retrieved from a dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping input_variable_mappings = 5 [(.google.api.field_behavior) = OPTIONAL];

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

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

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}/unitKinds/{unitKind}"

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}/unitKinds/{unitKind}"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getOutputVariableMappings(int index)

public VariableMapping getOutputVariableMappings(int index)

Optional. List of outputVariables for this unit kind will be passed to this unit's outputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping output_variable_mappings = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
VariableMapping

getOutputVariableMappingsBuilder(int index)

public VariableMapping.Builder getOutputVariableMappingsBuilder(int index)

Optional. List of outputVariables for this unit kind will be passed to this unit's outputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping output_variable_mappings = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
VariableMapping.Builder

getOutputVariableMappingsBuilderList()

public List<VariableMapping.Builder> getOutputVariableMappingsBuilderList()

Optional. List of outputVariables for this unit kind will be passed to this unit's outputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping output_variable_mappings = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getOutputVariableMappingsCount()

public int getOutputVariableMappingsCount()

Optional. List of outputVariables for this unit kind will be passed to this unit's outputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping output_variable_mappings = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getOutputVariableMappingsList()

public List<VariableMapping> getOutputVariableMappingsList()

Optional. List of outputVariables for this unit kind will be passed to this unit's outputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping output_variable_mappings = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<VariableMapping>

getOutputVariableMappingsOrBuilder(int index)

public VariableMappingOrBuilder getOutputVariableMappingsOrBuilder(int index)

Optional. List of outputVariables for this unit kind will be passed to this unit's outputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping output_variable_mappings = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
VariableMappingOrBuilder

getOutputVariableMappingsOrBuilderList()

public List<? extends VariableMappingOrBuilder> getOutputVariableMappingsOrBuilderList()

Optional. List of outputVariables for this unit kind will be passed to this unit's outputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping output_variable_mappings = 6 [(.google.api.field_behavior) = OPTIONAL];

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

getSaas()

public String getSaas()

Required. Immutable. A reference to the Saas that defines the product (managed service) that the producer wants to manage with SaaS Runtime. Part of the SaaS Runtime common data model. Immutable once set.

string saas = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The saas.

getSaasBytes()

public ByteString getSaasBytes()

Required. Immutable. A reference to the Saas that defines the product (managed service) that the producer wants to manage with SaaS Runtime. Part of the SaaS Runtime common data model. Immutable once set.

string saas = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for saas.

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.

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.

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
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public UnitKind.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
UnitKind.Builder

mergeFrom(UnitKind other)

public UnitKind.Builder mergeFrom(UnitKind other)
Parameter
Name Description
other UnitKind
Returns
Type Description
UnitKind.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UnitKind.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UnitKind.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UnitKind.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UnitKind.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UnitKind.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UnitKind.Builder
Overrides

mergeUpdateTime(Timestamp value)

public UnitKind.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
UnitKind.Builder

putAllAnnotations(Map<String,String> values)

public UnitKind.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
UnitKind.Builder

putAllLabels(Map<String,String> values)

public UnitKind.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
UnitKind.Builder

putAnnotations(String key, String value)

public UnitKind.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
UnitKind.Builder

putLabels(String key, String value)

public UnitKind.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
UnitKind.Builder

removeAnnotations(String key)

public UnitKind.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
UnitKind.Builder

removeDependencies(int index)

public UnitKind.Builder removeDependencies(int index)

Optional. Immutable. List of other unit kinds that this release will depend on. Dependencies will be automatically provisioned if not found. Maximum 10.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Dependency dependencies = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
index int
Returns
Type Description
UnitKind.Builder

removeInputVariableMappings(int index)

public UnitKind.Builder removeInputVariableMappings(int index)

Optional. List of inputVariables for this release that will either be retrieved from a dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping input_variable_mappings = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
UnitKind.Builder

removeLabels(String key)

public UnitKind.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
UnitKind.Builder

removeOutputVariableMappings(int index)

public UnitKind.Builder removeOutputVariableMappings(int index)

Optional. List of outputVariables for this unit kind will be passed to this unit's outputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping output_variable_mappings = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
UnitKind.Builder

setCreateTime(Timestamp value)

public UnitKind.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
UnitKind.Builder

setCreateTime(Timestamp.Builder builderForValue)

public UnitKind.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
UnitKind.Builder

setDefaultRelease(String value)

public UnitKind.Builder setDefaultRelease(String value)

Optional. A reference to the Release object to use as default for creating new units of this UnitKind (optional).

If not specified, a new unit must explicitly reference which release to use for its creation.

string default_release = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The defaultRelease to set.

Returns
Type Description
UnitKind.Builder

This builder for chaining.

setDefaultReleaseBytes(ByteString value)

public UnitKind.Builder setDefaultReleaseBytes(ByteString value)

Optional. A reference to the Release object to use as default for creating new units of this UnitKind (optional).

If not specified, a new unit must explicitly reference which release to use for its creation.

string default_release = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for defaultRelease to set.

Returns
Type Description
UnitKind.Builder

This builder for chaining.

setDependencies(int index, Dependency value)

public UnitKind.Builder setDependencies(int index, Dependency value)

Optional. Immutable. List of other unit kinds that this release will depend on. Dependencies will be automatically provisioned if not found. Maximum 10.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Dependency dependencies = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameters
Name Description
index int
value Dependency
Returns
Type Description
UnitKind.Builder

setDependencies(int index, Dependency.Builder builderForValue)

public UnitKind.Builder setDependencies(int index, Dependency.Builder builderForValue)

Optional. Immutable. List of other unit kinds that this release will depend on. Dependencies will be automatically provisioned if not found. Maximum 10.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Dependency dependencies = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameters
Name Description
index int
builderForValue Dependency.Builder
Returns
Type Description
UnitKind.Builder

setEtag(String value)

public UnitKind.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
UnitKind.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public UnitKind.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
UnitKind.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public UnitKind.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UnitKind.Builder
Overrides

setInputVariableMappings(int index, VariableMapping value)

public UnitKind.Builder setInputVariableMappings(int index, VariableMapping value)

Optional. List of inputVariables for this release that will either be retrieved from a dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping input_variable_mappings = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value VariableMapping
Returns
Type Description
UnitKind.Builder

setInputVariableMappings(int index, VariableMapping.Builder builderForValue)

public UnitKind.Builder setInputVariableMappings(int index, VariableMapping.Builder builderForValue)

Optional. List of inputVariables for this release that will either be retrieved from a dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping input_variable_mappings = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue VariableMapping.Builder
Returns
Type Description
UnitKind.Builder

setName(String value)

public UnitKind.Builder setName(String value)

Identifier. The resource name (full URI of the resource) following the standard naming scheme:

"projects/{project}/locations/{location}/unitKinds/{unitKind}"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
UnitKind.Builder

This builder for chaining.

setNameBytes(ByteString value)

public UnitKind.Builder setNameBytes(ByteString value)

Identifier. The resource name (full URI of the resource) following the standard naming scheme:

"projects/{project}/locations/{location}/unitKinds/{unitKind}"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
UnitKind.Builder

This builder for chaining.

setOutputVariableMappings(int index, VariableMapping value)

public UnitKind.Builder setOutputVariableMappings(int index, VariableMapping value)

Optional. List of outputVariables for this unit kind will be passed to this unit's outputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping output_variable_mappings = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value VariableMapping
Returns
Type Description
UnitKind.Builder

setOutputVariableMappings(int index, VariableMapping.Builder builderForValue)

public UnitKind.Builder setOutputVariableMappings(int index, VariableMapping.Builder builderForValue)

Optional. List of outputVariables for this unit kind will be passed to this unit's outputVariables. Maximum 100.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMapping output_variable_mappings = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue VariableMapping.Builder
Returns
Type Description
UnitKind.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UnitKind.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UnitKind.Builder
Overrides

setSaas(String value)

public UnitKind.Builder setSaas(String value)

Required. Immutable. A reference to the Saas that defines the product (managed service) that the producer wants to manage with SaaS Runtime. Part of the SaaS Runtime common data model. Immutable once set.

string saas = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The saas to set.

Returns
Type Description
UnitKind.Builder

This builder for chaining.

setSaasBytes(ByteString value)

public UnitKind.Builder setSaasBytes(ByteString value)

Required. Immutable. A reference to the Saas that defines the product (managed service) that the producer wants to manage with SaaS Runtime. Part of the SaaS Runtime common data model. Immutable once set.

string saas = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for saas to set.

Returns
Type Description
UnitKind.Builder

This builder for chaining.

setUid(String value)

public UnitKind.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
UnitKind.Builder

This builder for chaining.

setUidBytes(ByteString value)

public UnitKind.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
UnitKind.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final UnitKind.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UnitKind.Builder
Overrides

setUpdateTime(Timestamp value)

public UnitKind.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
UnitKind.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public UnitKind.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
UnitKind.Builder