diff --git a/cs3/sharing/collaboration/v1beta1/collaboration_api.pb.go b/cs3/sharing/collaboration/v1beta1/collaboration_api.pb.go index bd967d0..9cd70c5 100644 --- a/cs3/sharing/collaboration/v1beta1/collaboration_api.pb.go +++ b/cs3/sharing/collaboration/v1beta1/collaboration_api.pb.go @@ -10,6 +10,7 @@ import ( v1beta11 "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" proto "github.com/golang/protobuf/proto" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -795,11 +796,14 @@ type UpdateReceivedShareRequest struct { // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. - Ref *ShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` - Field *UpdateReceivedShareRequest_UpdateField `protobuf:"bytes,3,opt,name=field,proto3" json:"field,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // The received share to update. + Share *ReceivedShare `protobuf:"bytes,2,opt,name=share,proto3" json:"share,omitempty"` + // The update mask applies to the resource. For the `FieldMask` definition, + // see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *UpdateReceivedShareRequest) Reset() { *m = UpdateReceivedShareRequest{} } @@ -834,108 +838,20 @@ func (m *UpdateReceivedShareRequest) GetOpaque() *v1beta1.Opaque { return nil } -func (m *UpdateReceivedShareRequest) GetRef() *ShareReference { +func (m *UpdateReceivedShareRequest) GetShare() *ReceivedShare { if m != nil { - return m.Ref - } - return nil -} - -func (m *UpdateReceivedShareRequest) GetField() *UpdateReceivedShareRequest_UpdateField { - if m != nil { - return m.Field + return m.Share } return nil } -// REQUIRED. -// The field to update. -type UpdateReceivedShareRequest_UpdateField struct { - // One of the update fields MUST be specified. - // - // Types that are valid to be assigned to Field: - // *UpdateReceivedShareRequest_UpdateField_DisplayName - // *UpdateReceivedShareRequest_UpdateField_State - Field isUpdateReceivedShareRequest_UpdateField_Field `protobuf_oneof:"field"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateReceivedShareRequest_UpdateField) Reset() { - *m = UpdateReceivedShareRequest_UpdateField{} -} -func (m *UpdateReceivedShareRequest_UpdateField) String() string { return proto.CompactTextString(m) } -func (*UpdateReceivedShareRequest_UpdateField) ProtoMessage() {} -func (*UpdateReceivedShareRequest_UpdateField) Descriptor() ([]byte, []int) { - return fileDescriptor_2b58cdfce2e5a7f0, []int{12, 0} -} - -func (m *UpdateReceivedShareRequest_UpdateField) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateReceivedShareRequest_UpdateField.Unmarshal(m, b) -} -func (m *UpdateReceivedShareRequest_UpdateField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateReceivedShareRequest_UpdateField.Marshal(b, m, deterministic) -} -func (m *UpdateReceivedShareRequest_UpdateField) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateReceivedShareRequest_UpdateField.Merge(m, src) -} -func (m *UpdateReceivedShareRequest_UpdateField) XXX_Size() int { - return xxx_messageInfo_UpdateReceivedShareRequest_UpdateField.Size(m) -} -func (m *UpdateReceivedShareRequest_UpdateField) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateReceivedShareRequest_UpdateField.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateReceivedShareRequest_UpdateField proto.InternalMessageInfo - -type isUpdateReceivedShareRequest_UpdateField_Field interface { - isUpdateReceivedShareRequest_UpdateField_Field() -} - -type UpdateReceivedShareRequest_UpdateField_DisplayName struct { - DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3,oneof"` -} - -type UpdateReceivedShareRequest_UpdateField_State struct { - State ShareState `protobuf:"varint,2,opt,name=state,proto3,enum=cs3.sharing.collaboration.v1beta1.ShareState,oneof"` -} - -func (*UpdateReceivedShareRequest_UpdateField_DisplayName) isUpdateReceivedShareRequest_UpdateField_Field() { -} - -func (*UpdateReceivedShareRequest_UpdateField_State) isUpdateReceivedShareRequest_UpdateField_Field() { -} - -func (m *UpdateReceivedShareRequest_UpdateField) GetField() isUpdateReceivedShareRequest_UpdateField_Field { +func (m *UpdateReceivedShareRequest) GetUpdateMask() *field_mask.FieldMask { if m != nil { - return m.Field + return m.UpdateMask } return nil } -func (m *UpdateReceivedShareRequest_UpdateField) GetDisplayName() string { - if x, ok := m.GetField().(*UpdateReceivedShareRequest_UpdateField_DisplayName); ok { - return x.DisplayName - } - return "" -} - -func (m *UpdateReceivedShareRequest_UpdateField) GetState() ShareState { - if x, ok := m.GetField().(*UpdateReceivedShareRequest_UpdateField_State); ok { - return x.State - } - return ShareState_SHARE_STATE_INVALID -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UpdateReceivedShareRequest_UpdateField) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UpdateReceivedShareRequest_UpdateField_DisplayName)(nil), - (*UpdateReceivedShareRequest_UpdateField_State)(nil), - } -} - type UpdateReceivedShareResponse struct { // REQUIRED. // The response status. @@ -1124,7 +1040,6 @@ func init() { proto.RegisterType((*ListReceivedSharesRequest)(nil), "cs3.sharing.collaboration.v1beta1.ListReceivedSharesRequest") proto.RegisterType((*ListReceivedSharesResponse)(nil), "cs3.sharing.collaboration.v1beta1.ListReceivedSharesResponse") proto.RegisterType((*UpdateReceivedShareRequest)(nil), "cs3.sharing.collaboration.v1beta1.UpdateReceivedShareRequest") - proto.RegisterType((*UpdateReceivedShareRequest_UpdateField)(nil), "cs3.sharing.collaboration.v1beta1.UpdateReceivedShareRequest.UpdateField") proto.RegisterType((*UpdateReceivedShareResponse)(nil), "cs3.sharing.collaboration.v1beta1.UpdateReceivedShareResponse") proto.RegisterType((*GetReceivedShareRequest)(nil), "cs3.sharing.collaboration.v1beta1.GetReceivedShareRequest") proto.RegisterType((*GetReceivedShareResponse)(nil), "cs3.sharing.collaboration.v1beta1.GetReceivedShareResponse") @@ -1135,63 +1050,64 @@ func init() { } var fileDescriptor_2b58cdfce2e5a7f0 = []byte{ - // 892 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x58, 0x5d, 0x6b, 0x33, 0x45, - 0x14, 0x7e, 0x27, 0x21, 0x79, 0x5f, 0x4f, 0x5e, 0xf5, 0x75, 0xaa, 0x34, 0x5d, 0x15, 0xec, 0x8a, - 0x50, 0x45, 0x37, 0x26, 0xb1, 0x82, 0x1f, 0x2d, 0x36, 0xc1, 0x7e, 0x80, 0xd8, 0xb0, 0x45, 0x0b, - 0x52, 0x08, 0xdb, 0xcd, 0xa4, 0x5d, 0x48, 0x76, 0xb6, 0x33, 0x9b, 0x40, 0xa0, 0x57, 0xde, 0x49, - 0xbd, 0x29, 0xf6, 0x17, 0x88, 0x57, 0xde, 0x2b, 0xe8, 0x0f, 0x10, 0xec, 0x7f, 0xf0, 0x8f, 0x88, - 0x17, 0xb2, 0xb3, 0x93, 0x64, 0x27, 0x59, 0xe9, 0x24, 0x2d, 0xb1, 0xbd, 0xcc, 0xec, 0xf3, 0x3c, - 0xf3, 0x9c, 0x33, 0x73, 0xf6, 0x9c, 0x0d, 0x7c, 0xe4, 0xf2, 0x6a, 0x89, 0x9f, 0x3a, 0xcc, 0xf3, - 0x4f, 0x4a, 0x2e, 0xed, 0x74, 0x9c, 0x63, 0xca, 0x9c, 0xd0, 0xa3, 0x7e, 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2a, 0xde, 0xbc, 0x91, 0xb0, 0xa2, 0x60, 0x7d, 0x5d, 0xae, 0x45, 0xc8, 0x6b, 0x81, - 0x39, 0x92, 0x98, 0x23, 0x05, 0x73, 0x24, 0x31, 0xc7, 0x79, 0xf1, 0xff, 0x4a, 0xf5, 0xdf, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x09, 0x20, 0x2f, 0xe3, 0x5d, 0x12, 0x00, 0x00, + // 907 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x57, 0x51, 0x6b, 0x2b, 0x45, + 0x14, 0x76, 0x12, 0x9a, 0x7b, 0x3d, 0xb9, 0xe2, 0x75, 0xae, 0x72, 0xd3, 0x55, 0xa1, 0x5d, 0x11, + 0xaa, 0xe8, 0xc6, 0x24, 0x56, 0xd0, 0xda, 0x62, 0x13, 0x48, 0x5b, 0x50, 0x1b, 0xb6, 0x68, 0x41, + 0x0a, 0x61, 0xb2, 0x99, 0xa4, 0x4b, 0x93, 0x9d, 0xed, 0xcc, 0x26, 0x10, 0xe8, 0x1f, 0x90, 0xfa, + 0x52, 0xec, 0x2f, 0x10, 0x9f, 0x7c, 0x57, 0xd0, 0x1f, 0x20, 0xd8, 0x67, 0x5f, 0xfd, 0x27, 0x3e, + 0xc8, 0xce, 0x4e, 0x92, 0xdd, 0x26, 0xd2, 0x49, 0x6e, 0x08, 0xed, 0x5b, 0x33, 0xfb, 0x7d, 0xdf, + 0x7c, 0xe7, 0x9c, 0x99, 0x39, 0xa7, 0xf0, 0xa9, 0x23, 0x4a, 0x79, 0x71, 0x4a, 0xb8, 0xeb, 0xb5, + 0xf3, 0x0e, 0xeb, 0x74, 0x48, 0x83, 0x71, 0x12, 0xb8, 0xcc, 0xcb, 0xf7, 0x0b, 0x0d, 0x1a, 0x90, + 0x42, 0x72, 0xb5, 0x4e, 0x7c, 0xd7, 0xf2, 0x39, 0x0b, 0x18, 0x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, 0x92, 0x2f, 0x6f, 0x28, 0x9c, 0x50, 0xb0, 0xbe, 0x2d, 0x94, 0x43, 0xe4, 0x8d, 0xc4, + 0x9c, 0x28, 0xcc, 0x49, 0x02, 0x73, 0xa2, 0x30, 0x8d, 0x8c, 0xec, 0x93, 0xa5, 0xff, 0x02, 0x00, + 0x00, 0xff, 0xff, 0x30, 0x72, 0x48, 0x4b, 0xd9, 0x11, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/cs3/sharing/collaboration/v1beta1/resources.pb.go b/cs3/sharing/collaboration/v1beta1/resources.pb.go index b9784a2..a446758 100644 --- a/cs3/sharing/collaboration/v1beta1/resources.pb.go +++ b/cs3/sharing/collaboration/v1beta1/resources.pb.go @@ -268,17 +268,20 @@ func (m *SharePermissions) GetPermissions() *v1beta1.ResourcePermissions { // A received share is the share that a grantee will receive. // It expands the original share by adding state to the share, // a display name from the perspective of the grantee and a -// resource mount path in case the share will be mounted -// in a path in a storage provider. +// resource mount point in case the share will be mounted +// in a storage provider. type ReceivedShare struct { // REQUIRED. Share *Share `protobuf:"bytes,1,opt,name=share,proto3" json:"share,omitempty"` // REQUIRED. // The state of the share. - State ShareState `protobuf:"varint,2,opt,name=state,proto3,enum=cs3.sharing.collaboration.v1beta1.ShareState" json:"state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + State ShareState `protobuf:"varint,2,opt,name=state,proto3,enum=cs3.sharing.collaboration.v1beta1.ShareState" json:"state,omitempty"` + // REQUIRED. + // The mount point of the share. + MountPoint *v1beta1.Reference `protobuf:"bytes,3,opt,name=mount_point,json=mountPoint,proto3" json:"mount_point,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ReceivedShare) Reset() { *m = ReceivedShare{} } @@ -320,6 +323,13 @@ func (m *ReceivedShare) GetState() ShareState { return ShareState_SHARE_STATE_INVALID } +func (m *ReceivedShare) GetMountPoint() *v1beta1.Reference { + if m != nil { + return m.MountPoint + } + return nil +} + // Uniquely identifies a share in the share provider. // A share MUST be uniquely identify by four (4) elements: // 1) The share provider id @@ -712,58 +722,59 @@ func init() { } var fileDescriptor_cb95b447da150104 = []byte{ - // 833 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0xcf, 0x6f, 0xe3, 0x44, - 0x14, 0xc7, 0xe3, 0xfc, 0xec, 0xbe, 0x2c, 0x95, 0x19, 0x8a, 0x88, 0x16, 0x90, 0xa8, 0xa5, 0x45, - 0xdd, 0x05, 0x1c, 0xa5, 0x39, 0x20, 0x7e, 0xae, 0x12, 0x67, 0x68, 0x4c, 0x2b, 0x37, 0x1a, 0xbb, - 0xcb, 0x0f, 0x55, 0x8a, 0x5c, 0xfb, 0x91, 0xb5, 0x68, 0x62, 0x33, 0xe3, 0x16, 0xe5, 0xce, 0x99, - 0x13, 0x12, 0x27, 0x2e, 0x88, 0x13, 0x7f, 0x0a, 0x17, 0xfe, 0x21, 0x0e, 0x68, 0xc6, 0x76, 0x9a, - 0x44, 0xda, 0x5d, 0xd3, 0x72, 0xf3, 0xcc, 0x7c, 0x3f, 0x6f, 0x5e, 0xdf, 0xfb, 0xce, 0x6b, 0xa0, - 0x17, 0x88, 0x7e, 0x57, 0x3c, 0xf3, 0x79, 0xb4, 0x98, 0x75, 0x83, 0xf8, 0xf2, 0xd2, 0xbf, 0x88, - 0xb9, 0x9f, 0x46, 0xf1, 0xa2, 0x7b, 0xdd, 0xbb, 0xc0, 0xd4, 0xef, 0x75, 0x39, 0x8a, 0xf8, 0x8a, - 0x07, 0x28, 0xcc, 0x84, 0xc7, 0x69, 0x4c, 0xf6, 0x03, 0xd1, 0x37, 0x73, 0xc4, 0xdc, 0x40, 0xcc, - 0x1c, 0x79, 0xf0, 0x48, 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0x04, 0x69, 0x34, 0xc7, 0x4e, - 0x4b, 0xa1, 0x6f, 0x29, 0x34, 0xeb, 0x5f, 0x81, 0x78, 0xd1, 0x1c, 0x45, 0xea, 0xcf, 0x13, 0x96, - 0x49, 0x25, 0x33, 0x57, 0xcc, 0x4e, 0x19, 0x46, 0x49, 0x8d, 0x19, 0xe8, 0xdb, 0xf5, 0x23, 0xee, - 0x66, 0x27, 0x32, 0x67, 0xf4, 0xca, 0x35, 0xf5, 0x79, 0x7d, 0x30, 0x7e, 0xd1, 0xe0, 0x15, 0x86, - 0x01, 0x46, 0xd7, 0x18, 0x66, 0xbe, 0xfb, 0x1c, 0x1a, 0xb2, 0xb1, 0x98, 0x5f, 0x70, 0x50, 0xb6, - 0xd5, 0x2c, 0xc3, 0x88, 0x05, 0x0d, 0x91, 0xfa, 0x29, 0x2a, 0xd7, 0xed, 0x1e, 0x7e, 0x50, 0x96, - 0x77, 0x25, 0xc4, 0x32, 0xd6, 0xf8, 0x5b, 0x83, 0x1d, 0xb5, 0x7b, 0x8c, 0xcb, 0x9b, 0x56, 0x57, - 0xff, 0x63, 0xab, 0xb7, 0x9e, 0x41, 0xed, 0x0e, 0xcf, 0xe0, 0xae, 0x7e, 0x35, 0xde, 0x85, 0x56, - 0xfe, 0x42, 0xc9, 0x9b, 0x70, 0x2f, 0x4e, 0xfc, 0x1f, 0xae, 0x56, 0x6f, 0xf3, 0x1e, 0xdb, 0xc9, - 0x36, 0xec, 0xd0, 0xf8, 0x55, 0x83, 0xdd, 0xac, 0x9e, 0xf8, 0x1d, 0x72, 0x5c, 0x04, 0x48, 0x3e, - 0xbd, 0xdd, 0x24, 0x18, 0x57, 0xd4, 0x2c, 0x78, 0x02, 0xb5, 0xef, 0x71, 0x99, 0xd7, 0xee, 0xbd, - 0xb2, 0xf8, 0x31, 0x2e, 0xc7, 0x15, 0x26, 0xc9, 0x61, 0x13, 0xea, 0x22, 0xc1, 0xc0, 0xf8, 0x43, - 0x03, 0x50, 0x67, 0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0x63, 0x0f, 0x4e, 0x5c, 0xbd, 0x29, 0x5d, - 0x9a, 0x22, 0x9f, 0x3f, 0xe6, 0xb9, 0x49, 0xd5, 0x38, 0x21, 0x6f, 0xc0, 0x6b, 0xee, 0x78, 0xc0, - 0xe8, 0xd4, 0xf5, 0x06, 0xde, 0x7a, 0x92, 0x5b, 0x07, 0x13, 0xea, 0x8c, 0x6c, 0xe7, 0x48, 0xd7, - 0xe4, 0x0d, 0xeb, 0x07, 0x03, 0xcb, 0xa2, 0x13, 0x8f, 0xca, 0xa4, 0xb7, 0x4e, 0x18, 0xfd, 0x92, - 0x5a, 0xf2, 0xa4, 0x36, 0xfc, 0x4d, 0x83, 0x87, 0x41, 0x3c, 0x7f, 0xb9, 0xbf, 0x86, 0xbb, 0x85, - 0x35, 0xc4, 0x44, 0xfe, 0xbb, 0x9f, 0x68, 0xdf, 0xee, 0x6d, 0x08, 0x73, 0xdd, 0xef, 0xd5, 0x9a, - 0xe5, 0x5a, 0x7f, 0x56, 0xf7, 0x2d, 0xd1, 0x57, 0x76, 0x97, 0x11, 0xad, 0x8d, 0x88, 0x4f, 0x7b, - 0x43, 0xa9, 0xfc, 0x4b, 0x69, 0xce, 0x73, 0xcd, 0xf9, 0x86, 0xe6, 0x3c, 0xd7, 0x5c, 0x34, 0xd5, - 0x6f, 0x8b, 0xfe, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x68, 0x24, 0x1b, 0x74, 0x2b, 0x09, 0x00, - 0x00, + // 858 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0x4d, 0x6f, 0xe3, 0x44, + 0x18, 0xc7, 0xe3, 0xbc, 0x76, 0x9f, 0x2c, 0x95, 0x19, 0x8a, 0x88, 0x16, 0x90, 0xa8, 0xa5, 0x85, + 0xee, 0x02, 0x8e, 0xd2, 0x1c, 0x10, 0xaf, 0xab, 0xc4, 0x19, 0x1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 0x58, 0x26, 0xbd, 0x71, 0x42, 0xf0, 0x57, 0xd8, 0x92, 0x27, 0x8d, 0xf1, 0x6f, 0x1a, + 0x3c, 0x0c, 0xd2, 0xf8, 0x66, 0x7f, 0x8d, 0xb7, 0x4b, 0x6b, 0xf0, 0xb9, 0xfc, 0x71, 0x98, 0x6b, + 0xdf, 0xed, 0xac, 0x09, 0x0b, 0xdd, 0xef, 0xf5, 0x86, 0xe5, 0x58, 0x7f, 0xd6, 0x77, 0x2d, 0x3e, + 0x54, 0x76, 0x97, 0x11, 0xad, 0xb5, 0x88, 0x4f, 0x07, 0x63, 0xa9, 0xfc, 0x4b, 0x69, 0x4e, 0x0b, + 0xcd, 0xe9, 0x9a, 0xe6, 0xb4, 0xd0, 0x9c, 0xb5, 0xd5, 0x5f, 0xca, 0xf0, 0xbf, 0x00, 0x00, 0x00, + 0xff, 0xff, 0x01, 0x4c, 0xc6, 0x61, 0x75, 0x09, 0x00, 0x00, } diff --git a/cs3/sharing/ocm/v1beta1/ocm_api.pb.go b/cs3/sharing/ocm/v1beta1/ocm_api.pb.go index b3ce8cb..5a47438 100644 --- a/cs3/sharing/ocm/v1beta1/ocm_api.pb.go +++ b/cs3/sharing/ocm/v1beta1/ocm_api.pb.go @@ -12,6 +12,7 @@ import ( v1beta11 "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" v1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1" proto "github.com/golang/protobuf/proto" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -935,11 +936,14 @@ type UpdateReceivedOCMShareRequest struct { // Opaque information. Opaque *v1beta1.Opaque `protobuf:"bytes,1,opt,name=opaque,proto3" json:"opaque,omitempty"` // REQUIRED. - Ref *ShareReference `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` - Field *UpdateReceivedOCMShareRequest_UpdateField `protobuf:"bytes,3,opt,name=field,proto3" json:"field,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // The received share to update. + Share *ReceivedShare `protobuf:"bytes,2,opt,name=share,proto3" json:"share,omitempty"` + // The update mask applies to the resource. For the `FieldMask` definition, + // see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *UpdateReceivedOCMShareRequest) Reset() { *m = UpdateReceivedOCMShareRequest{} } @@ -974,109 +978,20 @@ func (m *UpdateReceivedOCMShareRequest) GetOpaque() *v1beta1.Opaque { return nil } -func (m *UpdateReceivedOCMShareRequest) GetRef() *ShareReference { +func (m *UpdateReceivedOCMShareRequest) GetShare() *ReceivedShare { if m != nil { - return m.Ref + return m.Share } return nil } -func (m *UpdateReceivedOCMShareRequest) GetField() *UpdateReceivedOCMShareRequest_UpdateField { +func (m *UpdateReceivedOCMShareRequest) GetUpdateMask() *field_mask.FieldMask { if m != nil { - return m.Field + return m.UpdateMask } return nil } -// REQUIRED. -type UpdateReceivedOCMShareRequest_UpdateField struct { - // One of the update fields MUST be specified. - // - // Types that are valid to be assigned to Field: - // *UpdateReceivedOCMShareRequest_UpdateField_DisplayName - // *UpdateReceivedOCMShareRequest_UpdateField_State - Field isUpdateReceivedOCMShareRequest_UpdateField_Field `protobuf_oneof:"field"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateReceivedOCMShareRequest_UpdateField) Reset() { - *m = UpdateReceivedOCMShareRequest_UpdateField{} -} -func (m *UpdateReceivedOCMShareRequest_UpdateField) String() string { - return proto.CompactTextString(m) -} -func (*UpdateReceivedOCMShareRequest_UpdateField) ProtoMessage() {} -func (*UpdateReceivedOCMShareRequest_UpdateField) Descriptor() ([]byte, []int) { - return fileDescriptor_3b1231a7f0a479a0, []int{12, 0} -} - -func (m *UpdateReceivedOCMShareRequest_UpdateField) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateReceivedOCMShareRequest_UpdateField.Unmarshal(m, b) -} -func (m *UpdateReceivedOCMShareRequest_UpdateField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateReceivedOCMShareRequest_UpdateField.Marshal(b, m, deterministic) -} -func (m *UpdateReceivedOCMShareRequest_UpdateField) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateReceivedOCMShareRequest_UpdateField.Merge(m, src) -} -func (m *UpdateReceivedOCMShareRequest_UpdateField) XXX_Size() int { - return xxx_messageInfo_UpdateReceivedOCMShareRequest_UpdateField.Size(m) -} -func (m *UpdateReceivedOCMShareRequest_UpdateField) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateReceivedOCMShareRequest_UpdateField.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateReceivedOCMShareRequest_UpdateField proto.InternalMessageInfo - -type isUpdateReceivedOCMShareRequest_UpdateField_Field interface { - isUpdateReceivedOCMShareRequest_UpdateField_Field() -} - -type UpdateReceivedOCMShareRequest_UpdateField_DisplayName struct { - DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3,oneof"` -} - -type UpdateReceivedOCMShareRequest_UpdateField_State struct { - State ShareState `protobuf:"varint,2,opt,name=state,proto3,enum=cs3.sharing.ocm.v1beta1.ShareState,oneof"` -} - -func (*UpdateReceivedOCMShareRequest_UpdateField_DisplayName) isUpdateReceivedOCMShareRequest_UpdateField_Field() { -} - -func (*UpdateReceivedOCMShareRequest_UpdateField_State) isUpdateReceivedOCMShareRequest_UpdateField_Field() { -} - -func (m *UpdateReceivedOCMShareRequest_UpdateField) GetField() isUpdateReceivedOCMShareRequest_UpdateField_Field { - if m != nil { - return m.Field - } - return nil -} - -func (m *UpdateReceivedOCMShareRequest_UpdateField) GetDisplayName() string { - if x, ok := m.GetField().(*UpdateReceivedOCMShareRequest_UpdateField_DisplayName); ok { - return x.DisplayName - } - return "" -} - -func (m *UpdateReceivedOCMShareRequest_UpdateField) GetState() ShareState { - if x, ok := m.GetField().(*UpdateReceivedOCMShareRequest_UpdateField_State); ok { - return x.State - } - return ShareState_SHARE_STATE_INVALID -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UpdateReceivedOCMShareRequest_UpdateField) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UpdateReceivedOCMShareRequest_UpdateField_DisplayName)(nil), - (*UpdateReceivedOCMShareRequest_UpdateField_State)(nil), - } -} - type UpdateReceivedOCMShareResponse struct { // REQUIRED. // The response status. @@ -1257,7 +1172,6 @@ func init() { proto.RegisterType((*ListReceivedOCMSharesRequest)(nil), "cs3.sharing.ocm.v1beta1.ListReceivedOCMSharesRequest") proto.RegisterType((*ListReceivedOCMSharesResponse)(nil), "cs3.sharing.ocm.v1beta1.ListReceivedOCMSharesResponse") proto.RegisterType((*UpdateReceivedOCMShareRequest)(nil), "cs3.sharing.ocm.v1beta1.UpdateReceivedOCMShareRequest") - proto.RegisterType((*UpdateReceivedOCMShareRequest_UpdateField)(nil), "cs3.sharing.ocm.v1beta1.UpdateReceivedOCMShareRequest.UpdateField") proto.RegisterType((*UpdateReceivedOCMShareResponse)(nil), "cs3.sharing.ocm.v1beta1.UpdateReceivedOCMShareResponse") proto.RegisterType((*GetReceivedOCMShareRequest)(nil), "cs3.sharing.ocm.v1beta1.GetReceivedOCMShareRequest") proto.RegisterType((*GetReceivedOCMShareResponse)(nil), "cs3.sharing.ocm.v1beta1.GetReceivedOCMShareResponse") @@ -1268,78 +1182,79 @@ func init() { } var fileDescriptor_3b1231a7f0a479a0 = []byte{ - // 1126 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00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0xb0, 0x9c, - 0x1d, 0x69, 0x79, 0x5c, 0x10, 0xff, 0xbc, 0x59, 0xf8, 0x3f, 0x00, 0x00, 0xff, 0xff, 0xef, 0x79, - 0x2e, 0xcc, 0xe7, 0x12, 0x00, 0x00, + // 1145 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0x4d, 0x6f, 0x1b, 0x45, + 0x18, 0xce, 0xda, 0x8e, 0x23, 0x5e, 0x97, 0xc8, 0x9a, 0xd6, 0x8d, 0xbb, 0x6d, 0xaa, 0xb2, 0x15, + 0x6d, 0x2a, 0xca, 0x5a, 0xf9, 0x20, 0x28, 0x50, 0x90, 0x12, 0xc7, 0x4d, 0x2d, 0x9a, 0xac, 0x99, + 0xa4, 0x41, 0xa0, 0x08, 0x6b, 0xb3, 0x1e, 0xc7, 0xab, 0x66, 0x3f, 0x32, 0xb3, 0x0e, 0x8a, 0xc4, + 0x01, 0x21, 0x40, 0xa2, 0x37, 0xfe, 0x02, 0x47, 0x2e, 0x20, 0xb8, 0x71, 0xe1, 0xc0, 0x0d, 0x89, + 0x13, 0x12, 0xbf, 0x80, 0x1f, 0x82, 0x66, 0x76, 0xd6, 0x5f, 0xf1, 0xfa, 0x83, 0x44, 0x2e, 0x37, + 0x7b, 0xe6, 0x79, 0x9e, 0xf7, 0x99, 0x77, 0x66, 0xde, 0x79, 0x17, 0x5e, 0xb7, 0xd8, 0x72, 0x81, + 0x35, 0x4c, 0x6a, 0xbb, 0x47, 0x05, 0xcf, 0x72, 0x0a, 0xa7, 0x8b, 0x87, 0x24, 0x30, 0x17, 0xf9, + 0xef, 0xaa, 0xe9, 0xdb, 0xba, 0x4f, 0xbd, 0xc0, 0x43, 0x73, 0x16, 0x5b, 0xd6, 0x25, 0x4c, 0xf7, + 0x2c, 0x47, 0x97, 0x30, 0xf5, 0x01, 0xe7, 0xdb, 0x35, 0xe2, 0x06, 0x76, 0x70, 0x56, 0x68, 0x32, + 0x42, 0x5b, 0x0a, 0x94, 0x30, 0xaf, 0x49, 0x2d, 0xc2, 0x42, 0x0d, 0x75, 0x81, 0x43, 0x79, 0x08, + 0x9f, 0x7a, 0xa7, 0x76, 0x6d, 0x00, 0xf2, 0x16, 0x47, 0x52, 0xdf, 0x6a, 0x01, 0x58, 0x60, 0x06, + 0xcd, 0x68, 0xf6, 0x7e, 0x9c, 0xe5, 0x5e, 0x99, 0x87, 0x02, 0x18, 0x78, 0xd4, 0x3c, 0x22, 0xc3, + 0x83, 0xce, 0x73, 0x74, 0x70, 0xe6, 0x13, 0xd6, 0x82, 0x88, 0x7f, 0x72, 0xfa, 0xce, 0x91, 0xe7, + 0x1d, 0x1d, 0x0b, 0x9d, 0xc0, 0x3b, 0x6c, 0xd6, 0x0b, 0x75, 0x9b, 0x1c, 0xd7, 0xaa, 0x8e, 0xc9, + 0x9e, 0x87, 0x08, 0xed, 0xa7, 0x04, 0xe4, 0x8a, 0x94, 0x98, 0x01, 0x31, 0x8a, 0xdb, 0xbb, 0x0d, + 0x93, 0x12, 0x4c, 0x4e, 0x9a, 0x84, 0x05, 0x68, 0x11, 0xd2, 0x9e, 0x6f, 0x9e, 0x34, 0x49, 0x5e, + 0xb9, 0xa3, 0x2c, 0x64, 0x96, 0x6e, 0xe8, 0x3c, 0x9d, 0xa1, 0xba, 0x8c, 0xa5, 0x1b, 0x02, 0x80, + 0x25, 0x10, 0x95, 0x21, 0x13, 0x19, 0xac, 0xda, 0xb5, 0x7c, 0x42, 0xf0, 0x16, 0x04, 0x4f, 0xae, + 0x48, 0x8f, 0x56, 0xd4, 0x92, 0xc0, 0x92, 0x50, 0xae, 0x61, 0xa0, 0xad, 0xdf, 0x68, 0x0d, 0xa6, + 0x8f, 0xa8, 0xe9, 0x06, 0xf9, 0xa4, 0x10, 0xb9, 0xab, 0xc7, 0xec, 0xa5, 0x2e, 0x3c, 0x6f, 0x71, + 0x28, 0x0e, 0x19, 0xe8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, 0x41, 0xe1, 0xa6, + 0xe5, 0x39, 0x71, 0xd4, 0x8d, 0x0c, 0xbf, 0xf1, 0xbe, 0x5d, 0xe1, 0x05, 0xbf, 0xa2, 0x7c, 0x02, + 0x9e, 0xe5, 0xc8, 0xa9, 0xef, 0x13, 0xc9, 0xe2, 0xae, 0xf1, 0x43, 0x62, 0xae, 0xc8, 0x96, 0x45, + 0xc5, 0xe3, 0x54, 0xc3, 0x72, 0xf4, 0xfd, 0xc5, 0x0d, 0x3e, 0xff, 0x87, 0x98, 0x39, 0x90, 0x33, + 0x07, 0x86, 0xe5, 0x1c, 0xc8, 0x99, 0xc3, 0xb4, 0x78, 0x3f, 0x96, 0xff, 0x0d, 0x00, 0x00, 0xff, + 0xff, 0x16, 0x5a, 0x99, 0xef, 0x75, 0x12, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/cs3/sharing/ocm/v1beta1/resources.pb.go b/cs3/sharing/ocm/v1beta1/resources.pb.go index 21cb5e1..f568ff8 100644 --- a/cs3/sharing/ocm/v1beta1/resources.pb.go +++ b/cs3/sharing/ocm/v1beta1/resources.pb.go @@ -285,17 +285,20 @@ func (m *SharePermissions) GetReshare() bool { // A received share is the share that a grantee will receive. // It expands the original share by adding state to the share, // a display name from the perspective of the grantee and a -// resource mount path in case the share will be mounted -// in a path in a storage provider. +// resource mount point in case the share will be mounted +// in a storage provider. type ReceivedShare struct { // REQUIRED. Share *Share `protobuf:"bytes,1,opt,name=share,proto3" json:"share,omitempty"` // REQUIRED. // The state of the share. - State ShareState `protobuf:"varint,2,opt,name=state,proto3,enum=cs3.sharing.ocm.v1beta1.ShareState" json:"state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + State ShareState `protobuf:"varint,2,opt,name=state,proto3,enum=cs3.sharing.ocm.v1beta1.ShareState" json:"state,omitempty"` + // REQUIRED. + // The mount point of the share. + MountPoint *v1beta1.Reference `protobuf:"bytes,3,opt,name=mount_point,json=mountPoint,proto3" json:"mount_point,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ReceivedShare) Reset() { *m = ReceivedShare{} } @@ -337,6 +340,13 @@ func (m *ReceivedShare) GetState() ShareState { return ShareState_SHARE_STATE_INVALID } +func (m *ReceivedShare) GetMountPoint() *v1beta1.Reference { + if m != nil { + return m.MountPoint + } + return nil +} + // Uniquely identifies a share in the share provider. // A share MUST be uniquely identify by four (4) elements: // 1) The share provider id @@ -608,51 +618,53 @@ func init() { } var fileDescriptor_b8b387acee7aaf43 = []byte{ - // 736 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xdf, 0x6e, 0xda, 0x48, - 0x14, 0xc6, 0x63, 0x03, 0x01, 0x4e, 0xb4, 0x08, 0xcd, 0xae, 0x36, 0x56, 0xb2, 0xbb, 0x62, 0xbd, - 0xda, 0x5d, 0xb2, 0x5a, 0x99, 0x12, 0x5a, 0x55, 0x55, 0x2f, 0x2a, 0x20, 0x2e, 0x71, 0x13, 0x11, - 0x34, 0x38, 0x91, 0x5a, 0x45, 0x42, 0x8e, 0x7d, 0x9a, 0x58, 0x95, 0xb1, 0x3b, 0x63, 0x52, 0x71, - 0xd7, 0xaa, 0x6f, 0xd1, 0xcb, 0xf6, 0xae, 0x8f, 0xd2, 0x9b, 0xbe, 0x52, 0xe5, 0x19, 0x9b, 0x10, - 0x24, 0x50, 0xfe, 0xdc, 0xa0, 0x61, 0xbe, 0xef, 0x37, 0x73, 0x66, 0xe6, 0x9c, 0x63, 0xf8, 0xd7, - 0xe5, 0xad, 0x06, 0xbf, 0x70, 0x98, 0x3f, 0x3e, 0x6f, 0x84, 0x6e, 0xd0, 0xb8, 0x6c, 0x9e, 0x61, - 0xec, 0x34, 0x1b, 0x0c, 0x79, 0x38, 0x61, 0x2e, 0x72, 0x23, 0x62, 0x61, 0x1c, 0x92, 0x4d, 0x97, - 0xb7, 0x8c, 0xd4, 0x68, 0x84, 0x6e, 0x60, 0xa4, 0xc6, 0xad, 0x9d, 0x64, 0x05, 0xdf, 0xc3, 0x71, - 0xec, 0xc7, 0xd3, 0xc6, 0x84, 0x23, 0x5b, 0xb6, 0xc6, 0xd6, 0xff, 0x62, 0xb3, 0x38, 0x64, 0xce, - 0x39, 0x36, 0x22, 0x16, 0x5e, 0xfa, 0xde, 0x0a, 0xf7, 0xef, 0x89, 0x3b, 0x9e, 0x46, 0xc8, 0x67, - 0x16, 0xf1, 0x4f, 0xca, 0xfa, 0x97, 0x02, 0x14, 0x86, 0x17, 0x0e, 0x43, 0xf2, 0x00, 0x54, 0xdf, - 0xd3, 0x94, 0x9a, 0x52, 0xdf, 0xd8, 0xad, 0x19, 0x4b, 0xe2, 0x34, 0x84, 0xd7, 0xf2, 0xa8, 0xea, - 0x7b, 0xc4, 0x82, 0x8d, 0x6c, 0xb7, 0x91, 0xef, 0x69, 0xaa, 0x40, 0xeb, 0x12, 0x95, 0xe1, 0x19, - 0x59, 0x78, 0x33, 0x9e, 0xa6, 0x80, 0xe5, 0x51, 0x60, 0xb3, 0x31, 0x21, 0x90, 0x1f, 0x3b, 0x01, - 0x6a, 0xb9, 0x9a, 0x52, 0x2f, 0x53, 0x31, 0x26, 0x07, 0xb0, 0x11, 0x21, 0x0b, 0x7c, 0xce, 0xfd, - 0x70, 0xcc, 0xb5, 0xbc, 0x58, 0x7e, 0x67, 0x75, 0x64, 0x83, 0x2b, 0x80, 0xce, 0xd3, 0xe4, 0x19, - 0x14, 0xcf, 0x99, 0x33, 0x8e, 0x11, 0xb5, 0x82, 0x58, 0xe8, 0xef, 0xd5, 0x71, 0xf6, 0xa4, 0x99, - 0x66, 0x14, 0x79, 0x0c, 0x85, 0xf0, 0xdd, 0x18, 0x99, 0xb6, 0x2e, 0xf0, 0x3f, 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 0x37, 0x0c, 0x96, 0x05, 0xdc, 0xa9, 0x64, 0x69, - 0xc3, 0x07, 0xc9, 0xc7, 0x66, 0xa0, 0xbc, 0x82, 0xd0, 0x0d, 0x52, 0xf5, 0xb3, 0x9a, 0xeb, 0x0e, - 0x8f, 0xbe, 0xaa, 0x9b, 0x5d, 0xde, 0x12, 0x47, 0x4b, 0xe8, 0x23, 0x37, 0x30, 0x4e, 0x9a, 0x9d, - 0x44, 0xff, 0x26, 0x94, 0xd3, 0x54, 0x39, 0x3d, 0x72, 0x83, 0xd3, 0x54, 0x39, 0x5b, 0x17, 0xdf, - 0xae, 0xd6, 0x8f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0b, 0xe3, 0x9a, 0x99, 0x77, 0x07, 0x00, 0x00, + // 759 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xcd, 0x6e, 0xda, 0x4a, + 0x14, 0xc7, 0x63, 0x03, 0x01, 0x0e, 0xba, 0x08, 0xcd, 0xbd, 0xba, 0xb1, 0x92, 0x7b, 0x2b, 0xea, + 0xaa, 0x0d, 0xa9, 0x2a, 0x53, 0xa0, 0x55, 0x55, 0x75, 0x51, 0x01, 0x71, 0xc1, 0x4d, 0x44, 0xd0, + 0xe0, 0x44, 0x6a, 0x15, 0x09, 0x39, 0xf6, 0x34, 0xb1, 0x2a, 0x7f, 0x74, 0xc6, 0xa4, 0x62, 0x59, + 0xf5, 0x2d, 0xba, 0x6c, 0x77, 0x7d, 0x94, 0x6c, 0xfa, 0x4a, 0x95, 0x67, 0x6c, 0x42, 0x90, 0xa0, + 0xf9, 0xd8, 0xa0, 0x61, 0xce, 0xff, 0x77, 0xe6, 0xcc, 0x9c, 0x0f, 0xc3, 0xb6, 0xcd, 0x5a, 0x75, + 0x76, 0x66, 0x51, 0xd7, 0x3f, 0xad, 0x07, 0xb6, 0x57, 0x3f, 0x6f, 0x9c, 0x90, 0xc8, 0x6a, 0xd4, + 0x29, 0x61, 0xc1, 0x84, 0xda, 0x84, 0x69, 0x21, 0x0d, 0xa2, 0x00, 0x6d, 0xd8, 0xac, 0xa5, 0x25, + 0x42, 0x2d, 0xb0, 0x3d, 0x2d, 0x11, 0x6e, 0xee, 0xc4, 0x1e, 0x5c, 0x87, 0xf8, 0x91, 0x1b, 0x4d, + 0xeb, 0x13, 0x46, 0xe8, 0x32, 0x1f, 0x9b, 0x4f, 0xf8, 0x61, 0x51, 0x40, 0xad, 0x53, 0x52, 0x0f, + 0x69, 0x70, 0xee, 0x3a, 0x2b, 0xd4, 0xff, 0xc7, 0xea, 0x68, 0x1a, 0x12, 0x36, 0x93, 0xf0, 0x7f, + 0xc2, 0xac, 0xfe, 0xc8, 0x41, 0x6e, 0x74, 0x66, 0x51, 0x82, 0x9e, 0x82, 0xec, 0x3a, 0x8a, 0x54, + 0x95, 0x6a, 0xa5, 0x66, 0x55, 0x5b, 0x12, 0xa7, 0xc6, 0xb5, 0x86, 0x83, 0x65, 0xd7, 0x41, 0x06, + 0x94, 0xd2, 0xd3, 0xc6, 0xae, 0xa3, 0xc8, 0x1c, 0xad, 0x09, 0x54, 0x84, 0xa7, 0xa5, 0xe1, 0xcd, + 0x78, 0x9c, 0x00, 0x86, 0x83, 0x81, 0xce, 0xd6, 0x08, 0x41, 0xd6, 0xb7, 0x3c, 0xa2, 0x64, 0xaa, + 0x52, 0xad, 0x88, 0xf9, 0x1a, 0xed, 0x41, 0x29, 0x24, 0xd4, 0x73, 0x19, 0x73, 0x03, 0x9f, 0x29, + 0x59, 0xee, 0x7e, 0x67, 0x75, 0x64, 0xc3, 0x4b, 0x00, 0xcf, 0xd3, 0xe8, 0x35, 0xe4, 0x4f, 0xa9, + 0xe5, 0x47, 0x84, 0x28, 0x39, 0xee, 0xe8, 0xe1, 0xea, 0x38, 0x7b, 0x42, 0x8c, 0x53, 0x0a, 0xbd, + 0x80, 0x5c, 0xf0, 0xd9, 0x27, 0x54, 0x59, 0xe7, 0xf8, 0x7d, 0x8e, 0xa7, 0x09, 0xd3, 0xe2, 0x84, + 0xcd, 0xd8, 0x43, 0x46, 0xa8, 0xe1, 0x60, 0xa1, 0x47, 0xaf, 0x20, 0x6f, 0x53, 0x62, 0x45, 0x01, + 0x55, 0xf2, 0xd7, 0x45, 0x53, 0x02, 0x35, 0x21, 0x67, 0x47, 0xae, 0x47, 0x94, 0x02, 0x47, 0xff, + 0xe3, 0xa8, 0xc8, 0x5f, 0x8a, 0x98, 0xae, 0x47, 0x58, 0x64, 0x79, 0x21, 0x16, 0xd2, 0x98, 0xf1, + 0x38, 0x53, 0xbc, 0x0e, 0xc3, 0xa5, 0xa8, 0x07, 0x10, 0xbf, 0x29, 0x19, 0xc7, 0x3a, 0x05, 0xaa, + 0x52, 0xad, 0x9c, 0x66, 0x72, 0xd9, 0x53, 0x8b, 0x5f, 0x73, 0x1a, 0x12, 0x5c, 0x64, 0xe9, 0x52, + 0x35, 0xa1, 0x38, 0xdb, 0x47, 0xff, 0x02, 0x1a, 0xf5, 0xdb, 0x58, 0x1f, 0x9b, 0xef, 0x86, 0xfa, + 0xd8, 0x18, 0x1c, 0xb5, 0xf7, 0x8d, 0xdd, 0xca, 0xda, 0xc2, 0x3e, 0xd6, 0x7b, 0x87, 0xfb, 0x6d, + 0x5c, 0x91, 0xd0, 0x06, 0xfc, 0x3d, 0xb7, 0x6f, 0xe2, 0xf6, 0x60, 0xf4, 0x46, 0xc7, 0x15, 0x59, + 0xfd, 0x22, 0x41, 0x65, 0x31, 0xbf, 0x68, 0x74, 0xb5, 0x3e, 0x44, 0xe5, 0x36, 0xae, 0x57, 0x7e, + 0x4b, 0xeb, 0x44, 0x81, 0x3c, 0x25, 0xfc, 0x3a, 0xbc, 0x9e, 0x0b, 0x38, 0xfd, 0xab, 0x5e, 0x48, + 0xf0, 0x17, 0x26, 0x36, 0x71, 0xcf, 0x89, 0x23, 0x3a, 0xe6, 0x19, 0xe4, 0x84, 0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0xf4, 0x2a, 0x12, 0x52, 0xe0, 0x9f, 0x79, 0x43, 0xbb, 0xdb, 0xd5, 0x87, 0xa6, + 0xbe, 0x5b, 0x91, 0x17, 0x2d, 0x58, 0x7f, 0xab, 0x77, 0x63, 0x4b, 0xa6, 0x33, 0x81, 0x2d, 0x3b, + 0xf0, 0x96, 0x05, 0xdc, 0x29, 0xa7, 0x65, 0xc3, 0x86, 0xf1, 0x67, 0x6b, 0x28, 0xbd, 0x87, 0xc0, + 0xf6, 0x12, 0xeb, 0x77, 0x39, 0xd3, 0x1d, 0x1d, 0xfc, 0x94, 0x37, 0xba, 0xac, 0xc5, 0xaf, 0x16, + 0xd3, 0x07, 0xb6, 0xa7, 0x1d, 0x35, 0x3a, 0xb1, 0xfd, 0x82, 0x5b, 0x8e, 0x13, 0xcb, 0xf1, 0x81, + 0xed, 0x1d, 0x27, 0x96, 0x93, 0x75, 0xfe, 0x15, 0x6c, 0xfd, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xcb, + 0xf0, 0x8f, 0x6e, 0xc1, 0x07, 0x00, 0x00, } diff --git a/google.golang.org/protobuf/types/known/fieldmaskpb/field_mask.pb.go b/google.golang.org/protobuf/types/known/fieldmaskpb/field_mask.pb.go new file mode 100644 index 0000000..a2c2397 --- /dev/null +++ b/google.golang.org/protobuf/types/known/fieldmaskpb/field_mask.pb.go @@ -0,0 +1,282 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: google/protobuf/field_mask.proto + +package fieldmaskpb + +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +// `FieldMask` represents a set of symbolic field paths, for example: +// +// paths: "f.a" +// paths: "f.b.d" +// +// Here `f` represents a field in some root message, `a` and `b` +// fields in the message found in `f`, and `d` a field found in the +// message in `f.b`. +// +// Field masks are used to specify a subset of fields that should be +// returned by a get operation or modified by an update operation. +// Field masks also have a custom JSON encoding (see below). +// +// # Field Masks in Projections +// +// When used in the context of a projection, a response message or +// sub-message is filtered by the API to only contain those fields as +// specified in the mask. For example, if the mask in the previous +// example is applied to a response message as follows: +// +// f { +// a : 22 +// b { +// d : 1 +// x : 2 +// } +// y : 13 +// } +// z: 8 +// +// The result will not contain specific values for fields x,y and z +// (their value will be set to the default, and omitted in proto text +// output): +// +// +// f { +// a : 22 +// b { +// d : 1 +// } +// } +// +// A repeated field is not allowed except at the last position of a +// paths string. +// +// If a FieldMask object is not present in a get operation, the +// operation applies to all fields (as if a FieldMask of all fields +// had been specified). +// +// Note that a field mask does not necessarily apply to the +// top-level response message. In case of a REST get operation, the +// field mask applies directly to the response, but in case of a REST +// list operation, the mask instead applies to each individual message +// in the returned resource list. In case of a REST custom method, +// other definitions may be used. Where the mask applies will be +// clearly documented together with its declaration in the API. In +// any case, the effect on the returned resource/resources is required +// behavior for APIs. +// +// # Field Masks in Update Operations +// +// A field mask in update operations specifies which fields of the +// targeted resource are going to be updated. The API is required +// to only change the values of the fields as specified in the mask +// and leave the others untouched. If a resource is passed in to +// describe the updated values, the API ignores the values of all +// fields not covered by the mask. +// +// If a repeated field is specified for an update operation, new values will +// be appended to the existing repeated field in the target resource. Note that +// a repeated field is only allowed in the last position of a `paths` string. +// +// If a sub-message is specified in the last position of the field mask for an +// update operation, then new value will be merged into the existing sub-message +// in the target resource. +// +// For example, given the target message: +// +// f { +// b { +// d: 1 +// x: 2 +// } +// c: [1] +// } +// +// And an update message: +// +// f { +// b { +// d: 10 +// } +// c: [2] +// } +// +// then if the field mask is: +// +// paths: ["f.b", "f.c"] +// +// then the result will be: +// +// f { +// b { +// d: 10 +// x: 2 +// } +// c: [1, 2] +// } +// +// An implementation may provide options to override this default behavior for +// repeated and message fields. +// +// In order to reset a field's value to the default, the field must +// be in the mask and set to the default value in the provided resource. +// Hence, in order to reset all fields of a resource, provide a default +// instance of the resource and set all fields in the mask, or do +// not provide a mask as described below. +// +// If a field mask is not present on update, the operation applies to +// all fields (as if a field mask of all fields has been specified). +// Note that in the presence of schema evolution, this may mean that +// fields the client does not know and has therefore not filled into +// the request will be reset to their default. If this is unwanted +// behavior, a specific service may require a client to always specify +// a field mask, producing an error if not. +// +// As with get operations, the location of the resource which +// describes the updated values in the request message depends on the +// operation kind. In any case, the effect of the field mask is +// required to be honored by the API. +// +// ## Considerations for HTTP REST +// +// The HTTP kind of an update operation which uses a field mask must +// be set to PATCH instead of PUT in order to satisfy HTTP semantics +// (PUT must only be used for full updates). +// +// # JSON Encoding of Field Masks +// +// In JSON, a field mask is encoded as a single string where paths are +// separated by a comma. Fields name in each path are converted +// to/from lower-camel naming conventions. +// +// As an example, consider the following message declarations: +// +// message Profile { +// User user = 1; +// Photo photo = 2; +// } +// message User { +// string display_name = 1; +// string address = 2; +// } +// +// In proto a field mask for `Profile` may look as such: +// +// mask { +// paths: "user.display_name" +// paths: "photo" +// } +// +// In JSON, the same mask is represented as below: +// +// { +// mask: "user.displayName,photo" +// } +// +// # Field Masks and Oneof Fields +// +// Field masks treat fields in oneofs just as regular fields. Consider the +// following message: +// +// message SampleMessage { +// oneof test_oneof { +// string name = 4; +// SubMessage sub_message = 9; +// } +// } +// +// The field mask can be: +// +// mask { +// paths: "name" +// } +// +// Or: +// +// mask { +// paths: "sub_message" +// } +// +// Note that oneof type names ("test_oneof" in this case) cannot be used in +// paths. +// +// ## Field Mask Verification +// +// The implementation of any API method which has a FieldMask type field in the +// request should verify the included field paths, and return an +// `INVALID_ARGUMENT` error if any path is unmappable. +type FieldMask struct { + // The set of field mask paths. + Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FieldMask) Reset() { *m = FieldMask{} } +func (m *FieldMask) String() string { return proto.CompactTextString(m) } +func (*FieldMask) ProtoMessage() {} +func (*FieldMask) Descriptor() ([]byte, []int) { + return fileDescriptor_5158202634f0da48, []int{0} +} + +func (m *FieldMask) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FieldMask.Unmarshal(m, b) +} +func (m *FieldMask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FieldMask.Marshal(b, m, deterministic) +} +func (m *FieldMask) XXX_Merge(src proto.Message) { + xxx_messageInfo_FieldMask.Merge(m, src) +} +func (m *FieldMask) XXX_Size() int { + return xxx_messageInfo_FieldMask.Size(m) +} +func (m *FieldMask) XXX_DiscardUnknown() { + xxx_messageInfo_FieldMask.DiscardUnknown(m) +} + +var xxx_messageInfo_FieldMask proto.InternalMessageInfo + +func (m *FieldMask) GetPaths() []string { + if m != nil { + return m.Paths + } + return nil +} + +func init() { + proto.RegisterType((*FieldMask)(nil), "google.protobuf.FieldMask") +} + +func init() { proto.RegisterFile("google/protobuf/field_mask.proto", fileDescriptor_5158202634f0da48) } + +var fileDescriptor_5158202634f0da48 = []byte{ + // 179 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x4f, 0xcb, 0x4c, 0xcd, + 0x49, 0x89, 0xcf, 0x4d, 0x2c, 0xce, 0xd6, 0x03, 0x8b, 0x09, 0xf1, 0x43, 0x54, 0xe8, 0xc1, 0x54, + 0x28, 0x29, 0x72, 0x71, 0xba, 0x81, 0x14, 0xf9, 0x26, 0x16, 0x67, 0x0b, 0x89, 0x70, 0xb1, 0x16, + 0x24, 0x96, 0x64, 0x14, 0x4b, 0x30, 0x2a, 0x30, 0x6b, 0x70, 0x06, 0x41, 0x38, 0x4e, 0xad, 0x8c, + 0x5c, 0xc2, 0xc9, 0xf9, 0xb9, 0x7a, 0x68, 0x5a, 0x9d, 0xf8, 0xe0, 0x1a, 0x03, 0x40, 0x42, 0x01, + 0x8c, 0x51, 0x46, 0x50, 0x25, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0x08, + 0xa7, 0x94, 0x54, 0x16, 0xa4, 0x16, 0xeb, 0x67, 0xe7, 0xe5, 0x97, 0xe7, 0x41, 0x9c, 0x05, 0x72, + 0x55, 0x41, 0xd2, 0x0f, 0x46, 0xc6, 0x45, 0x4c, 0xcc, 0xee, 0x01, 0x4e, 0xab, 0x98, 0xe4, 0xdc, + 0x21, 0xba, 0x03, 0xa0, 0x5a, 0xf4, 0xc2, 0x53, 0x73, 0x72, 0xbc, 0x41, 0x1a, 0x42, 0x40, 0x7a, + 0x93, 0xd8, 0xc0, 0x66, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x94, 0x66, 0x94, 0x9d, 0xe6, + 0x00, 0x00, 0x00, +}