class SourceContext extends Message

SourceContext represents information about the source of a protobuf element, like the file in which it is defined.

Protobuf type Google\Protobuf\SourceContext

Methods

__construct()

No description

string
getFileName()

The path-qualified name of the .proto file that contained the associated protobuf element. For example: "google/protobuf/source_context.proto".

setFileName(string $var)

The path-qualified name of the .proto file that contained the associated protobuf element. For example: "google/protobuf/source_context.proto".

Details

at line 27
__construct()

at line 39
string getFileName()

The path-qualified name of the .proto file that contained the associated protobuf element. For example: "google/protobuf/source_context.proto".

Generated from protobuf field string file_name = 1;

Return Value

string

at line 51
setFileName(string $var)

The path-qualified name of the .proto file that contained the associated protobuf element. For example: "google/protobuf/source_context.proto".

Generated from protobuf field string file_name = 1;

Parameters

string $var