Class RoutineSpec.Argument.Builder (1.22.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RoutineSpec.Argument.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RoutineSpec.Argument.Builder
Overrides

build()

public RoutineSpec.Argument build()
Returns
TypeDescription
RoutineSpec.Argument

buildPartial()

public RoutineSpec.Argument buildPartial()
Returns
TypeDescription
RoutineSpec.Argument

clear()

public RoutineSpec.Argument.Builder clear()
Returns
TypeDescription
RoutineSpec.Argument.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RoutineSpec.Argument.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RoutineSpec.Argument.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public RoutineSpec.Argument.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
RoutineSpec.Argument.Builder

This builder for chaining.

clone()

public RoutineSpec.Argument.Builder clone()
Returns
TypeDescription
RoutineSpec.Argument.Builder
Overrides

getDefaultInstanceForType()

public RoutineSpec.Argument getDefaultInstanceForType()
Returns
TypeDescription
RoutineSpec.Argument

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RoutineSpec.Argument other)

public RoutineSpec.Argument.Builder mergeFrom(RoutineSpec.Argument other)
Parameter
NameDescription
otherRoutineSpec.Argument
Returns
TypeDescription
RoutineSpec.Argument.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RoutineSpec.Argument.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RoutineSpec.Argument.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RoutineSpec.Argument.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RoutineSpec.Argument.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RoutineSpec.Argument.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RoutineSpec.Argument.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RoutineSpec.Argument.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueRoutineSpec.Argument.Mode

The mode to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The type to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for type to set.

Returns
TypeDescription
RoutineSpec.Argument.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RoutineSpec.Argument.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RoutineSpec.Argument.Builder
Overrides