Class RoutineSpec.Argument (1.42.0)

public static final class RoutineSpec.Argument extends GeneratedMessageV3 implements RoutineSpec.ArgumentOrBuilder

Input or output argument of a function or stored procedure.

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

Static Fields

MODE_FIELD_NUMBER

public static final int MODE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RoutineSpec.Argument getDefaultInstance()
Returns
TypeDescription
RoutineSpec.Argument

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RoutineSpec.Argument.Builder newBuilder()
Returns
TypeDescription
RoutineSpec.Argument.Builder

newBuilder(RoutineSpec.Argument prototype)

public static RoutineSpec.Argument.Builder newBuilder(RoutineSpec.Argument prototype)
Parameter
NameDescription
prototypeRoutineSpec.Argument
Returns
TypeDescription
RoutineSpec.Argument.Builder

parseDelimitedFrom(InputStream input)

public static RoutineSpec.Argument parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RoutineSpec.Argument
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RoutineSpec.Argument parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RoutineSpec.Argument
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RoutineSpec.Argument parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RoutineSpec.Argument
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RoutineSpec.Argument parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RoutineSpec.Argument
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RoutineSpec.Argument parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RoutineSpec.Argument
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RoutineSpec.Argument parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RoutineSpec.Argument
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RoutineSpec.Argument parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RoutineSpec.Argument
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RoutineSpec.Argument parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RoutineSpec.Argument
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RoutineSpec.Argument parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RoutineSpec.Argument
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RoutineSpec.Argument parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RoutineSpec.Argument
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RoutineSpec.Argument parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RoutineSpec.Argument
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RoutineSpec.Argument parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RoutineSpec.Argument
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RoutineSpec.Argument> parser()
Returns
TypeDescription
Parser<Argument>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<RoutineSpec.Argument> getParserForType()
Returns
TypeDescription
Parser<Argument>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RoutineSpec.Argument.Builder newBuilderForType()
Returns
TypeDescription
RoutineSpec.Argument.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RoutineSpec.Argument.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RoutineSpec.Argument.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RoutineSpec.Argument.Builder toBuilder()
Returns
TypeDescription
RoutineSpec.Argument.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException