Class RoutineSpec.Argument.Builder (1.89.0)

public static final class RoutineSpec.Argument.Builder extends GeneratedMessage.Builder<RoutineSpec.Argument.Builder> implements RoutineSpec.ArgumentOrBuilder

Input or output argument of a function or stored procedure.

Protobuf type google.cloud.datacatalog.v1.RoutineSpec.Argument

Static Methods

getDescriptor()

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

Methods

build()

public RoutineSpec.Argument build()
Returns
Type Description
RoutineSpec.Argument

buildPartial()

public RoutineSpec.Argument buildPartial()
Returns
Type Description
RoutineSpec.Argument

clear()

public RoutineSpec.Argument.Builder clear()
Returns
Type Description
RoutineSpec.Argument.Builder
Overrides

clearMode()

public RoutineSpec.Argument.Builder clearMode()

Specifies whether the argument is input or output.

.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2;

Returns
Type Description
RoutineSpec.Argument.Builder

This builder for chaining.

clearName()

public RoutineSpec.Argument.Builder clearName()

The name of the argument. A return argument of a function might not have a name.

string name = 1;

Returns
Type Description
RoutineSpec.Argument.Builder

This builder for chaining.

clearType()

public RoutineSpec.Argument.Builder clearType()

Type of the argument. The exact value depends on the source system and the language.

string type = 3;

Returns
Type Description
RoutineSpec.Argument.Builder

This builder for chaining.

getDefaultInstanceForType()

public RoutineSpec.Argument getDefaultInstanceForType()
Returns
Type Description
RoutineSpec.Argument

getDescriptorForType()

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

getMode()

public RoutineSpec.Argument.Mode getMode()

Specifies whether the argument is input or output.

.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2;

Returns
Type Description
RoutineSpec.Argument.Mode

The mode.

getModeValue()

public int getModeValue()

Specifies whether the argument is input or output.

.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2;

Returns
Type Description
int

The enum numeric value on the wire for mode.

getName()

public String getName()

The name of the argument. A return argument of a function might not have a name.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the argument. A return argument of a function might not have a name.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getType()

public String getType()

Type of the argument. The exact value depends on the source system and the language.

string type = 3;

Returns
Type Description
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Type of the argument. The exact value depends on the source system and the language.

string type = 3;

Returns
Type Description
ByteString

The bytes for type.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RoutineSpec.Argument other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setMode(RoutineSpec.Argument.Mode value)

public RoutineSpec.Argument.Builder setMode(RoutineSpec.Argument.Mode value)

Specifies whether the argument is input or output.

.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2;

Parameter
Name Description
value RoutineSpec.Argument.Mode

The mode to set.

Returns
Type Description
RoutineSpec.Argument.Builder

This builder for chaining.

setModeValue(int value)

public RoutineSpec.Argument.Builder setModeValue(int value)

Specifies whether the argument is input or output.

.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for mode to set.

Returns
Type Description
RoutineSpec.Argument.Builder

This builder for chaining.

setName(String value)

public RoutineSpec.Argument.Builder setName(String value)

The name of the argument. A return argument of a function might not have a name.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
RoutineSpec.Argument.Builder

This builder for chaining.

setNameBytes(ByteString value)

public RoutineSpec.Argument.Builder setNameBytes(ByteString value)

The name of the argument. A return argument of a function might not have a name.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
RoutineSpec.Argument.Builder

This builder for chaining.

setType(String value)

public RoutineSpec.Argument.Builder setType(String value)

Type of the argument. The exact value depends on the source system and the language.

string type = 3;

Parameter
Name Description
value String

The type to set.

Returns
Type Description
RoutineSpec.Argument.Builder

This builder for chaining.

setTypeBytes(ByteString value)

public RoutineSpec.Argument.Builder setTypeBytes(ByteString value)

Type of the argument. The exact value depends on the source system and the language.

string type = 3;

Parameter
Name Description
value ByteString

The bytes for type to set.

Returns
Type Description
RoutineSpec.Argument.Builder

This builder for chaining.