Class ToMapping.Builder (0.2.0)

public static final class ToMapping.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ToMapping.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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