MockRequestBody
class MockRequestBody extends Message (View source)
Generated from protobuf message google.apicore.testing.MockRequestBody
Properties
protected | $oneof_field |
Methods
Constructor.
Generated from protobuf field string name = 1;
Generated from protobuf field string name = 1;
Generated from protobuf field uint64 number = 2;
Generated from protobuf field uint64 number = 2;
Generated from protobuf field repeated string repeated_field = 3;
Generated from protobuf field repeated string repeated_field = 3;
Generated from protobuf field .google.apicore.testing.MockRequestBody nested_message = 4;
Generated from protobuf field .google.apicore.testing.MockRequestBody nested_message = 4;
Generated from protobuf field .google.protobuf.BytesValue bytes_value = 5;
Generated from protobuf field .google.protobuf.BytesValue bytes_value = 5;
Generated from protobuf field .google.protobuf.Duration duration_value = 6;
Generated from protobuf field .google.protobuf.Duration duration_value = 6;
Generated from protobuf field .google.protobuf.FieldMask field_mask = 7;
Generated from protobuf field .google.protobuf.FieldMask field_mask = 7;
Generated from protobuf field .google.protobuf.Int64Value int64_value = 8;
Generated from protobuf field .google.protobuf.Int64Value int64_value = 8;
Generated from protobuf field .google.protobuf.ListValue list_value = 9;
Generated from protobuf field .google.protobuf.ListValue list_value = 9;
Generated from protobuf field .google.protobuf.StringValue string_value = 10;
Generated from protobuf field .google.protobuf.StringValue string_value = 10;
Generated from protobuf field .google.protobuf.Struct struct_value = 11;
Generated from protobuf field .google.protobuf.Struct struct_value = 11;
Generated from protobuf field .google.protobuf.Timestamp timestamp_value = 12;
Generated from protobuf field .google.protobuf.Timestamp timestamp_value = 12;
Generated from protobuf field .google.protobuf.Value value_value = 13;
Generated from protobuf field .google.protobuf.Value value_value = 13;
Generated from protobuf field string field_1 = 14;
Generated from protobuf field string field_1 = 14;
Generated from protobuf field string field_2 = 15;
Generated from protobuf field string field_2 = 15;
Generated from protobuf field string field_3 = 16;
Generated from protobuf field string field_3 = 16;
No description
Details
__construct(array $data = NULL)
Constructor.
string
getName()
Generated from protobuf field string name = 1;
$this
setName(string $var)
Generated from protobuf field string name = 1;
int|string
getNumber()
Generated from protobuf field uint64 number = 2;
$this
setNumber(int|string $var)
Generated from protobuf field uint64 number = 2;
RepeatedField
getRepeatedField()
Generated from protobuf field repeated string repeated_field = 3;
$this
setRepeatedField(string[]|RepeatedField $var)
Generated from protobuf field repeated string repeated_field = 3;
MockRequestBody
getNestedMessage()
Generated from protobuf field .google.apicore.testing.MockRequestBody nested_message = 4;
$this
setNestedMessage(MockRequestBody $var)
Generated from protobuf field .google.apicore.testing.MockRequestBody nested_message = 4;
BytesValue
getBytesValue()
Generated from protobuf field .google.protobuf.BytesValue bytes_value = 5;
$this
setBytesValue(BytesValue $var)
Generated from protobuf field .google.protobuf.BytesValue bytes_value = 5;
Duration
getDurationValue()
Generated from protobuf field .google.protobuf.Duration duration_value = 6;
$this
setDurationValue(Duration $var)
Generated from protobuf field .google.protobuf.Duration duration_value = 6;
FieldMask
getFieldMask()
Generated from protobuf field .google.protobuf.FieldMask field_mask = 7;
$this
setFieldMask(FieldMask $var)
Generated from protobuf field .google.protobuf.FieldMask field_mask = 7;
Int64Value
getInt64Value()
Generated from protobuf field .google.protobuf.Int64Value int64_value = 8;
$this
setInt64Value(Int64Value $var)
Generated from protobuf field .google.protobuf.Int64Value int64_value = 8;
ListValue
getListValue()
Generated from protobuf field .google.protobuf.ListValue list_value = 9;
$this
setListValue(ListValue $var)
Generated from protobuf field .google.protobuf.ListValue list_value = 9;
StringValue
getStringValue()
Generated from protobuf field .google.protobuf.StringValue string_value = 10;
$this
setStringValue(StringValue $var)
Generated from protobuf field .google.protobuf.StringValue string_value = 10;
Struct
getStructValue()
Generated from protobuf field .google.protobuf.Struct struct_value = 11;
$this
setStructValue(Struct $var)
Generated from protobuf field .google.protobuf.Struct struct_value = 11;
Timestamp
getTimestampValue()
Generated from protobuf field .google.protobuf.Timestamp timestamp_value = 12;
$this
setTimestampValue(Timestamp $var)
Generated from protobuf field .google.protobuf.Timestamp timestamp_value = 12;
Value
getValueValue()
Generated from protobuf field .google.protobuf.Value value_value = 13;
$this
setValueValue(Value $var)
Generated from protobuf field .google.protobuf.Value value_value = 13;
string
getField1()
Generated from protobuf field string field_1 = 14;
$this
setField1(string $var)
Generated from protobuf field string field_1 = 14;
string
getField2()
Generated from protobuf field string field_2 = 15;
$this
setField2(string $var)
Generated from protobuf field string field_2 = 15;
string
getField3()
Generated from protobuf field string field_3 = 16;
$this
setField3(string $var)
Generated from protobuf field string field_3 = 16;