Class Saas.Builder (0.23.0)

public static final class Saas.Builder extends GeneratedMessage.Builder<Saas.Builder> implements SaasOrBuilder

Saas is a representation of a SaaS service managed by the Producer.

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

Implements

SaasOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllConditions(Iterable<? extends SaasCondition> values)

public Saas.Builder addAllConditions(Iterable<? extends SaasCondition> values)

Output only. A set of conditions which indicate the various conditions this resource can have.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

addAllLocations(Iterable<? extends Location> values)

public Saas.Builder addAllLocations(Iterable<? extends Location> values)

Optional. List of locations that the service is available in. Rollout refers to the list to generate a rollout plan.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Location locations = 4 [(.google.api.field_behavior) = OPTIONAL];

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

addConditions(SaasCondition value)

public Saas.Builder addConditions(SaasCondition value)

Output only. A set of conditions which indicate the various conditions this resource can have.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value SaasCondition
Returns
Type Description
Saas.Builder

addConditions(SaasCondition.Builder builderForValue)

public Saas.Builder addConditions(SaasCondition.Builder builderForValue)

Output only. A set of conditions which indicate the various conditions this resource can have.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue SaasCondition.Builder
Returns
Type Description
Saas.Builder

addConditions(int index, SaasCondition value)

public Saas.Builder addConditions(int index, SaasCondition value)

Output only. A set of conditions which indicate the various conditions this resource can have.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value SaasCondition
Returns
Type Description
Saas.Builder

addConditions(int index, SaasCondition.Builder builderForValue)

public Saas.Builder addConditions(int index, SaasCondition.Builder builderForValue)

Output only. A set of conditions which indicate the various conditions this resource can have.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue SaasCondition.Builder
Returns
Type Description
Saas.Builder

addConditionsBuilder()

public SaasCondition.Builder addConditionsBuilder()

Output only. A set of conditions which indicate the various conditions this resource can have.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SaasCondition.Builder

addConditionsBuilder(int index)

public SaasCondition.Builder addConditionsBuilder(int index)

Output only. A set of conditions which indicate the various conditions this resource can have.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
SaasCondition.Builder

addLocations(Location value)

public Saas.Builder addLocations(Location value)

Optional. List of locations that the service is available in. Rollout refers to the list to generate a rollout plan.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Location locations = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Location
Returns
Type Description
Saas.Builder

addLocations(Location.Builder builderForValue)

public Saas.Builder addLocations(Location.Builder builderForValue)

Optional. List of locations that the service is available in. Rollout refers to the list to generate a rollout plan.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Location locations = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Location.Builder
Returns
Type Description
Saas.Builder

addLocations(int index, Location value)

public Saas.Builder addLocations(int index, Location value)

Optional. List of locations that the service is available in. Rollout refers to the list to generate a rollout plan.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Location locations = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Location
Returns
Type Description
Saas.Builder

addLocations(int index, Location.Builder builderForValue)

public Saas.Builder addLocations(int index, Location.Builder builderForValue)

Optional. List of locations that the service is available in. Rollout refers to the list to generate a rollout plan.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Location locations = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Location.Builder
Returns
Type Description
Saas.Builder

addLocationsBuilder()

public Location.Builder addLocationsBuilder()

Optional. List of locations that the service is available in. Rollout refers to the list to generate a rollout plan.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Location locations = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Location.Builder

addLocationsBuilder(int index)

public Location.Builder addLocationsBuilder(int index)

Optional. List of locations that the service is available in. Rollout refers to the list to generate a rollout plan.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Location locations = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Location.Builder

build()

public Saas build()
Returns
Type Description
Saas

buildPartial()

public Saas buildPartial()
Returns
Type Description
Saas

clear()

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

clearAnnotations()

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

clearApplicationTemplate()

public Saas.Builder clearApplicationTemplate()

Reference to composite ApplicationTemplate. When specified, the template components will be imported into their equivalent UnitKind, Release and Blueprint resources. Deleted references will not delete imported resources. Should only be specified on source regions, and be unspecified on replica regions.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.CompositeRef application_template = 5;

Returns
Type Description
Saas.Builder

clearBlueprintRepo()

public Saas.Builder clearBlueprintRepo()

