Class SaaSRuntimeContext.Builder (0.3.0)

public static final class SaaSRuntimeContext.Builder extends GeneratedMessage.Builder<SaaSRuntimeContext.Builder> implements SaaSRuntimeContextOrBuilder

SaaS runtime context.

Protobuf type google.cloud.designcenter.v1.SaaSRuntimeContext

Static Methods

getDescriptor()

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

Methods

addAllSaasNames(Iterable<String> values)

public SaaSRuntimeContext.Builder addAllSaasNames(Iterable<String> values)

Optional. The SaaS names. Format for each SaaS: projects/{project}/locations/{location}/saas/{saas}

repeated string saas_names = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The saasNames to add.

Returns
Type Description
SaaSRuntimeContext.Builder

This builder for chaining.

addSaasNames(String value)

public SaaSRuntimeContext.Builder addSaasNames(String value)

Optional. The SaaS names. Format for each SaaS: projects/{project}/locations/{location}/saas/{saas}

repeated string saas_names = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The saasNames to add.

Returns
Type Description
SaaSRuntimeContext.Builder

This builder for chaining.

addSaasNamesBytes(ByteString value)

public SaaSRuntimeContext.Builder addSaasNamesBytes(ByteString value)

Optional. The SaaS names. Format for each SaaS: projects/{project}/locations/{location}/saas/{saas}

repeated string saas_names = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the saasNames to add.

Returns
Type Description
SaaSRuntimeContext.Builder

This builder for chaining.

build()

public SaaSRuntimeContext build()
Returns
Type Description
SaaSRuntimeContext

buildPartial()

public SaaSRuntimeContext buildPartial()
Returns
Type Description
SaaSRuntimeContext

clear()

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

clearSaasNames()

public SaaSRuntimeContext.Builder clearSaasNames()

Optional. The SaaS names. Format for each SaaS: projects/{project}/locations/{location}/saas/{saas}

repeated string saas_names = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SaaSRuntimeContext.Builder

This builder for chaining.

getDefaultInstanceForType()

public SaaSRuntimeContext getDefaultInstanceForType()
Returns
Type Description
SaaSRuntimeContext

getDescriptorForType()

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

getSaasNames(int index)

public String getSaasNames(int index)

Optional. The SaaS names. Format for each SaaS: projects/{project}/locations/{location}/saas/{saas}

repeated string saas_names = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The saasNames at the given index.

getSaasNamesBytes(int index)

public ByteString getSaasNamesBytes(int index)

Optional. The SaaS names. Format for each SaaS: projects/{project}/locations/{location}/saas/{saas}

repeated string saas_names = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the saasNames at the given index.

getSaasNamesCount()

public int getSaasNamesCount()

Optional. The SaaS names. Format for each SaaS: projects/{project}/locations/{location}/saas/{saas}

repeated string saas_names = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of saasNames.

getSaasNamesList()

public ProtocolStringList getSaasNamesList()

Optional. The SaaS names. Format for each SaaS: projects/{project}/locations/{location}/saas/{saas}

repeated string saas_names = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the saasNames.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SaaSRuntimeContext other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setSaasNames(int index, String value)

public SaaSRuntimeContext.Builder setSaasNames(int index, String value)

Optional. The SaaS names. Format for each SaaS: projects/{project}/locations/{location}/saas/{saas}

repeated string saas_names = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The saasNames to set.

Returns
Type Description
SaaSRuntimeContext.Builder

This builder for chaining.