[#107] Regenerate proto files

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-08-26 14:36:02 +03:00
parent 981dc785f3
commit 9e82a5a31a
3 changed files with 8 additions and 20 deletions

View file

@ -303,9 +303,9 @@ func (x *Chain) GetKind() isChain_Kind {
func (x *Chain) SetKind(v isChain_Kind) {
x.Kind = v
}
func (x *Chain) GetRaw() *Chain_Raw {
func (x *Chain) GetRaw() []byte {
if xx, ok := x.GetKind().(*Chain_Raw); ok {
return xx
return xx.Raw
}
return nil
}
@ -341,8 +341,6 @@ func (x *Chain) MarshalEasyJSON(out *jwriter.Writer) {
out.RawString(prefix[1:])
out.Base64Bytes(xx.Raw)
}
default:
out.RawString("null")
}
out.RawByte('}')
}

View file

@ -739,9 +739,9 @@ func (x *GetResponse_Body) GetInit() *GetResponse_Body_Init {
func (x *GetResponse_Body) SetInit(v *GetResponse_Body_Init) {
x.ObjectPart = &GetResponse_Body_Init_{Init: v}
}
func (x *GetResponse_Body) GetChunk() *GetResponse_Body_Chunk {
func (x *GetResponse_Body) GetChunk() []byte {
if xx, ok := x.GetObjectPart().(*GetResponse_Body_Chunk); ok {
return xx
return xx.Chunk
}
return nil
}
@ -813,8 +813,6 @@ func (x *GetResponse_Body) MarshalEasyJSON(out *jwriter.Writer) {
out.RawString(prefix[1:])
xx.EcInfo.MarshalEasyJSON(out)
}
default:
out.RawString("null")
}
out.RawByte('}')
}
@ -1486,9 +1484,9 @@ func (x *PutRequest_Body) GetInit() *PutRequest_Body_Init {
func (x *PutRequest_Body) SetInit(v *PutRequest_Body_Init) {
x.ObjectPart = &PutRequest_Body_Init_{Init: v}
}
func (x *PutRequest_Body) GetChunk() *PutRequest_Body_Chunk {
func (x *PutRequest_Body) GetChunk() []byte {
if xx, ok := x.GetObjectPart().(*PutRequest_Body_Chunk); ok {
return xx
return xx.Chunk
}
return nil
}
@ -1530,8 +1528,6 @@ func (x *PutRequest_Body) MarshalEasyJSON(out *jwriter.Writer) {
out.RawString(prefix[1:])
out.Base64Bytes(xx.Chunk)
}
default:
out.RawString("null")
}
out.RawByte('}')
}
@ -3674,8 +3670,6 @@ func (x *HeadResponse_Body) MarshalEasyJSON(out *jwriter.Writer) {
out.RawString(prefix[1:])
xx.EcInfo.MarshalEasyJSON(out)
}
default:
out.RawString("null")
}
out.RawByte('}')
}
@ -5706,9 +5700,9 @@ func (x *GetRangeResponse_Body) GetRangePart() isGetRangeResponse_Body_RangePart
func (x *GetRangeResponse_Body) SetRangePart(v isGetRangeResponse_Body_RangePart) {
x.RangePart = v
}
func (x *GetRangeResponse_Body) GetChunk() *GetRangeResponse_Body_Chunk {
func (x *GetRangeResponse_Body) GetChunk() []byte {
if xx, ok := x.GetRangePart().(*GetRangeResponse_Body_Chunk); ok {
return xx
return xx.Chunk
}
return nil
}
@ -5774,8 +5768,6 @@ func (x *GetRangeResponse_Body) MarshalEasyJSON(out *jwriter.Writer) {
out.RawString(prefix[1:])
xx.EcInfo.MarshalEasyJSON(out)
}
default:
out.RawString("null")
}
out.RawByte('}')
}

View file

@ -1121,8 +1121,6 @@ func (x *SessionToken_Body) MarshalEasyJSON(out *jwriter.Writer) {
out.RawString(prefix)
xx.Container.MarshalEasyJSON(out)
}
default:
out.RawString("null")
}
out.RawByte('}')
}