Output only. Name of repository in Artifact Registry for system-generated Blueprints, eg. Blueprints of imported ApplicationTemplates.

string blueprint_repo = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Saas.Builder

This builder for chaining.

clearConditions()

public Saas.Builder clearConditions()

Output only. A set of conditions which indicate the various conditions this resource can have.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Saas.Builder

clearCreateTime()

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

clearError()

public Saas.Builder clearError()

Output only. If the state is FAILED, the corresponding error code and message. Defaults to code=OK for all other states.

.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Saas.Builder

clearEtag()

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

This builder for chaining.

clearLabels()

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

clearLocations()

public Saas.Builder clearLocations()

Optional. List of locations that the service is available in. Rollout refers to the list to generate a rollout plan.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Location locations = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Saas.Builder

clearName()

public Saas.Builder clearName()

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

"projects/{project}/locations/{location}/saas/{saas}"

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

Returns
Type Description
Saas.Builder

This builder for chaining.

clearState()

public Saas.Builder clearState()

Output only. State of the Saas. It is always in ACTIVE state if the application_template is empty.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.Saas.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Saas.Builder

This builder for chaining.

clearUid()

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

This builder for chaining.

clearUpdateTime()

public Saas.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
Saas.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

getApplicationTemplate()

public CompositeRef getApplicationTemplate()

Reference to composite ApplicationTemplate. When specified, the template components will be imported into their equivalent UnitKind, Release and Blueprint resources. Deleted references will not delete imported resources. Should only be specified on source regions, and be unspecified on replica regions.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.CompositeRef application_template = 5;

Returns
Type Description
CompositeRef

The applicationTemplate.

getApplicationTemplateBuilder()

public CompositeRef.Builder getApplicationTemplateBuilder()

Reference to composite ApplicationTemplate. When specified, the template components will be imported into their equivalent UnitKind, Release and Blueprint resources. Deleted references will not delete imported resources. Should only be specified on source regions, and be unspecified on replica regions.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.CompositeRef application_template = 5;

Returns
Type Description
CompositeRef.Builder

getApplicationTemplateOrBuilder()

public CompositeRefOrBuilder getApplicationTemplateOrBuilder()

Reference to composite ApplicationTemplate. When specified, the template components will be imported into their equivalent UnitKind, Release and Blueprint resources. Deleted references will not delete imported resources. Should only be specified on source regions, and be unspecified on replica regions.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.CompositeRef application_template = 5;

Returns
Type Description
CompositeRefOrBuilder

getBlueprintRepo()

public String getBlueprintRepo()

Output only. Name of repository in Artifact Registry for system-generated Blueprints, eg. Blueprints of imported ApplicationTemplates.

string blueprint_repo = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The blueprintRepo.

getBlueprintRepoBytes()

public ByteString getBlueprintRepoBytes()

Output only. Name of repository in Artifact Registry for system-generated Blueprints, eg. Blueprints of imported ApplicationTemplates.

string blueprint_repo = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for blueprintRepo.

getConditions(int index)

public SaasCondition getConditions(int index)

Output only. A set of conditions which indicate the various conditions this resource can have.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
SaasCondition

getConditionsBuilder(int index)

public SaasCondition.Builder getConditionsBuilder(int index)

Output only. A set of conditions which indicate the various conditions this resource can have.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
SaasCondition.Builder

getConditionsBuilderList()

public List<SaasCondition.Builder> getConditionsBuilderList()

Output only. A set of conditions which indicate the various conditions this resource can have.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getConditionsCount()

public int getConditionsCount()

Output only. A set of conditions which indicate the various conditions this resource can have.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getConditionsList()

public List<SaasCondition> getConditionsList()

Output only. A set of conditions which indicate the various conditions this resource can have.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<SaasCondition>

getConditionsOrBuilder(int index)

public SaasConditionOrBuilder getConditionsOrBuilder(int index)

Output only. A set of conditions which indicate the various conditions this resource can have.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
SaasConditionOrBuilder

getConditionsOrBuilderList()

public List<? extends SaasConditionOrBuilder> getConditionsOrBuilderList()

Output only. A set of conditions which indicate the various conditions this resource can have.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

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

getDescriptorForType()

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

getError()

public Status getError()

Output only. If the state is FAILED, the corresponding error code and message. Defaults to code=OK for all other states.

