class AliasContext extends Message

An alias to a repo revision.

Generated from protobuf message google.devtools.source.v1.AliasContext

Methods

__construct(array $data = NULL)

Constructor.

int
getKind()

The alias kind.

$this
setKind(int $var)

The alias kind.

string
getName()

The alias name.

$this
setName(string $var)

The alias name.

Details

at line 43
__construct(array $data = NULL)

Constructor.

Parameters

array $data { Optional. Data for populating the Message object.

@type int $kind
      The alias kind.
@type string $name
      The alias name.

}

at line 54
int getKind()

The alias kind.

Generated from protobuf field .google.devtools.source.v1.AliasContext.Kind kind = 1;

Return Value

int

at line 66
$this setKind(int $var)

The alias kind.

Generated from protobuf field .google.devtools.source.v1.AliasContext.Kind kind = 1;

Parameters

int $var

Return Value

$this

at line 80
string getName()

The alias name.

Generated from protobuf field string name = 2;

Return Value

string

at line 92
$this setName(string $var)

The alias name.

Generated from protobuf field string name = 2;

Parameters

string $var

Return Value

$this