Class RoutineSpec.Argument.Builder (1.49.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public RoutineSpec.Argument.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RoutineSpec.Argument.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RoutineSpec.Argument.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RoutineSpec.Argument.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

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