.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status

The error.

getErrorBuilder()

public Status.Builder getErrorBuilder()

Output only. If the state is FAILED, the corresponding error code and message. Defaults to code=OK for all other states.

.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status.Builder

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Output only. If the state is FAILED, the corresponding error code and message. Defaults to code=OK for all other states.

.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.StatusOrBuilder

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.

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

getLocations(int index)

public Location getLocations(int index)

Optional. List of locations that the service is available in. Rollout refers to the list to generate a rollout plan.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Location locations = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Location

getLocationsBuilder(int index)

public Location.Builder getLocationsBuilder(int index)

Optional. List of locations that the service is available in. Rollout refers to the list to generate a rollout plan.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Location locations = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Location.Builder

getLocationsBuilderList()

public List<Location.Builder> getLocationsBuilderList()

Optional. List of locations that the service is available in. Rollout refers to the list to generate a rollout plan.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Location locations = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getLocationsCount()

public int getLocationsCount()

Optional. List of locations that the service is available in. Rollout refers to the list to generate a rollout plan.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Location locations = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLocationsList()

public List<Location> getLocationsList()

Optional. List of locations that the service is available in. Rollout refers to the list to generate a rollout plan.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Location locations = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Location>

getLocationsOrBuilder(int index)

public LocationOrBuilder getLocationsOrBuilder(int index)

Optional. List of locations that the service is available in. Rollout refers to the list to generate a rollout plan.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Location locations = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
LocationOrBuilder

getLocationsOrBuilderList()

public List<? extends LocationOrBuilder> getLocationsOrBuilderList()

Optional. List of locations that the service is available in. Rollout refers to the list to generate a rollout plan.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Location locations = 4 [(.google.api.field_behavior) = OPTIONAL];

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

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

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

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

Returns
Type Description
ByteString

The bytes for name.

getState()

public Saas.State getState()

Output only. State of the Saas. It is always in ACTIVE state if the application_template is empty.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.Saas.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Saas.State

The state.

getStateValue()

public int getStateValue()

Output only. State of the Saas. It is always in ACTIVE state if the application_template is empty.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.Saas.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

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

hasApplicationTemplate()

public boolean hasApplicationTemplate()

Reference to composite ApplicationTemplate. When specified, the template components will be imported into their equivalent UnitKind, Release and Blueprint resources. Deleted references will not delete imported resources. Should only be specified on source regions, and be unspecified on replica regions.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.CompositeRef application_template = 5;

Returns
Type Description
boolean

Whether the applicationTemplate field is set.

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.

hasError()

public boolean hasError()

Output only. If the state is FAILED, the corresponding error code and message. Defaults to code=OK for all other states.

.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the error 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 GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeApplicationTemplate(CompositeRef value)

public Saas.Builder mergeApplicationTemplate(CompositeRef value)

Reference to composite ApplicationTemplate. When specified, the template components will be imported into their equivalent UnitKind, Release and Blueprint resources. Deleted references will not delete imported resources. Should only be specified on source regions, and be unspecified on replica regions.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.CompositeRef application_template = 5;

Parameter
Name Description
value CompositeRef
Returns
Type Description
Saas.Builder

mergeCreateTime(Timestamp value)

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

mergeError(Status value)

public Saas.Builder mergeError(Status value)

Output only. If the state is FAILED, the corresponding error code and message. Defaults to code=OK for all other states.

.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
Saas.Builder

