Class ToMapping.Builder (0.15.0)

public static final class ToMapping.Builder extends GeneratedMessage.Builder<ToMapping.Builder> implements ToMappingOrBuilder

Input variables whose values will be passed on to dependencies

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

Implements

ToMappingOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public ToMapping build()
Returns
Type Description
ToMapping

buildPartial()

public ToMapping buildPartial()
Returns
Type Description
ToMapping

clear()

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

clearDependency()

public ToMapping.Builder clearDependency()

Required. Alias of the dependency that the inputVariable will pass its value to

string dependency = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ToMapping.Builder

This builder for chaining.

clearIgnoreForLookup()

public ToMapping.Builder clearIgnoreForLookup()

Optional. Tells SaaS Runtime if this mapping should be used during lookup or not

bool ignore_for_lookup = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ToMapping.Builder

This builder for chaining.

clearInputVariable()

public ToMapping.Builder clearInputVariable()

Required. Name of the inputVariable on the dependency

string input_variable = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ToMapping.Builder

This builder for chaining.

getDefaultInstanceForType()

public ToMapping getDefaultInstanceForType()
Returns
Type Description
ToMapping

getDependency()

public String getDependency()

Required. Alias of the dependency that the inputVariable will pass its value to

string dependency = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The dependency.

getDependencyBytes()

public ByteString getDependencyBytes()

Required. Alias of the dependency that the inputVariable will pass its value to

string dependency = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for dependency.

getDescriptorForType()

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

getIgnoreForLookup()

public boolean getIgnoreForLookup()

Optional. Tells SaaS Runtime if this mapping should be used during lookup or not

bool ignore_for_lookup = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The ignoreForLookup.

getInputVariable()

public String getInputVariable()

Required. Name of the inputVariable on the dependency

string input_variable = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The inputVariable.

getInputVariableBytes()

public ByteString getInputVariableBytes()

Required. Name of the inputVariable on the dependency

string input_variable = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for inputVariable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ToMapping other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDependency(String value)

public ToMapping.Builder setDependency(String value)

Required. Alias of the dependency that the inputVariable will pass its value to

string dependency = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The dependency to set.

Returns
Type Description
ToMapping.Builder

This builder for chaining.

setDependencyBytes(ByteString value)

public ToMapping.Builder setDependencyBytes(ByteString value)

Required. Alias of the dependency that the inputVariable will pass its value to

string dependency = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for dependency to set.

Returns
Type Description
ToMapping.Builder

This builder for chaining.

setIgnoreForLookup(boolean value)

public ToMapping.Builder setIgnoreForLookup(boolean value)

Optional. Tells SaaS Runtime if this mapping should be used during lookup or not

bool ignore_for_lookup = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The ignoreForLookup to set.

Returns
Type Description
ToMapping.Builder

This builder for chaining.

setInputVariable(String value)

public ToMapping.Builder setInputVariable(String value)

Required. Name of the inputVariable on the dependency

string input_variable = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The inputVariable to set.

Returns
Type Description
ToMapping.Builder

This builder for chaining.

setInputVariableBytes(ByteString value)

public ToMapping.Builder setInputVariableBytes(ByteString value)

Required. Name of the inputVariable on the dependency

string input_variable = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for inputVariable to set.

Returns
Type Description
ToMapping.Builder

This builder for chaining.