mergeFrom(Saas other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUpdateTime(Timestamp value)

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

putAllAnnotations(Map<String,String> values)

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

putAllLabels(Map<String,String> values)

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

putAnnotations(String key, String value)

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

putLabels(String key, String value)

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

removeAnnotations(String key)

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

removeConditions(int index)

public Saas.Builder removeConditions(int index)

Output only. A set of conditions which indicate the various conditions this resource can have.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Saas.Builder

removeLabels(String key)

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

removeLocations(int index)

public Saas.Builder removeLocations(int index)

Optional. List of locations that the service is available in. Rollout refers to the list to generate a rollout plan.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Location locations = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Saas.Builder

setApplicationTemplate(CompositeRef value)

public Saas.Builder setApplicationTemplate(CompositeRef value)

Reference to composite ApplicationTemplate. When specified, the template components will be imported into their equivalent UnitKind, Release and Blueprint resources. Deleted references will not delete imported resources. Should only be specified on source regions, and be unspecified on replica regions.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.CompositeRef application_template = 5;

Parameter
Name Description
value CompositeRef
Returns
Type Description
Saas.Builder

setApplicationTemplate(CompositeRef.Builder builderForValue)

public Saas.Builder setApplicationTemplate(CompositeRef.Builder builderForValue)

Reference to composite ApplicationTemplate. When specified, the template components will be imported into their equivalent UnitKind, Release and Blueprint resources. Deleted references will not delete imported resources. Should only be specified on source regions, and be unspecified on replica regions.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.CompositeRef application_template = 5;

Parameter
Name Description
builderForValue CompositeRef.Builder
Returns
Type Description
Saas.Builder

setBlueprintRepo(String value)

public Saas.Builder setBlueprintRepo(String value)

Output only. Name of repository in Artifact Registry for system-generated Blueprints, eg. Blueprints of imported ApplicationTemplates.

string blueprint_repo = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The blueprintRepo to set.

Returns
Type Description
Saas.Builder

This builder for chaining.

setBlueprintRepoBytes(ByteString value)

public Saas.Builder setBlueprintRepoBytes(ByteString value)

Output only. Name of repository in Artifact Registry for system-generated Blueprints, eg. Blueprints of imported ApplicationTemplates.

string blueprint_repo = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for blueprintRepo to set.

Returns
Type Description
Saas.Builder

This builder for chaining.

setConditions(int index, SaasCondition value)

public Saas.Builder setConditions(int index, SaasCondition value)

Output only. A set of conditions which indicate the various conditions this resource can have.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value SaasCondition
Returns
Type Description
Saas.Builder

setConditions(int index, SaasCondition.Builder builderForValue)

public Saas.Builder setConditions(int index, SaasCondition.Builder builderForValue)

Output only. A set of conditions which indicate the various conditions this resource can have.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue SaasCondition.Builder
Returns
Type Description
Saas.Builder

setCreateTime(Timestamp value)

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

setCreateTime(Timestamp.Builder builderForValue)

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

setError(Status value)

public Saas.Builder setError(Status value)

Output only. If the state is FAILED, the corresponding error code and message. Defaults to code=OK for all other states.

.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
Saas.Builder

setError(Status.Builder builderForValue)

public Saas.Builder setError(Status.Builder builderForValue)

Output only. If the state is FAILED, the corresponding error code and message. Defaults to code=OK for all other states.

.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
Saas.Builder

setEtag(String value)

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

This builder for chaining.

setEtagBytes(ByteString value)

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

This builder for chaining.

setLocations(int index, Location value)

public Saas.Builder setLocations(int index, Location value)

Optional. List of locations that the service is available in. Rollout refers to the list to generate a rollout plan.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Location locations = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Location
Returns
Type Description
Saas.Builder

setLocations(int index, Location.Builder builderForValue)

public Saas.Builder setLocations(int index, Location.Builder builderForValue)

Optional. List of locations that the service is available in. Rollout refers to the list to generate a rollout plan.

repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Location locations = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Location.Builder
Returns
Type Description
Saas.Builder

setName(String value)

public Saas.Builder setName(String value)

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

"projects/{project}/locations/{location}/saas/{saas}"

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Saas.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Saas.Builder setNameBytes(ByteString value)

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

"projects/{project}/locations/{location}/saas/{saas}"

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Saas.Builder

This builder for chaining.

setState(Saas.State value)

public Saas.Builder setState(Saas.State value)

Output only. State of the Saas. It is always in ACTIVE state if the application_template is empty.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.Saas.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Saas.State

The state to set.

Returns
Type Description
Saas.Builder

This builder for chaining.

setStateValue(int value)

public Saas.Builder setStateValue(int value)

Output only. State of the Saas. It is always in ACTIVE state if the application_template is empty.

.google.cloud.saasplatform.saasservicemgmt.v1beta1.Saas.State state = 7 [(.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
Saas.Builder

This builder for chaining.

setUid(String value)

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

This builder for chaining.

setUidBytes(ByteString value)

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

This builder for chaining.

setUpdateTime(Timestamp value)

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

setUpdateTime(Timestamp.Builder builderForValue)

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