github.com/onosproject/onos-api/go@v0.10.32/onos/a1t/admin/admin.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: onos/a1t/admin/admin.proto
     3  
     4  // Package onos.a1t.a1 defines the interior gRPC interfaces for xApps to interact with A1T.
     5  
     6  package a1
     7  
     8  import (
     9  	context "context"
    10  	fmt "fmt"
    11  	_ "github.com/gogo/protobuf/gogoproto"
    12  	proto "github.com/gogo/protobuf/proto"
    13  	golang_proto "github.com/golang/protobuf/proto"
    14  	grpc "google.golang.org/grpc"
    15  	codes "google.golang.org/grpc/codes"
    16  	status "google.golang.org/grpc/status"
    17  	io "io"
    18  	math "math"
    19  	math_bits "math/bits"
    20  )
    21  
    22  // Reference imports to suppress errors if they are not otherwise used.
    23  var _ = proto.Marshal
    24  var _ = golang_proto.Marshal
    25  var _ = fmt.Errorf
    26  var _ = math.Inf
    27  
    28  // This is a compile-time assertion to ensure that this generated file
    29  // is compatible with the proto package it is being compiled against.
    30  // A compilation error at this line likely means your copy of the
    31  // proto package needs to be updated.
    32  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    33  
    34  type GetXAppConnectionsRequest struct {
    35  	XappId string `protobuf:"bytes,1,opt,name=xapp_id,json=xappId,proto3" json:"xapp_id,omitempty"`
    36  }
    37  
    38  func (m *GetXAppConnectionsRequest) Reset()         { *m = GetXAppConnectionsRequest{} }
    39  func (m *GetXAppConnectionsRequest) String() string { return proto.CompactTextString(m) }
    40  func (*GetXAppConnectionsRequest) ProtoMessage()    {}
    41  func (*GetXAppConnectionsRequest) Descriptor() ([]byte, []int) {
    42  	return fileDescriptor_91bce2cfd629db96, []int{0}
    43  }
    44  func (m *GetXAppConnectionsRequest) XXX_Unmarshal(b []byte) error {
    45  	return m.Unmarshal(b)
    46  }
    47  func (m *GetXAppConnectionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    48  	if deterministic {
    49  		return xxx_messageInfo_GetXAppConnectionsRequest.Marshal(b, m, deterministic)
    50  	} else {
    51  		b = b[:cap(b)]
    52  		n, err := m.MarshalToSizedBuffer(b)
    53  		if err != nil {
    54  			return nil, err
    55  		}
    56  		return b[:n], nil
    57  	}
    58  }
    59  func (m *GetXAppConnectionsRequest) XXX_Merge(src proto.Message) {
    60  	xxx_messageInfo_GetXAppConnectionsRequest.Merge(m, src)
    61  }
    62  func (m *GetXAppConnectionsRequest) XXX_Size() int {
    63  	return m.Size()
    64  }
    65  func (m *GetXAppConnectionsRequest) XXX_DiscardUnknown() {
    66  	xxx_messageInfo_GetXAppConnectionsRequest.DiscardUnknown(m)
    67  }
    68  
    69  var xxx_messageInfo_GetXAppConnectionsRequest proto.InternalMessageInfo
    70  
    71  func (m *GetXAppConnectionsRequest) GetXappId() string {
    72  	if m != nil {
    73  		return m.XappId
    74  	}
    75  	return ""
    76  }
    77  
    78  type GetXAppConnectionResponse struct {
    79  	XappId                   string `protobuf:"bytes,1,opt,name=xapp_id,json=xappId,proto3" json:"xapp_id,omitempty"`
    80  	SupportedA1Service       string `protobuf:"bytes,2,opt,name=supported_a1_service,json=supportedA1Service,proto3" json:"supported_a1_service,omitempty"`
    81  	SupportedA1ServiceTypeId string `protobuf:"bytes,3,opt,name=supported_a1_service_type_id,json=supportedA1ServiceTypeId,proto3" json:"supported_a1_service_type_id,omitempty"`
    82  	XappA1Endpoint           string `protobuf:"bytes,4,opt,name=xapp_a1_endpoint,json=xappA1Endpoint,proto3" json:"xapp_a1_endpoint,omitempty"`
    83  }
    84  
    85  func (m *GetXAppConnectionResponse) Reset()         { *m = GetXAppConnectionResponse{} }
    86  func (m *GetXAppConnectionResponse) String() string { return proto.CompactTextString(m) }
    87  func (*GetXAppConnectionResponse) ProtoMessage()    {}
    88  func (*GetXAppConnectionResponse) Descriptor() ([]byte, []int) {
    89  	return fileDescriptor_91bce2cfd629db96, []int{1}
    90  }
    91  func (m *GetXAppConnectionResponse) XXX_Unmarshal(b []byte) error {
    92  	return m.Unmarshal(b)
    93  }
    94  func (m *GetXAppConnectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    95  	if deterministic {
    96  		return xxx_messageInfo_GetXAppConnectionResponse.Marshal(b, m, deterministic)
    97  	} else {
    98  		b = b[:cap(b)]
    99  		n, err := m.MarshalToSizedBuffer(b)
   100  		if err != nil {
   101  			return nil, err
   102  		}
   103  		return b[:n], nil
   104  	}
   105  }
   106  func (m *GetXAppConnectionResponse) XXX_Merge(src proto.Message) {
   107  	xxx_messageInfo_GetXAppConnectionResponse.Merge(m, src)
   108  }
   109  func (m *GetXAppConnectionResponse) XXX_Size() int {
   110  	return m.Size()
   111  }
   112  func (m *GetXAppConnectionResponse) XXX_DiscardUnknown() {
   113  	xxx_messageInfo_GetXAppConnectionResponse.DiscardUnknown(m)
   114  }
   115  
   116  var xxx_messageInfo_GetXAppConnectionResponse proto.InternalMessageInfo
   117  
   118  func (m *GetXAppConnectionResponse) GetXappId() string {
   119  	if m != nil {
   120  		return m.XappId
   121  	}
   122  	return ""
   123  }
   124  
   125  func (m *GetXAppConnectionResponse) GetSupportedA1Service() string {
   126  	if m != nil {
   127  		return m.SupportedA1Service
   128  	}
   129  	return ""
   130  }
   131  
   132  func (m *GetXAppConnectionResponse) GetSupportedA1ServiceTypeId() string {
   133  	if m != nil {
   134  		return m.SupportedA1ServiceTypeId
   135  	}
   136  	return ""
   137  }
   138  
   139  func (m *GetXAppConnectionResponse) GetXappA1Endpoint() string {
   140  	if m != nil {
   141  		return m.XappA1Endpoint
   142  	}
   143  	return ""
   144  }
   145  
   146  type GetPolicyTypeObjectRequest struct {
   147  	PolicyTypeId string `protobuf:"bytes,1,opt,name=policy_type_id,json=policyTypeId,proto3" json:"policy_type_id,omitempty"`
   148  }
   149  
   150  func (m *GetPolicyTypeObjectRequest) Reset()         { *m = GetPolicyTypeObjectRequest{} }
   151  func (m *GetPolicyTypeObjectRequest) String() string { return proto.CompactTextString(m) }
   152  func (*GetPolicyTypeObjectRequest) ProtoMessage()    {}
   153  func (*GetPolicyTypeObjectRequest) Descriptor() ([]byte, []int) {
   154  	return fileDescriptor_91bce2cfd629db96, []int{2}
   155  }
   156  func (m *GetPolicyTypeObjectRequest) XXX_Unmarshal(b []byte) error {
   157  	return m.Unmarshal(b)
   158  }
   159  func (m *GetPolicyTypeObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   160  	if deterministic {
   161  		return xxx_messageInfo_GetPolicyTypeObjectRequest.Marshal(b, m, deterministic)
   162  	} else {
   163  		b = b[:cap(b)]
   164  		n, err := m.MarshalToSizedBuffer(b)
   165  		if err != nil {
   166  			return nil, err
   167  		}
   168  		return b[:n], nil
   169  	}
   170  }
   171  func (m *GetPolicyTypeObjectRequest) XXX_Merge(src proto.Message) {
   172  	xxx_messageInfo_GetPolicyTypeObjectRequest.Merge(m, src)
   173  }
   174  func (m *GetPolicyTypeObjectRequest) XXX_Size() int {
   175  	return m.Size()
   176  }
   177  func (m *GetPolicyTypeObjectRequest) XXX_DiscardUnknown() {
   178  	xxx_messageInfo_GetPolicyTypeObjectRequest.DiscardUnknown(m)
   179  }
   180  
   181  var xxx_messageInfo_GetPolicyTypeObjectRequest proto.InternalMessageInfo
   182  
   183  func (m *GetPolicyTypeObjectRequest) GetPolicyTypeId() string {
   184  	if m != nil {
   185  		return m.PolicyTypeId
   186  	}
   187  	return ""
   188  }
   189  
   190  type GetPolicyTypeObjectResponse struct {
   191  	PolicyTypeId     string   `protobuf:"bytes,1,opt,name=policy_type_id,json=policyTypeId,proto3" json:"policy_type_id,omitempty"`
   192  	PolicyIds        []string `protobuf:"bytes,2,rep,name=policy_ids,json=policyIds,proto3" json:"policy_ids,omitempty"`
   193  	PolicyTypeObject string   `protobuf:"bytes,3,opt,name=policy_type_object,json=policyTypeObject,proto3" json:"policy_type_object,omitempty"`
   194  }
   195  
   196  func (m *GetPolicyTypeObjectResponse) Reset()         { *m = GetPolicyTypeObjectResponse{} }
   197  func (m *GetPolicyTypeObjectResponse) String() string { return proto.CompactTextString(m) }
   198  func (*GetPolicyTypeObjectResponse) ProtoMessage()    {}
   199  func (*GetPolicyTypeObjectResponse) Descriptor() ([]byte, []int) {
   200  	return fileDescriptor_91bce2cfd629db96, []int{3}
   201  }
   202  func (m *GetPolicyTypeObjectResponse) XXX_Unmarshal(b []byte) error {
   203  	return m.Unmarshal(b)
   204  }
   205  func (m *GetPolicyTypeObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   206  	if deterministic {
   207  		return xxx_messageInfo_GetPolicyTypeObjectResponse.Marshal(b, m, deterministic)
   208  	} else {
   209  		b = b[:cap(b)]
   210  		n, err := m.MarshalToSizedBuffer(b)
   211  		if err != nil {
   212  			return nil, err
   213  		}
   214  		return b[:n], nil
   215  	}
   216  }
   217  func (m *GetPolicyTypeObjectResponse) XXX_Merge(src proto.Message) {
   218  	xxx_messageInfo_GetPolicyTypeObjectResponse.Merge(m, src)
   219  }
   220  func (m *GetPolicyTypeObjectResponse) XXX_Size() int {
   221  	return m.Size()
   222  }
   223  func (m *GetPolicyTypeObjectResponse) XXX_DiscardUnknown() {
   224  	xxx_messageInfo_GetPolicyTypeObjectResponse.DiscardUnknown(m)
   225  }
   226  
   227  var xxx_messageInfo_GetPolicyTypeObjectResponse proto.InternalMessageInfo
   228  
   229  func (m *GetPolicyTypeObjectResponse) GetPolicyTypeId() string {
   230  	if m != nil {
   231  		return m.PolicyTypeId
   232  	}
   233  	return ""
   234  }
   235  
   236  func (m *GetPolicyTypeObjectResponse) GetPolicyIds() []string {
   237  	if m != nil {
   238  		return m.PolicyIds
   239  	}
   240  	return nil
   241  }
   242  
   243  func (m *GetPolicyTypeObjectResponse) GetPolicyTypeObject() string {
   244  	if m != nil {
   245  		return m.PolicyTypeObject
   246  	}
   247  	return ""
   248  }
   249  
   250  type GetPolicyObjectRequest struct {
   251  	PolicyTypeId   string `protobuf:"bytes,1,opt,name=policy_type_id,json=policyTypeId,proto3" json:"policy_type_id,omitempty"`
   252  	PolicyObjectId string `protobuf:"bytes,2,opt,name=policy_object_id,json=policyObjectId,proto3" json:"policy_object_id,omitempty"`
   253  }
   254  
   255  func (m *GetPolicyObjectRequest) Reset()         { *m = GetPolicyObjectRequest{} }
   256  func (m *GetPolicyObjectRequest) String() string { return proto.CompactTextString(m) }
   257  func (*GetPolicyObjectRequest) ProtoMessage()    {}
   258  func (*GetPolicyObjectRequest) Descriptor() ([]byte, []int) {
   259  	return fileDescriptor_91bce2cfd629db96, []int{4}
   260  }
   261  func (m *GetPolicyObjectRequest) XXX_Unmarshal(b []byte) error {
   262  	return m.Unmarshal(b)
   263  }
   264  func (m *GetPolicyObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   265  	if deterministic {
   266  		return xxx_messageInfo_GetPolicyObjectRequest.Marshal(b, m, deterministic)
   267  	} else {
   268  		b = b[:cap(b)]
   269  		n, err := m.MarshalToSizedBuffer(b)
   270  		if err != nil {
   271  			return nil, err
   272  		}
   273  		return b[:n], nil
   274  	}
   275  }
   276  func (m *GetPolicyObjectRequest) XXX_Merge(src proto.Message) {
   277  	xxx_messageInfo_GetPolicyObjectRequest.Merge(m, src)
   278  }
   279  func (m *GetPolicyObjectRequest) XXX_Size() int {
   280  	return m.Size()
   281  }
   282  func (m *GetPolicyObjectRequest) XXX_DiscardUnknown() {
   283  	xxx_messageInfo_GetPolicyObjectRequest.DiscardUnknown(m)
   284  }
   285  
   286  var xxx_messageInfo_GetPolicyObjectRequest proto.InternalMessageInfo
   287  
   288  func (m *GetPolicyObjectRequest) GetPolicyTypeId() string {
   289  	if m != nil {
   290  		return m.PolicyTypeId
   291  	}
   292  	return ""
   293  }
   294  
   295  func (m *GetPolicyObjectRequest) GetPolicyObjectId() string {
   296  	if m != nil {
   297  		return m.PolicyObjectId
   298  	}
   299  	return ""
   300  }
   301  
   302  type GetPolicyObjectResponse struct {
   303  	PolicyTypeId   string `protobuf:"bytes,1,opt,name=policy_type_id,json=policyTypeId,proto3" json:"policy_type_id,omitempty"`
   304  	PolicyObjectId string `protobuf:"bytes,2,opt,name=policy_object_id,json=policyObjectId,proto3" json:"policy_object_id,omitempty"`
   305  	PolicyObject   string `protobuf:"bytes,3,opt,name=policy_object,json=policyObject,proto3" json:"policy_object,omitempty"`
   306  }
   307  
   308  func (m *GetPolicyObjectResponse) Reset()         { *m = GetPolicyObjectResponse{} }
   309  func (m *GetPolicyObjectResponse) String() string { return proto.CompactTextString(m) }
   310  func (*GetPolicyObjectResponse) ProtoMessage()    {}
   311  func (*GetPolicyObjectResponse) Descriptor() ([]byte, []int) {
   312  	return fileDescriptor_91bce2cfd629db96, []int{5}
   313  }
   314  func (m *GetPolicyObjectResponse) XXX_Unmarshal(b []byte) error {
   315  	return m.Unmarshal(b)
   316  }
   317  func (m *GetPolicyObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   318  	if deterministic {
   319  		return xxx_messageInfo_GetPolicyObjectResponse.Marshal(b, m, deterministic)
   320  	} else {
   321  		b = b[:cap(b)]
   322  		n, err := m.MarshalToSizedBuffer(b)
   323  		if err != nil {
   324  			return nil, err
   325  		}
   326  		return b[:n], nil
   327  	}
   328  }
   329  func (m *GetPolicyObjectResponse) XXX_Merge(src proto.Message) {
   330  	xxx_messageInfo_GetPolicyObjectResponse.Merge(m, src)
   331  }
   332  func (m *GetPolicyObjectResponse) XXX_Size() int {
   333  	return m.Size()
   334  }
   335  func (m *GetPolicyObjectResponse) XXX_DiscardUnknown() {
   336  	xxx_messageInfo_GetPolicyObjectResponse.DiscardUnknown(m)
   337  }
   338  
   339  var xxx_messageInfo_GetPolicyObjectResponse proto.InternalMessageInfo
   340  
   341  func (m *GetPolicyObjectResponse) GetPolicyTypeId() string {
   342  	if m != nil {
   343  		return m.PolicyTypeId
   344  	}
   345  	return ""
   346  }
   347  
   348  func (m *GetPolicyObjectResponse) GetPolicyObjectId() string {
   349  	if m != nil {
   350  		return m.PolicyObjectId
   351  	}
   352  	return ""
   353  }
   354  
   355  func (m *GetPolicyObjectResponse) GetPolicyObject() string {
   356  	if m != nil {
   357  		return m.PolicyObject
   358  	}
   359  	return ""
   360  }
   361  
   362  type GetPolicyObjectStatusRequest struct {
   363  	PolicyTypeId   string `protobuf:"bytes,1,opt,name=policy_type_id,json=policyTypeId,proto3" json:"policy_type_id,omitempty"`
   364  	PolicyObjectId string `protobuf:"bytes,2,opt,name=policy_object_id,json=policyObjectId,proto3" json:"policy_object_id,omitempty"`
   365  }
   366  
   367  func (m *GetPolicyObjectStatusRequest) Reset()         { *m = GetPolicyObjectStatusRequest{} }
   368  func (m *GetPolicyObjectStatusRequest) String() string { return proto.CompactTextString(m) }
   369  func (*GetPolicyObjectStatusRequest) ProtoMessage()    {}
   370  func (*GetPolicyObjectStatusRequest) Descriptor() ([]byte, []int) {
   371  	return fileDescriptor_91bce2cfd629db96, []int{6}
   372  }
   373  func (m *GetPolicyObjectStatusRequest) XXX_Unmarshal(b []byte) error {
   374  	return m.Unmarshal(b)
   375  }
   376  func (m *GetPolicyObjectStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   377  	if deterministic {
   378  		return xxx_messageInfo_GetPolicyObjectStatusRequest.Marshal(b, m, deterministic)
   379  	} else {
   380  		b = b[:cap(b)]
   381  		n, err := m.MarshalToSizedBuffer(b)
   382  		if err != nil {
   383  			return nil, err
   384  		}
   385  		return b[:n], nil
   386  	}
   387  }
   388  func (m *GetPolicyObjectStatusRequest) XXX_Merge(src proto.Message) {
   389  	xxx_messageInfo_GetPolicyObjectStatusRequest.Merge(m, src)
   390  }
   391  func (m *GetPolicyObjectStatusRequest) XXX_Size() int {
   392  	return m.Size()
   393  }
   394  func (m *GetPolicyObjectStatusRequest) XXX_DiscardUnknown() {
   395  	xxx_messageInfo_GetPolicyObjectStatusRequest.DiscardUnknown(m)
   396  }
   397  
   398  var xxx_messageInfo_GetPolicyObjectStatusRequest proto.InternalMessageInfo
   399  
   400  func (m *GetPolicyObjectStatusRequest) GetPolicyTypeId() string {
   401  	if m != nil {
   402  		return m.PolicyTypeId
   403  	}
   404  	return ""
   405  }
   406  
   407  func (m *GetPolicyObjectStatusRequest) GetPolicyObjectId() string {
   408  	if m != nil {
   409  		return m.PolicyObjectId
   410  	}
   411  	return ""
   412  }
   413  
   414  type GetPolicyObjectStatusResponse struct {
   415  	PolicyTypeId       string `protobuf:"bytes,1,opt,name=policy_type_id,json=policyTypeId,proto3" json:"policy_type_id,omitempty"`
   416  	PolicyObjectId     string `protobuf:"bytes,2,opt,name=policy_object_id,json=policyObjectId,proto3" json:"policy_object_id,omitempty"`
   417  	PolicyObjectStatus string `protobuf:"bytes,3,opt,name=policy_object_status,json=policyObjectStatus,proto3" json:"policy_object_status,omitempty"`
   418  }
   419  
   420  func (m *GetPolicyObjectStatusResponse) Reset()         { *m = GetPolicyObjectStatusResponse{} }
   421  func (m *GetPolicyObjectStatusResponse) String() string { return proto.CompactTextString(m) }
   422  func (*GetPolicyObjectStatusResponse) ProtoMessage()    {}
   423  func (*GetPolicyObjectStatusResponse) Descriptor() ([]byte, []int) {
   424  	return fileDescriptor_91bce2cfd629db96, []int{7}
   425  }
   426  func (m *GetPolicyObjectStatusResponse) XXX_Unmarshal(b []byte) error {
   427  	return m.Unmarshal(b)
   428  }
   429  func (m *GetPolicyObjectStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   430  	if deterministic {
   431  		return xxx_messageInfo_GetPolicyObjectStatusResponse.Marshal(b, m, deterministic)
   432  	} else {
   433  		b = b[:cap(b)]
   434  		n, err := m.MarshalToSizedBuffer(b)
   435  		if err != nil {
   436  			return nil, err
   437  		}
   438  		return b[:n], nil
   439  	}
   440  }
   441  func (m *GetPolicyObjectStatusResponse) XXX_Merge(src proto.Message) {
   442  	xxx_messageInfo_GetPolicyObjectStatusResponse.Merge(m, src)
   443  }
   444  func (m *GetPolicyObjectStatusResponse) XXX_Size() int {
   445  	return m.Size()
   446  }
   447  func (m *GetPolicyObjectStatusResponse) XXX_DiscardUnknown() {
   448  	xxx_messageInfo_GetPolicyObjectStatusResponse.DiscardUnknown(m)
   449  }
   450  
   451  var xxx_messageInfo_GetPolicyObjectStatusResponse proto.InternalMessageInfo
   452  
   453  func (m *GetPolicyObjectStatusResponse) GetPolicyTypeId() string {
   454  	if m != nil {
   455  		return m.PolicyTypeId
   456  	}
   457  	return ""
   458  }
   459  
   460  func (m *GetPolicyObjectStatusResponse) GetPolicyObjectId() string {
   461  	if m != nil {
   462  		return m.PolicyObjectId
   463  	}
   464  	return ""
   465  }
   466  
   467  func (m *GetPolicyObjectStatusResponse) GetPolicyObjectStatus() string {
   468  	if m != nil {
   469  		return m.PolicyObjectStatus
   470  	}
   471  	return ""
   472  }
   473  
   474  func init() {
   475  	proto.RegisterType((*GetXAppConnectionsRequest)(nil), "onos.a1t.admin.GetXAppConnectionsRequest")
   476  	golang_proto.RegisterType((*GetXAppConnectionsRequest)(nil), "onos.a1t.admin.GetXAppConnectionsRequest")
   477  	proto.RegisterType((*GetXAppConnectionResponse)(nil), "onos.a1t.admin.GetXAppConnectionResponse")
   478  	golang_proto.RegisterType((*GetXAppConnectionResponse)(nil), "onos.a1t.admin.GetXAppConnectionResponse")
   479  	proto.RegisterType((*GetPolicyTypeObjectRequest)(nil), "onos.a1t.admin.GetPolicyTypeObjectRequest")
   480  	golang_proto.RegisterType((*GetPolicyTypeObjectRequest)(nil), "onos.a1t.admin.GetPolicyTypeObjectRequest")
   481  	proto.RegisterType((*GetPolicyTypeObjectResponse)(nil), "onos.a1t.admin.GetPolicyTypeObjectResponse")
   482  	golang_proto.RegisterType((*GetPolicyTypeObjectResponse)(nil), "onos.a1t.admin.GetPolicyTypeObjectResponse")
   483  	proto.RegisterType((*GetPolicyObjectRequest)(nil), "onos.a1t.admin.GetPolicyObjectRequest")
   484  	golang_proto.RegisterType((*GetPolicyObjectRequest)(nil), "onos.a1t.admin.GetPolicyObjectRequest")
   485  	proto.RegisterType((*GetPolicyObjectResponse)(nil), "onos.a1t.admin.GetPolicyObjectResponse")
   486  	golang_proto.RegisterType((*GetPolicyObjectResponse)(nil), "onos.a1t.admin.GetPolicyObjectResponse")
   487  	proto.RegisterType((*GetPolicyObjectStatusRequest)(nil), "onos.a1t.admin.GetPolicyObjectStatusRequest")
   488  	golang_proto.RegisterType((*GetPolicyObjectStatusRequest)(nil), "onos.a1t.admin.GetPolicyObjectStatusRequest")
   489  	proto.RegisterType((*GetPolicyObjectStatusResponse)(nil), "onos.a1t.admin.GetPolicyObjectStatusResponse")
   490  	golang_proto.RegisterType((*GetPolicyObjectStatusResponse)(nil), "onos.a1t.admin.GetPolicyObjectStatusResponse")
   491  }
   492  
   493  func init() { proto.RegisterFile("onos/a1t/admin/admin.proto", fileDescriptor_91bce2cfd629db96) }
   494  func init() { golang_proto.RegisterFile("onos/a1t/admin/admin.proto", fileDescriptor_91bce2cfd629db96) }
   495  
   496  var fileDescriptor_91bce2cfd629db96 = []byte{
   497  	// 518 bytes of a gzipped FileDescriptorProto
   498  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0x4f, 0x6f, 0xd3, 0x30,
   499  	0x14, 0xaf, 0x57, 0x34, 0xd4, 0xa7, 0xd1, 0x4d, 0xa6, 0xb0, 0x10, 0xba, 0x68, 0x0a, 0x08, 0x0a,
   500  	0x8c, 0xb4, 0x01, 0xce, 0x48, 0x19, 0x42, 0x53, 0x4e, 0xa0, 0x6e, 0x07, 0x6e, 0x51, 0x56, 0x5b,
   501  	0x23, 0x68, 0xd8, 0xa6, 0x76, 0x27, 0xfa, 0x25, 0xd0, 0xbe, 0x02, 0xdf, 0x84, 0x23, 0x37, 0x7a,
   502  	0xe4, 0x88, 0xda, 0x2f, 0x82, 0xec, 0xa4, 0xd1, 0xd2, 0x26, 0x6a, 0x41, 0xda, 0xa5, 0x6a, 0xfd,
   503  	0x7e, 0x7f, 0xde, 0xfb, 0xb9, 0x7e, 0x60, 0x73, 0xc6, 0x65, 0x37, 0xf6, 0x55, 0x37, 0x26, 0x9f,
   504  	0x13, 0x96, 0x7e, 0x7a, 0x62, 0xc8, 0x15, 0xc7, 0x4d, 0x5d, 0xf3, 0x62, 0x5f, 0x79, 0xe6, 0xd4,
   505  	0x6e, 0x9d, 0xf1, 0x33, 0x6e, 0x4a, 0x5d, 0xfd, 0x2d, 0x45, 0xb9, 0xaf, 0xe0, 0xde, 0x11, 0x55,
   506  	0x1f, 0x02, 0x21, 0xde, 0x70, 0xc6, 0xe8, 0x40, 0x25, 0x9c, 0xc9, 0x3e, 0xfd, 0x32, 0xa2, 0x52,
   507  	0xe1, 0x5d, 0xb8, 0xf9, 0x35, 0x16, 0x22, 0x4a, 0x88, 0x85, 0xf6, 0x51, 0xa7, 0xd1, 0xdf, 0xd4,
   508  	0x3f, 0x43, 0xe2, 0x4e, 0x50, 0x09, 0xad, 0x4f, 0xa5, 0xe0, 0x4c, 0xd2, 0x4a, 0x1a, 0xee, 0x41,
   509  	0x4b, 0x8e, 0x84, 0xe0, 0x43, 0x45, 0x49, 0x14, 0xfb, 0x91, 0xa4, 0xc3, 0x8b, 0x64, 0x40, 0xad,
   510  	0x0d, 0x83, 0xc2, 0x79, 0x2d, 0xf0, 0x8f, 0xd3, 0x0a, 0x7e, 0x0d, 0xed, 0x32, 0x46, 0xa4, 0xc6,
   511  	0x82, 0x6a, 0xfd, 0xba, 0x61, 0x5a, 0xcb, 0xcc, 0x93, 0xb1, 0xa0, 0x21, 0xc1, 0x1d, 0xd8, 0x31,
   512  	0xad, 0xc4, 0x7e, 0x44, 0x19, 0x11, 0x3c, 0x61, 0xca, 0xba, 0x61, 0x38, 0x4d, 0x7d, 0x1e, 0xf8,
   513  	0x6f, 0xb3, 0x53, 0xf7, 0x10, 0xec, 0x23, 0xaa, 0xde, 0xf3, 0xf3, 0x64, 0x30, 0xd6, 0xe4, 0x77,
   514  	0xa7, 0x9f, 0xe8, 0x40, 0xcd, 0x93, 0x78, 0x08, 0x4d, 0x61, 0x4a, 0xb9, 0x73, 0x3a, 0xd9, 0x96,
   515  	0xc8, 0x09, 0x21, 0x71, 0x2f, 0x11, 0xdc, 0x2f, 0x15, 0xc9, 0x82, 0x59, 0x4b, 0x05, 0xef, 0x01,
   516  	0x64, 0xa8, 0x84, 0x48, 0x6b, 0x63, 0xbf, 0xde, 0x69, 0xf4, 0x1b, 0xe9, 0x49, 0x48, 0x24, 0x3e,
   517  	0x00, 0x7c, 0x55, 0x84, 0x1b, 0x8b, 0x2c, 0x88, 0x1d, 0xb1, 0x60, 0xed, 0x7e, 0x84, 0xbb, 0x79,
   518  	0x47, 0xff, 0x31, 0x92, 0x0e, 0x30, 0x43, 0xa5, 0x46, 0x1a, 0x97, 0x5e, 0x57, 0xc6, 0x4e, 0x45,
   519  	0x43, 0xe2, 0x7e, 0x43, 0xb0, 0xbb, 0x64, 0xf5, 0x4f, 0x83, 0xaf, 0xed, 0x85, 0x1f, 0xc0, 0xad,
   520  	0x02, 0x32, 0x1b, 0x7f, 0xeb, 0x2a, 0xcc, 0x65, 0xd0, 0x5e, 0xe8, 0xe7, 0x58, 0xc5, 0x6a, 0x24,
   521  	0xaf, 0x2b, 0x80, 0xef, 0x08, 0xf6, 0x2a, 0x0c, 0xaf, 0x29, 0x86, 0x1e, 0xb4, 0x8a, 0x48, 0x69,
   522  	0xfc, 0xb2, 0x34, 0xb0, 0x58, 0xea, 0xe4, 0xc5, 0xaf, 0x3a, 0x6c, 0x07, 0xfe, 0x49, 0xa0, 0x37,
   523  	0xc2, 0xfc, 0x8d, 0x9d, 0x03, 0x5e, 0x5e, 0x01, 0xf8, 0x89, 0x57, 0xdc, 0x1f, 0x5e, 0xe5, 0x9a,
   524  	0xb0, 0x57, 0x43, 0xe7, 0x09, 0xf4, 0x10, 0x16, 0x70, 0xbb, 0xe4, 0x89, 0xe0, 0xa7, 0x25, 0x1a,
   525  	0x15, 0x8f, 0xd1, 0x7e, 0xb6, 0x16, 0x36, 0x77, 0x24, 0xb0, 0xbd, 0x70, 0x2d, 0xf8, 0x51, 0xa5,
   526  	0x42, 0xd1, 0xe9, 0xf1, 0x4a, 0x5c, 0xee, 0x72, 0x01, 0x77, 0x4a, 0x2f, 0x1f, 0x1f, 0xac, 0xd0,
   527  	0x28, 0xfc, 0x29, 0xed, 0xe7, 0x6b, 0xa2, 0xe7, 0xbe, 0x87, 0xed, 0x9f, 0x53, 0x07, 0x4d, 0xa6,
   528  	0x0e, 0xfa, 0x33, 0x75, 0xd0, 0xe5, 0xcc, 0xa9, 0xfd, 0x98, 0x39, 0x68, 0x32, 0x73, 0x6a, 0xbf,
   529  	0x67, 0x4e, 0xed, 0x74, 0xd3, 0x6c, 0xf9, 0x97, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x0f, 0x68,
   530  	0x8b, 0x27, 0x29, 0x06, 0x00, 0x00,
   531  }
   532  
   533  // Reference imports to suppress errors if they are not otherwise used.
   534  var _ context.Context
   535  var _ grpc.ClientConn
   536  
   537  // This is a compile-time assertion to ensure that this generated file
   538  // is compatible with the grpc package it is being compiled against.
   539  const _ = grpc.SupportPackageIsVersion4
   540  
   541  // A1TAdminServiceClient is the client API for A1TAdminService service.
   542  //
   543  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   544  type A1TAdminServiceClient interface {
   545  	// GetXAppConnections
   546  	GetXAppConnections(ctx context.Context, in *GetXAppConnectionsRequest, opts ...grpc.CallOption) (A1TAdminService_GetXAppConnectionsClient, error)
   547  	// GetPolicyTypeObject
   548  	GetPolicyTypeObject(ctx context.Context, in *GetPolicyTypeObjectRequest, opts ...grpc.CallOption) (A1TAdminService_GetPolicyTypeObjectClient, error)
   549  	// GetPolicyObject
   550  	GetPolicyObject(ctx context.Context, in *GetPolicyObjectRequest, opts ...grpc.CallOption) (A1TAdminService_GetPolicyObjectClient, error)
   551  	// GetPolicyObjectStatus
   552  	GetPolicyObjectStatus(ctx context.Context, in *GetPolicyObjectStatusRequest, opts ...grpc.CallOption) (A1TAdminService_GetPolicyObjectStatusClient, error)
   553  }
   554  
   555  type a1TAdminServiceClient struct {
   556  	cc *grpc.ClientConn
   557  }
   558  
   559  func NewA1TAdminServiceClient(cc *grpc.ClientConn) A1TAdminServiceClient {
   560  	return &a1TAdminServiceClient{cc}
   561  }
   562  
   563  func (c *a1TAdminServiceClient) GetXAppConnections(ctx context.Context, in *GetXAppConnectionsRequest, opts ...grpc.CallOption) (A1TAdminService_GetXAppConnectionsClient, error) {
   564  	stream, err := c.cc.NewStream(ctx, &_A1TAdminService_serviceDesc.Streams[0], "/onos.a1t.admin.A1TAdminService/GetXAppConnections", opts...)
   565  	if err != nil {
   566  		return nil, err
   567  	}
   568  	x := &a1TAdminServiceGetXAppConnectionsClient{stream}
   569  	if err := x.ClientStream.SendMsg(in); err != nil {
   570  		return nil, err
   571  	}
   572  	if err := x.ClientStream.CloseSend(); err != nil {
   573  		return nil, err
   574  	}
   575  	return x, nil
   576  }
   577  
   578  type A1TAdminService_GetXAppConnectionsClient interface {
   579  	Recv() (*GetXAppConnectionResponse, error)
   580  	grpc.ClientStream
   581  }
   582  
   583  type a1TAdminServiceGetXAppConnectionsClient struct {
   584  	grpc.ClientStream
   585  }
   586  
   587  func (x *a1TAdminServiceGetXAppConnectionsClient) Recv() (*GetXAppConnectionResponse, error) {
   588  	m := new(GetXAppConnectionResponse)
   589  	if err := x.ClientStream.RecvMsg(m); err != nil {
   590  		return nil, err
   591  	}
   592  	return m, nil
   593  }
   594  
   595  func (c *a1TAdminServiceClient) GetPolicyTypeObject(ctx context.Context, in *GetPolicyTypeObjectRequest, opts ...grpc.CallOption) (A1TAdminService_GetPolicyTypeObjectClient, error) {
   596  	stream, err := c.cc.NewStream(ctx, &_A1TAdminService_serviceDesc.Streams[1], "/onos.a1t.admin.A1TAdminService/GetPolicyTypeObject", opts...)
   597  	if err != nil {
   598  		return nil, err
   599  	}
   600  	x := &a1TAdminServiceGetPolicyTypeObjectClient{stream}
   601  	if err := x.ClientStream.SendMsg(in); err != nil {
   602  		return nil, err
   603  	}
   604  	if err := x.ClientStream.CloseSend(); err != nil {
   605  		return nil, err
   606  	}
   607  	return x, nil
   608  }
   609  
   610  type A1TAdminService_GetPolicyTypeObjectClient interface {
   611  	Recv() (*GetPolicyTypeObjectResponse, error)
   612  	grpc.ClientStream
   613  }
   614  
   615  type a1TAdminServiceGetPolicyTypeObjectClient struct {
   616  	grpc.ClientStream
   617  }
   618  
   619  func (x *a1TAdminServiceGetPolicyTypeObjectClient) Recv() (*GetPolicyTypeObjectResponse, error) {
   620  	m := new(GetPolicyTypeObjectResponse)
   621  	if err := x.ClientStream.RecvMsg(m); err != nil {
   622  		return nil, err
   623  	}
   624  	return m, nil
   625  }
   626  
   627  func (c *a1TAdminServiceClient) GetPolicyObject(ctx context.Context, in *GetPolicyObjectRequest, opts ...grpc.CallOption) (A1TAdminService_GetPolicyObjectClient, error) {
   628  	stream, err := c.cc.NewStream(ctx, &_A1TAdminService_serviceDesc.Streams[2], "/onos.a1t.admin.A1TAdminService/GetPolicyObject", opts...)
   629  	if err != nil {
   630  		return nil, err
   631  	}
   632  	x := &a1TAdminServiceGetPolicyObjectClient{stream}
   633  	if err := x.ClientStream.SendMsg(in); err != nil {
   634  		return nil, err
   635  	}
   636  	if err := x.ClientStream.CloseSend(); err != nil {
   637  		return nil, err
   638  	}
   639  	return x, nil
   640  }
   641  
   642  type A1TAdminService_GetPolicyObjectClient interface {
   643  	Recv() (*GetPolicyObjectResponse, error)
   644  	grpc.ClientStream
   645  }
   646  
   647  type a1TAdminServiceGetPolicyObjectClient struct {
   648  	grpc.ClientStream
   649  }
   650  
   651  func (x *a1TAdminServiceGetPolicyObjectClient) Recv() (*GetPolicyObjectResponse, error) {
   652  	m := new(GetPolicyObjectResponse)
   653  	if err := x.ClientStream.RecvMsg(m); err != nil {
   654  		return nil, err
   655  	}
   656  	return m, nil
   657  }
   658  
   659  func (c *a1TAdminServiceClient) GetPolicyObjectStatus(ctx context.Context, in *GetPolicyObjectStatusRequest, opts ...grpc.CallOption) (A1TAdminService_GetPolicyObjectStatusClient, error) {
   660  	stream, err := c.cc.NewStream(ctx, &_A1TAdminService_serviceDesc.Streams[3], "/onos.a1t.admin.A1TAdminService/GetPolicyObjectStatus", opts...)
   661  	if err != nil {
   662  		return nil, err
   663  	}
   664  	x := &a1TAdminServiceGetPolicyObjectStatusClient{stream}
   665  	if err := x.ClientStream.SendMsg(in); err != nil {
   666  		return nil, err
   667  	}
   668  	if err := x.ClientStream.CloseSend(); err != nil {
   669  		return nil, err
   670  	}
   671  	return x, nil
   672  }
   673  
   674  type A1TAdminService_GetPolicyObjectStatusClient interface {
   675  	Recv() (*GetPolicyObjectStatusResponse, error)
   676  	grpc.ClientStream
   677  }
   678  
   679  type a1TAdminServiceGetPolicyObjectStatusClient struct {
   680  	grpc.ClientStream
   681  }
   682  
   683  func (x *a1TAdminServiceGetPolicyObjectStatusClient) Recv() (*GetPolicyObjectStatusResponse, error) {
   684  	m := new(GetPolicyObjectStatusResponse)
   685  	if err := x.ClientStream.RecvMsg(m); err != nil {
   686  		return nil, err
   687  	}
   688  	return m, nil
   689  }
   690  
   691  // A1TAdminServiceServer is the server API for A1TAdminService service.
   692  type A1TAdminServiceServer interface {
   693  	// GetXAppConnections
   694  	GetXAppConnections(*GetXAppConnectionsRequest, A1TAdminService_GetXAppConnectionsServer) error
   695  	// GetPolicyTypeObject
   696  	GetPolicyTypeObject(*GetPolicyTypeObjectRequest, A1TAdminService_GetPolicyTypeObjectServer) error
   697  	// GetPolicyObject
   698  	GetPolicyObject(*GetPolicyObjectRequest, A1TAdminService_GetPolicyObjectServer) error
   699  	// GetPolicyObjectStatus
   700  	GetPolicyObjectStatus(*GetPolicyObjectStatusRequest, A1TAdminService_GetPolicyObjectStatusServer) error
   701  }
   702  
   703  // UnimplementedA1TAdminServiceServer can be embedded to have forward compatible implementations.
   704  type UnimplementedA1TAdminServiceServer struct {
   705  }
   706  
   707  func (*UnimplementedA1TAdminServiceServer) GetXAppConnections(req *GetXAppConnectionsRequest, srv A1TAdminService_GetXAppConnectionsServer) error {
   708  	return status.Errorf(codes.Unimplemented, "method GetXAppConnections not implemented")
   709  }
   710  func (*UnimplementedA1TAdminServiceServer) GetPolicyTypeObject(req *GetPolicyTypeObjectRequest, srv A1TAdminService_GetPolicyTypeObjectServer) error {
   711  	return status.Errorf(codes.Unimplemented, "method GetPolicyTypeObject not implemented")
   712  }
   713  func (*UnimplementedA1TAdminServiceServer) GetPolicyObject(req *GetPolicyObjectRequest, srv A1TAdminService_GetPolicyObjectServer) error {
   714  	return status.Errorf(codes.Unimplemented, "method GetPolicyObject not implemented")
   715  }
   716  func (*UnimplementedA1TAdminServiceServer) GetPolicyObjectStatus(req *GetPolicyObjectStatusRequest, srv A1TAdminService_GetPolicyObjectStatusServer) error {
   717  	return status.Errorf(codes.Unimplemented, "method GetPolicyObjectStatus not implemented")
   718  }
   719  
   720  func RegisterA1TAdminServiceServer(s *grpc.Server, srv A1TAdminServiceServer) {
   721  	s.RegisterService(&_A1TAdminService_serviceDesc, srv)
   722  }
   723  
   724  func _A1TAdminService_GetXAppConnections_Handler(srv interface{}, stream grpc.ServerStream) error {
   725  	m := new(GetXAppConnectionsRequest)
   726  	if err := stream.RecvMsg(m); err != nil {
   727  		return err
   728  	}
   729  	return srv.(A1TAdminServiceServer).GetXAppConnections(m, &a1TAdminServiceGetXAppConnectionsServer{stream})
   730  }
   731  
   732  type A1TAdminService_GetXAppConnectionsServer interface {
   733  	Send(*GetXAppConnectionResponse) error
   734  	grpc.ServerStream
   735  }
   736  
   737  type a1TAdminServiceGetXAppConnectionsServer struct {
   738  	grpc.ServerStream
   739  }
   740  
   741  func (x *a1TAdminServiceGetXAppConnectionsServer) Send(m *GetXAppConnectionResponse) error {
   742  	return x.ServerStream.SendMsg(m)
   743  }
   744  
   745  func _A1TAdminService_GetPolicyTypeObject_Handler(srv interface{}, stream grpc.ServerStream) error {
   746  	m := new(GetPolicyTypeObjectRequest)
   747  	if err := stream.RecvMsg(m); err != nil {
   748  		return err
   749  	}
   750  	return srv.(A1TAdminServiceServer).GetPolicyTypeObject(m, &a1TAdminServiceGetPolicyTypeObjectServer{stream})
   751  }
   752  
   753  type A1TAdminService_GetPolicyTypeObjectServer interface {
   754  	Send(*GetPolicyTypeObjectResponse) error
   755  	grpc.ServerStream
   756  }
   757  
   758  type a1TAdminServiceGetPolicyTypeObjectServer struct {
   759  	grpc.ServerStream
   760  }
   761  
   762  func (x *a1TAdminServiceGetPolicyTypeObjectServer) Send(m *GetPolicyTypeObjectResponse) error {
   763  	return x.ServerStream.SendMsg(m)
   764  }
   765  
   766  func _A1TAdminService_GetPolicyObject_Handler(srv interface{}, stream grpc.ServerStream) error {
   767  	m := new(GetPolicyObjectRequest)
   768  	if err := stream.RecvMsg(m); err != nil {
   769  		return err
   770  	}
   771  	return srv.(A1TAdminServiceServer).GetPolicyObject(m, &a1TAdminServiceGetPolicyObjectServer{stream})
   772  }
   773  
   774  type A1TAdminService_GetPolicyObjectServer interface {
   775  	Send(*GetPolicyObjectResponse) error
   776  	grpc.ServerStream
   777  }
   778  
   779  type a1TAdminServiceGetPolicyObjectServer struct {
   780  	grpc.ServerStream
   781  }
   782  
   783  func (x *a1TAdminServiceGetPolicyObjectServer) Send(m *GetPolicyObjectResponse) error {
   784  	return x.ServerStream.SendMsg(m)
   785  }
   786  
   787  func _A1TAdminService_GetPolicyObjectStatus_Handler(srv interface{}, stream grpc.ServerStream) error {
   788  	m := new(GetPolicyObjectStatusRequest)
   789  	if err := stream.RecvMsg(m); err != nil {
   790  		return err
   791  	}
   792  	return srv.(A1TAdminServiceServer).GetPolicyObjectStatus(m, &a1TAdminServiceGetPolicyObjectStatusServer{stream})
   793  }
   794  
   795  type A1TAdminService_GetPolicyObjectStatusServer interface {
   796  	Send(*GetPolicyObjectStatusResponse) error
   797  	grpc.ServerStream
   798  }
   799  
   800  type a1TAdminServiceGetPolicyObjectStatusServer struct {
   801  	grpc.ServerStream
   802  }
   803  
   804  func (x *a1TAdminServiceGetPolicyObjectStatusServer) Send(m *GetPolicyObjectStatusResponse) error {
   805  	return x.ServerStream.SendMsg(m)
   806  }
   807  
   808  var _A1TAdminService_serviceDesc = grpc.ServiceDesc{
   809  	ServiceName: "onos.a1t.admin.A1TAdminService",
   810  	HandlerType: (*A1TAdminServiceServer)(nil),
   811  	Methods:     []grpc.MethodDesc{},
   812  	Streams: []grpc.StreamDesc{
   813  		{
   814  			StreamName:    "GetXAppConnections",
   815  			Handler:       _A1TAdminService_GetXAppConnections_Handler,
   816  			ServerStreams: true,
   817  		},
   818  		{
   819  			StreamName:    "GetPolicyTypeObject",
   820  			Handler:       _A1TAdminService_GetPolicyTypeObject_Handler,
   821  			ServerStreams: true,
   822  		},
   823  		{
   824  			StreamName:    "GetPolicyObject",
   825  			Handler:       _A1TAdminService_GetPolicyObject_Handler,
   826  			ServerStreams: true,
   827  		},
   828  		{
   829  			StreamName:    "GetPolicyObjectStatus",
   830  			Handler:       _A1TAdminService_GetPolicyObjectStatus_Handler,
   831  			ServerStreams: true,
   832  		},
   833  	},
   834  	Metadata: "onos/a1t/admin/admin.proto",
   835  }
   836  
   837  func (m *GetXAppConnectionsRequest) Marshal() (dAtA []byte, err error) {
   838  	size := m.Size()
   839  	dAtA = make([]byte, size)
   840  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   841  	if err != nil {
   842  		return nil, err
   843  	}
   844  	return dAtA[:n], nil
   845  }
   846  
   847  func (m *GetXAppConnectionsRequest) MarshalTo(dAtA []byte) (int, error) {
   848  	size := m.Size()
   849  	return m.MarshalToSizedBuffer(dAtA[:size])
   850  }
   851  
   852  func (m *GetXAppConnectionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   853  	i := len(dAtA)
   854  	_ = i
   855  	var l int
   856  	_ = l
   857  	if len(m.XappId) > 0 {
   858  		i -= len(m.XappId)
   859  		copy(dAtA[i:], m.XappId)
   860  		i = encodeVarintAdmin(dAtA, i, uint64(len(m.XappId)))
   861  		i--
   862  		dAtA[i] = 0xa
   863  	}
   864  	return len(dAtA) - i, nil
   865  }
   866  
   867  func (m *GetXAppConnectionResponse) Marshal() (dAtA []byte, err error) {
   868  	size := m.Size()
   869  	dAtA = make([]byte, size)
   870  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   871  	if err != nil {
   872  		return nil, err
   873  	}
   874  	return dAtA[:n], nil
   875  }
   876  
   877  func (m *GetXAppConnectionResponse) MarshalTo(dAtA []byte) (int, error) {
   878  	size := m.Size()
   879  	return m.MarshalToSizedBuffer(dAtA[:size])
   880  }
   881  
   882  func (m *GetXAppConnectionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   883  	i := len(dAtA)
   884  	_ = i
   885  	var l int
   886  	_ = l
   887  	if len(m.XappA1Endpoint) > 0 {
   888  		i -= len(m.XappA1Endpoint)
   889  		copy(dAtA[i:], m.XappA1Endpoint)
   890  		i = encodeVarintAdmin(dAtA, i, uint64(len(m.XappA1Endpoint)))
   891  		i--
   892  		dAtA[i] = 0x22
   893  	}
   894  	if len(m.SupportedA1ServiceTypeId) > 0 {
   895  		i -= len(m.SupportedA1ServiceTypeId)
   896  		copy(dAtA[i:], m.SupportedA1ServiceTypeId)
   897  		i = encodeVarintAdmin(dAtA, i, uint64(len(m.SupportedA1ServiceTypeId)))
   898  		i--
   899  		dAtA[i] = 0x1a
   900  	}
   901  	if len(m.SupportedA1Service) > 0 {
   902  		i -= len(m.SupportedA1Service)
   903  		copy(dAtA[i:], m.SupportedA1Service)
   904  		i = encodeVarintAdmin(dAtA, i, uint64(len(m.SupportedA1Service)))
   905  		i--
   906  		dAtA[i] = 0x12
   907  	}
   908  	if len(m.XappId) > 0 {
   909  		i -= len(m.XappId)
   910  		copy(dAtA[i:], m.XappId)
   911  		i = encodeVarintAdmin(dAtA, i, uint64(len(m.XappId)))
   912  		i--
   913  		dAtA[i] = 0xa
   914  	}
   915  	return len(dAtA) - i, nil
   916  }
   917  
   918  func (m *GetPolicyTypeObjectRequest) Marshal() (dAtA []byte, err error) {
   919  	size := m.Size()
   920  	dAtA = make([]byte, size)
   921  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   922  	if err != nil {
   923  		return nil, err
   924  	}
   925  	return dAtA[:n], nil
   926  }
   927  
   928  func (m *GetPolicyTypeObjectRequest) MarshalTo(dAtA []byte) (int, error) {
   929  	size := m.Size()
   930  	return m.MarshalToSizedBuffer(dAtA[:size])
   931  }
   932  
   933  func (m *GetPolicyTypeObjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   934  	i := len(dAtA)
   935  	_ = i
   936  	var l int
   937  	_ = l
   938  	if len(m.PolicyTypeId) > 0 {
   939  		i -= len(m.PolicyTypeId)
   940  		copy(dAtA[i:], m.PolicyTypeId)
   941  		i = encodeVarintAdmin(dAtA, i, uint64(len(m.PolicyTypeId)))
   942  		i--
   943  		dAtA[i] = 0xa
   944  	}
   945  	return len(dAtA) - i, nil
   946  }
   947  
   948  func (m *GetPolicyTypeObjectResponse) Marshal() (dAtA []byte, err error) {
   949  	size := m.Size()
   950  	dAtA = make([]byte, size)
   951  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   952  	if err != nil {
   953  		return nil, err
   954  	}
   955  	return dAtA[:n], nil
   956  }
   957  
   958  func (m *GetPolicyTypeObjectResponse) MarshalTo(dAtA []byte) (int, error) {
   959  	size := m.Size()
   960  	return m.MarshalToSizedBuffer(dAtA[:size])
   961  }
   962  
   963  func (m *GetPolicyTypeObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
   964  	i := len(dAtA)
   965  	_ = i
   966  	var l int
   967  	_ = l
   968  	if len(m.PolicyTypeObject) > 0 {
   969  		i -= len(m.PolicyTypeObject)
   970  		copy(dAtA[i:], m.PolicyTypeObject)
   971  		i = encodeVarintAdmin(dAtA, i, uint64(len(m.PolicyTypeObject)))
   972  		i--
   973  		dAtA[i] = 0x1a
   974  	}
   975  	if len(m.PolicyIds) > 0 {
   976  		for iNdEx := len(m.PolicyIds) - 1; iNdEx >= 0; iNdEx-- {
   977  			i -= len(m.PolicyIds[iNdEx])
   978  			copy(dAtA[i:], m.PolicyIds[iNdEx])
   979  			i = encodeVarintAdmin(dAtA, i, uint64(len(m.PolicyIds[iNdEx])))
   980  			i--
   981  			dAtA[i] = 0x12
   982  		}
   983  	}
   984  	if len(m.PolicyTypeId) > 0 {
   985  		i -= len(m.PolicyTypeId)
   986  		copy(dAtA[i:], m.PolicyTypeId)
   987  		i = encodeVarintAdmin(dAtA, i, uint64(len(m.PolicyTypeId)))
   988  		i--
   989  		dAtA[i] = 0xa
   990  	}
   991  	return len(dAtA) - i, nil
   992  }
   993  
   994  func (m *GetPolicyObjectRequest) Marshal() (dAtA []byte, err error) {
   995  	size := m.Size()
   996  	dAtA = make([]byte, size)
   997  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
   998  	if err != nil {
   999  		return nil, err
  1000  	}
  1001  	return dAtA[:n], nil
  1002  }
  1003  
  1004  func (m *GetPolicyObjectRequest) MarshalTo(dAtA []byte) (int, error) {
  1005  	size := m.Size()
  1006  	return m.MarshalToSizedBuffer(dAtA[:size])
  1007  }
  1008  
  1009  func (m *GetPolicyObjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1010  	i := len(dAtA)
  1011  	_ = i
  1012  	var l int
  1013  	_ = l
  1014  	if len(m.PolicyObjectId) > 0 {
  1015  		i -= len(m.PolicyObjectId)
  1016  		copy(dAtA[i:], m.PolicyObjectId)
  1017  		i = encodeVarintAdmin(dAtA, i, uint64(len(m.PolicyObjectId)))
  1018  		i--
  1019  		dAtA[i] = 0x12
  1020  	}
  1021  	if len(m.PolicyTypeId) > 0 {
  1022  		i -= len(m.PolicyTypeId)
  1023  		copy(dAtA[i:], m.PolicyTypeId)
  1024  		i = encodeVarintAdmin(dAtA, i, uint64(len(m.PolicyTypeId)))
  1025  		i--
  1026  		dAtA[i] = 0xa
  1027  	}
  1028  	return len(dAtA) - i, nil
  1029  }
  1030  
  1031  func (m *GetPolicyObjectResponse) Marshal() (dAtA []byte, err error) {
  1032  	size := m.Size()
  1033  	dAtA = make([]byte, size)
  1034  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1035  	if err != nil {
  1036  		return nil, err
  1037  	}
  1038  	return dAtA[:n], nil
  1039  }
  1040  
  1041  func (m *GetPolicyObjectResponse) MarshalTo(dAtA []byte) (int, error) {
  1042  	size := m.Size()
  1043  	return m.MarshalToSizedBuffer(dAtA[:size])
  1044  }
  1045  
  1046  func (m *GetPolicyObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1047  	i := len(dAtA)
  1048  	_ = i
  1049  	var l int
  1050  	_ = l
  1051  	if len(m.PolicyObject) > 0 {
  1052  		i -= len(m.PolicyObject)
  1053  		copy(dAtA[i:], m.PolicyObject)
  1054  		i = encodeVarintAdmin(dAtA, i, uint64(len(m.PolicyObject)))
  1055  		i--
  1056  		dAtA[i] = 0x1a
  1057  	}
  1058  	if len(m.PolicyObjectId) > 0 {
  1059  		i -= len(m.PolicyObjectId)
  1060  		copy(dAtA[i:], m.PolicyObjectId)
  1061  		i = encodeVarintAdmin(dAtA, i, uint64(len(m.PolicyObjectId)))
  1062  		i--
  1063  		dAtA[i] = 0x12
  1064  	}
  1065  	if len(m.PolicyTypeId) > 0 {
  1066  		i -= len(m.PolicyTypeId)
  1067  		copy(dAtA[i:], m.PolicyTypeId)
  1068  		i = encodeVarintAdmin(dAtA, i, uint64(len(m.PolicyTypeId)))
  1069  		i--
  1070  		dAtA[i] = 0xa
  1071  	}
  1072  	return len(dAtA) - i, nil
  1073  }
  1074  
  1075  func (m *GetPolicyObjectStatusRequest) Marshal() (dAtA []byte, err error) {
  1076  	size := m.Size()
  1077  	dAtA = make([]byte, size)
  1078  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1079  	if err != nil {
  1080  		return nil, err
  1081  	}
  1082  	return dAtA[:n], nil
  1083  }
  1084  
  1085  func (m *GetPolicyObjectStatusRequest) MarshalTo(dAtA []byte) (int, error) {
  1086  	size := m.Size()
  1087  	return m.MarshalToSizedBuffer(dAtA[:size])
  1088  }
  1089  
  1090  func (m *GetPolicyObjectStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1091  	i := len(dAtA)
  1092  	_ = i
  1093  	var l int
  1094  	_ = l
  1095  	if len(m.PolicyObjectId) > 0 {
  1096  		i -= len(m.PolicyObjectId)
  1097  		copy(dAtA[i:], m.PolicyObjectId)
  1098  		i = encodeVarintAdmin(dAtA, i, uint64(len(m.PolicyObjectId)))
  1099  		i--
  1100  		dAtA[i] = 0x12
  1101  	}
  1102  	if len(m.PolicyTypeId) > 0 {
  1103  		i -= len(m.PolicyTypeId)
  1104  		copy(dAtA[i:], m.PolicyTypeId)
  1105  		i = encodeVarintAdmin(dAtA, i, uint64(len(m.PolicyTypeId)))
  1106  		i--
  1107  		dAtA[i] = 0xa
  1108  	}
  1109  	return len(dAtA) - i, nil
  1110  }
  1111  
  1112  func (m *GetPolicyObjectStatusResponse) Marshal() (dAtA []byte, err error) {
  1113  	size := m.Size()
  1114  	dAtA = make([]byte, size)
  1115  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1116  	if err != nil {
  1117  		return nil, err
  1118  	}
  1119  	return dAtA[:n], nil
  1120  }
  1121  
  1122  func (m *GetPolicyObjectStatusResponse) MarshalTo(dAtA []byte) (int, error) {
  1123  	size := m.Size()
  1124  	return m.MarshalToSizedBuffer(dAtA[:size])
  1125  }
  1126  
  1127  func (m *GetPolicyObjectStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1128  	i := len(dAtA)
  1129  	_ = i
  1130  	var l int
  1131  	_ = l
  1132  	if len(m.PolicyObjectStatus) > 0 {
  1133  		i -= len(m.PolicyObjectStatus)
  1134  		copy(dAtA[i:], m.PolicyObjectStatus)
  1135  		i = encodeVarintAdmin(dAtA, i, uint64(len(m.PolicyObjectStatus)))
  1136  		i--
  1137  		dAtA[i] = 0x1a
  1138  	}
  1139  	if len(m.PolicyObjectId) > 0 {
  1140  		i -= len(m.PolicyObjectId)
  1141  		copy(dAtA[i:], m.PolicyObjectId)
  1142  		i = encodeVarintAdmin(dAtA, i, uint64(len(m.PolicyObjectId)))
  1143  		i--
  1144  		dAtA[i] = 0x12
  1145  	}
  1146  	if len(m.PolicyTypeId) > 0 {
  1147  		i -= len(m.PolicyTypeId)
  1148  		copy(dAtA[i:], m.PolicyTypeId)
  1149  		i = encodeVarintAdmin(dAtA, i, uint64(len(m.PolicyTypeId)))
  1150  		i--
  1151  		dAtA[i] = 0xa
  1152  	}
  1153  	return len(dAtA) - i, nil
  1154  }
  1155  
  1156  func encodeVarintAdmin(dAtA []byte, offset int, v uint64) int {
  1157  	offset -= sovAdmin(v)
  1158  	base := offset
  1159  	for v >= 1<<7 {
  1160  		dAtA[offset] = uint8(v&0x7f | 0x80)
  1161  		v >>= 7
  1162  		offset++
  1163  	}
  1164  	dAtA[offset] = uint8(v)
  1165  	return base
  1166  }
  1167  func (m *GetXAppConnectionsRequest) Size() (n int) {
  1168  	if m == nil {
  1169  		return 0
  1170  	}
  1171  	var l int
  1172  	_ = l
  1173  	l = len(m.XappId)
  1174  	if l > 0 {
  1175  		n += 1 + l + sovAdmin(uint64(l))
  1176  	}
  1177  	return n
  1178  }
  1179  
  1180  func (m *GetXAppConnectionResponse) Size() (n int) {
  1181  	if m == nil {
  1182  		return 0
  1183  	}
  1184  	var l int
  1185  	_ = l
  1186  	l = len(m.XappId)
  1187  	if l > 0 {
  1188  		n += 1 + l + sovAdmin(uint64(l))
  1189  	}
  1190  	l = len(m.SupportedA1Service)
  1191  	if l > 0 {
  1192  		n += 1 + l + sovAdmin(uint64(l))
  1193  	}
  1194  	l = len(m.SupportedA1ServiceTypeId)
  1195  	if l > 0 {
  1196  		n += 1 + l + sovAdmin(uint64(l))
  1197  	}
  1198  	l = len(m.XappA1Endpoint)
  1199  	if l > 0 {
  1200  		n += 1 + l + sovAdmin(uint64(l))
  1201  	}
  1202  	return n
  1203  }
  1204  
  1205  func (m *GetPolicyTypeObjectRequest) Size() (n int) {
  1206  	if m == nil {
  1207  		return 0
  1208  	}
  1209  	var l int
  1210  	_ = l
  1211  	l = len(m.PolicyTypeId)
  1212  	if l > 0 {
  1213  		n += 1 + l + sovAdmin(uint64(l))
  1214  	}
  1215  	return n
  1216  }
  1217  
  1218  func (m *GetPolicyTypeObjectResponse) Size() (n int) {
  1219  	if m == nil {
  1220  		return 0
  1221  	}
  1222  	var l int
  1223  	_ = l
  1224  	l = len(m.PolicyTypeId)
  1225  	if l > 0 {
  1226  		n += 1 + l + sovAdmin(uint64(l))
  1227  	}
  1228  	if len(m.PolicyIds) > 0 {
  1229  		for _, s := range m.PolicyIds {
  1230  			l = len(s)
  1231  			n += 1 + l + sovAdmin(uint64(l))
  1232  		}
  1233  	}
  1234  	l = len(m.PolicyTypeObject)
  1235  	if l > 0 {
  1236  		n += 1 + l + sovAdmin(uint64(l))
  1237  	}
  1238  	return n
  1239  }
  1240  
  1241  func (m *GetPolicyObjectRequest) Size() (n int) {
  1242  	if m == nil {
  1243  		return 0
  1244  	}
  1245  	var l int
  1246  	_ = l
  1247  	l = len(m.PolicyTypeId)
  1248  	if l > 0 {
  1249  		n += 1 + l + sovAdmin(uint64(l))
  1250  	}
  1251  	l = len(m.PolicyObjectId)
  1252  	if l > 0 {
  1253  		n += 1 + l + sovAdmin(uint64(l))
  1254  	}
  1255  	return n
  1256  }
  1257  
  1258  func (m *GetPolicyObjectResponse) Size() (n int) {
  1259  	if m == nil {
  1260  		return 0
  1261  	}
  1262  	var l int
  1263  	_ = l
  1264  	l = len(m.PolicyTypeId)
  1265  	if l > 0 {
  1266  		n += 1 + l + sovAdmin(uint64(l))
  1267  	}
  1268  	l = len(m.PolicyObjectId)
  1269  	if l > 0 {
  1270  		n += 1 + l + sovAdmin(uint64(l))
  1271  	}
  1272  	l = len(m.PolicyObject)
  1273  	if l > 0 {
  1274  		n += 1 + l + sovAdmin(uint64(l))
  1275  	}
  1276  	return n
  1277  }
  1278  
  1279  func (m *GetPolicyObjectStatusRequest) Size() (n int) {
  1280  	if m == nil {
  1281  		return 0
  1282  	}
  1283  	var l int
  1284  	_ = l
  1285  	l = len(m.PolicyTypeId)
  1286  	if l > 0 {
  1287  		n += 1 + l + sovAdmin(uint64(l))
  1288  	}
  1289  	l = len(m.PolicyObjectId)
  1290  	if l > 0 {
  1291  		n += 1 + l + sovAdmin(uint64(l))
  1292  	}
  1293  	return n
  1294  }
  1295  
  1296  func (m *GetPolicyObjectStatusResponse) Size() (n int) {
  1297  	if m == nil {
  1298  		return 0
  1299  	}
  1300  	var l int
  1301  	_ = l
  1302  	l = len(m.PolicyTypeId)
  1303  	if l > 0 {
  1304  		n += 1 + l + sovAdmin(uint64(l))
  1305  	}
  1306  	l = len(m.PolicyObjectId)
  1307  	if l > 0 {
  1308  		n += 1 + l + sovAdmin(uint64(l))
  1309  	}
  1310  	l = len(m.PolicyObjectStatus)
  1311  	if l > 0 {
  1312  		n += 1 + l + sovAdmin(uint64(l))
  1313  	}
  1314  	return n
  1315  }
  1316  
  1317  func sovAdmin(x uint64) (n int) {
  1318  	return (math_bits.Len64(x|1) + 6) / 7
  1319  }
  1320  func sozAdmin(x uint64) (n int) {
  1321  	return sovAdmin(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1322  }
  1323  func (m *GetXAppConnectionsRequest) Unmarshal(dAtA []byte) error {
  1324  	l := len(dAtA)
  1325  	iNdEx := 0
  1326  	for iNdEx < l {
  1327  		preIndex := iNdEx
  1328  		var wire uint64
  1329  		for shift := uint(0); ; shift += 7 {
  1330  			if shift >= 64 {
  1331  				return ErrIntOverflowAdmin
  1332  			}
  1333  			if iNdEx >= l {
  1334  				return io.ErrUnexpectedEOF
  1335  			}
  1336  			b := dAtA[iNdEx]
  1337  			iNdEx++
  1338  			wire |= uint64(b&0x7F) << shift
  1339  			if b < 0x80 {
  1340  				break
  1341  			}
  1342  		}
  1343  		fieldNum := int32(wire >> 3)
  1344  		wireType := int(wire & 0x7)
  1345  		if wireType == 4 {
  1346  			return fmt.Errorf("proto: GetXAppConnectionsRequest: wiretype end group for non-group")
  1347  		}
  1348  		if fieldNum <= 0 {
  1349  			return fmt.Errorf("proto: GetXAppConnectionsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  1350  		}
  1351  		switch fieldNum {
  1352  		case 1:
  1353  			if wireType != 2 {
  1354  				return fmt.Errorf("proto: wrong wireType = %d for field XappId", wireType)
  1355  			}
  1356  			var stringLen uint64
  1357  			for shift := uint(0); ; shift += 7 {
  1358  				if shift >= 64 {
  1359  					return ErrIntOverflowAdmin
  1360  				}
  1361  				if iNdEx >= l {
  1362  					return io.ErrUnexpectedEOF
  1363  				}
  1364  				b := dAtA[iNdEx]
  1365  				iNdEx++
  1366  				stringLen |= uint64(b&0x7F) << shift
  1367  				if b < 0x80 {
  1368  					break
  1369  				}
  1370  			}
  1371  			intStringLen := int(stringLen)
  1372  			if intStringLen < 0 {
  1373  				return ErrInvalidLengthAdmin
  1374  			}
  1375  			postIndex := iNdEx + intStringLen
  1376  			if postIndex < 0 {
  1377  				return ErrInvalidLengthAdmin
  1378  			}
  1379  			if postIndex > l {
  1380  				return io.ErrUnexpectedEOF
  1381  			}
  1382  			m.XappId = string(dAtA[iNdEx:postIndex])
  1383  			iNdEx = postIndex
  1384  		default:
  1385  			iNdEx = preIndex
  1386  			skippy, err := skipAdmin(dAtA[iNdEx:])
  1387  			if err != nil {
  1388  				return err
  1389  			}
  1390  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1391  				return ErrInvalidLengthAdmin
  1392  			}
  1393  			if (iNdEx + skippy) > l {
  1394  				return io.ErrUnexpectedEOF
  1395  			}
  1396  			iNdEx += skippy
  1397  		}
  1398  	}
  1399  
  1400  	if iNdEx > l {
  1401  		return io.ErrUnexpectedEOF
  1402  	}
  1403  	return nil
  1404  }
  1405  func (m *GetXAppConnectionResponse) Unmarshal(dAtA []byte) error {
  1406  	l := len(dAtA)
  1407  	iNdEx := 0
  1408  	for iNdEx < l {
  1409  		preIndex := iNdEx
  1410  		var wire uint64
  1411  		for shift := uint(0); ; shift += 7 {
  1412  			if shift >= 64 {
  1413  				return ErrIntOverflowAdmin
  1414  			}
  1415  			if iNdEx >= l {
  1416  				return io.ErrUnexpectedEOF
  1417  			}
  1418  			b := dAtA[iNdEx]
  1419  			iNdEx++
  1420  			wire |= uint64(b&0x7F) << shift
  1421  			if b < 0x80 {
  1422  				break
  1423  			}
  1424  		}
  1425  		fieldNum := int32(wire >> 3)
  1426  		wireType := int(wire & 0x7)
  1427  		if wireType == 4 {
  1428  			return fmt.Errorf("proto: GetXAppConnectionResponse: wiretype end group for non-group")
  1429  		}
  1430  		if fieldNum <= 0 {
  1431  			return fmt.Errorf("proto: GetXAppConnectionResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  1432  		}
  1433  		switch fieldNum {
  1434  		case 1:
  1435  			if wireType != 2 {
  1436  				return fmt.Errorf("proto: wrong wireType = %d for field XappId", wireType)
  1437  			}
  1438  			var stringLen uint64
  1439  			for shift := uint(0); ; shift += 7 {
  1440  				if shift >= 64 {
  1441  					return ErrIntOverflowAdmin
  1442  				}
  1443  				if iNdEx >= l {
  1444  					return io.ErrUnexpectedEOF
  1445  				}
  1446  				b := dAtA[iNdEx]
  1447  				iNdEx++
  1448  				stringLen |= uint64(b&0x7F) << shift
  1449  				if b < 0x80 {
  1450  					break
  1451  				}
  1452  			}
  1453  			intStringLen := int(stringLen)
  1454  			if intStringLen < 0 {
  1455  				return ErrInvalidLengthAdmin
  1456  			}
  1457  			postIndex := iNdEx + intStringLen
  1458  			if postIndex < 0 {
  1459  				return ErrInvalidLengthAdmin
  1460  			}
  1461  			if postIndex > l {
  1462  				return io.ErrUnexpectedEOF
  1463  			}
  1464  			m.XappId = string(dAtA[iNdEx:postIndex])
  1465  			iNdEx = postIndex
  1466  		case 2:
  1467  			if wireType != 2 {
  1468  				return fmt.Errorf("proto: wrong wireType = %d for field SupportedA1Service", wireType)
  1469  			}
  1470  			var stringLen uint64
  1471  			for shift := uint(0); ; shift += 7 {
  1472  				if shift >= 64 {
  1473  					return ErrIntOverflowAdmin
  1474  				}
  1475  				if iNdEx >= l {
  1476  					return io.ErrUnexpectedEOF
  1477  				}
  1478  				b := dAtA[iNdEx]
  1479  				iNdEx++
  1480  				stringLen |= uint64(b&0x7F) << shift
  1481  				if b < 0x80 {
  1482  					break
  1483  				}
  1484  			}
  1485  			intStringLen := int(stringLen)
  1486  			if intStringLen < 0 {
  1487  				return ErrInvalidLengthAdmin
  1488  			}
  1489  			postIndex := iNdEx + intStringLen
  1490  			if postIndex < 0 {
  1491  				return ErrInvalidLengthAdmin
  1492  			}
  1493  			if postIndex > l {
  1494  				return io.ErrUnexpectedEOF
  1495  			}
  1496  			m.SupportedA1Service = string(dAtA[iNdEx:postIndex])
  1497  			iNdEx = postIndex
  1498  		case 3:
  1499  			if wireType != 2 {
  1500  				return fmt.Errorf("proto: wrong wireType = %d for field SupportedA1ServiceTypeId", wireType)
  1501  			}
  1502  			var stringLen uint64
  1503  			for shift := uint(0); ; shift += 7 {
  1504  				if shift >= 64 {
  1505  					return ErrIntOverflowAdmin
  1506  				}
  1507  				if iNdEx >= l {
  1508  					return io.ErrUnexpectedEOF
  1509  				}
  1510  				b := dAtA[iNdEx]
  1511  				iNdEx++
  1512  				stringLen |= uint64(b&0x7F) << shift
  1513  				if b < 0x80 {
  1514  					break
  1515  				}
  1516  			}
  1517  			intStringLen := int(stringLen)
  1518  			if intStringLen < 0 {
  1519  				return ErrInvalidLengthAdmin
  1520  			}
  1521  			postIndex := iNdEx + intStringLen
  1522  			if postIndex < 0 {
  1523  				return ErrInvalidLengthAdmin
  1524  			}
  1525  			if postIndex > l {
  1526  				return io.ErrUnexpectedEOF
  1527  			}
  1528  			m.SupportedA1ServiceTypeId = string(dAtA[iNdEx:postIndex])
  1529  			iNdEx = postIndex
  1530  		case 4:
  1531  			if wireType != 2 {
  1532  				return fmt.Errorf("proto: wrong wireType = %d for field XappA1Endpoint", wireType)
  1533  			}
  1534  			var stringLen uint64
  1535  			for shift := uint(0); ; shift += 7 {
  1536  				if shift >= 64 {
  1537  					return ErrIntOverflowAdmin
  1538  				}
  1539  				if iNdEx >= l {
  1540  					return io.ErrUnexpectedEOF
  1541  				}
  1542  				b := dAtA[iNdEx]
  1543  				iNdEx++
  1544  				stringLen |= uint64(b&0x7F) << shift
  1545  				if b < 0x80 {
  1546  					break
  1547  				}
  1548  			}
  1549  			intStringLen := int(stringLen)
  1550  			if intStringLen < 0 {
  1551  				return ErrInvalidLengthAdmin
  1552  			}
  1553  			postIndex := iNdEx + intStringLen
  1554  			if postIndex < 0 {
  1555  				return ErrInvalidLengthAdmin
  1556  			}
  1557  			if postIndex > l {
  1558  				return io.ErrUnexpectedEOF
  1559  			}
  1560  			m.XappA1Endpoint = string(dAtA[iNdEx:postIndex])
  1561  			iNdEx = postIndex
  1562  		default:
  1563  			iNdEx = preIndex
  1564  			skippy, err := skipAdmin(dAtA[iNdEx:])
  1565  			if err != nil {
  1566  				return err
  1567  			}
  1568  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1569  				return ErrInvalidLengthAdmin
  1570  			}
  1571  			if (iNdEx + skippy) > l {
  1572  				return io.ErrUnexpectedEOF
  1573  			}
  1574  			iNdEx += skippy
  1575  		}
  1576  	}
  1577  
  1578  	if iNdEx > l {
  1579  		return io.ErrUnexpectedEOF
  1580  	}
  1581  	return nil
  1582  }
  1583  func (m *GetPolicyTypeObjectRequest) Unmarshal(dAtA []byte) error {
  1584  	l := len(dAtA)
  1585  	iNdEx := 0
  1586  	for iNdEx < l {
  1587  		preIndex := iNdEx
  1588  		var wire uint64
  1589  		for shift := uint(0); ; shift += 7 {
  1590  			if shift >= 64 {
  1591  				return ErrIntOverflowAdmin
  1592  			}
  1593  			if iNdEx >= l {
  1594  				return io.ErrUnexpectedEOF
  1595  			}
  1596  			b := dAtA[iNdEx]
  1597  			iNdEx++
  1598  			wire |= uint64(b&0x7F) << shift
  1599  			if b < 0x80 {
  1600  				break
  1601  			}
  1602  		}
  1603  		fieldNum := int32(wire >> 3)
  1604  		wireType := int(wire & 0x7)
  1605  		if wireType == 4 {
  1606  			return fmt.Errorf("proto: GetPolicyTypeObjectRequest: wiretype end group for non-group")
  1607  		}
  1608  		if fieldNum <= 0 {
  1609  			return fmt.Errorf("proto: GetPolicyTypeObjectRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  1610  		}
  1611  		switch fieldNum {
  1612  		case 1:
  1613  			if wireType != 2 {
  1614  				return fmt.Errorf("proto: wrong wireType = %d for field PolicyTypeId", wireType)
  1615  			}
  1616  			var stringLen uint64
  1617  			for shift := uint(0); ; shift += 7 {
  1618  				if shift >= 64 {
  1619  					return ErrIntOverflowAdmin
  1620  				}
  1621  				if iNdEx >= l {
  1622  					return io.ErrUnexpectedEOF
  1623  				}
  1624  				b := dAtA[iNdEx]
  1625  				iNdEx++
  1626  				stringLen |= uint64(b&0x7F) << shift
  1627  				if b < 0x80 {
  1628  					break
  1629  				}
  1630  			}
  1631  			intStringLen := int(stringLen)
  1632  			if intStringLen < 0 {
  1633  				return ErrInvalidLengthAdmin
  1634  			}
  1635  			postIndex := iNdEx + intStringLen
  1636  			if postIndex < 0 {
  1637  				return ErrInvalidLengthAdmin
  1638  			}
  1639  			if postIndex > l {
  1640  				return io.ErrUnexpectedEOF
  1641  			}
  1642  			m.PolicyTypeId = string(dAtA[iNdEx:postIndex])
  1643  			iNdEx = postIndex
  1644  		default:
  1645  			iNdEx = preIndex
  1646  			skippy, err := skipAdmin(dAtA[iNdEx:])
  1647  			if err != nil {
  1648  				return err
  1649  			}
  1650  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1651  				return ErrInvalidLengthAdmin
  1652  			}
  1653  			if (iNdEx + skippy) > l {
  1654  				return io.ErrUnexpectedEOF
  1655  			}
  1656  			iNdEx += skippy
  1657  		}
  1658  	}
  1659  
  1660  	if iNdEx > l {
  1661  		return io.ErrUnexpectedEOF
  1662  	}
  1663  	return nil
  1664  }
  1665  func (m *GetPolicyTypeObjectResponse) Unmarshal(dAtA []byte) error {
  1666  	l := len(dAtA)
  1667  	iNdEx := 0
  1668  	for iNdEx < l {
  1669  		preIndex := iNdEx
  1670  		var wire uint64
  1671  		for shift := uint(0); ; shift += 7 {
  1672  			if shift >= 64 {
  1673  				return ErrIntOverflowAdmin
  1674  			}
  1675  			if iNdEx >= l {
  1676  				return io.ErrUnexpectedEOF
  1677  			}
  1678  			b := dAtA[iNdEx]
  1679  			iNdEx++
  1680  			wire |= uint64(b&0x7F) << shift
  1681  			if b < 0x80 {
  1682  				break
  1683  			}
  1684  		}
  1685  		fieldNum := int32(wire >> 3)
  1686  		wireType := int(wire & 0x7)
  1687  		if wireType == 4 {
  1688  			return fmt.Errorf("proto: GetPolicyTypeObjectResponse: wiretype end group for non-group")
  1689  		}
  1690  		if fieldNum <= 0 {
  1691  			return fmt.Errorf("proto: GetPolicyTypeObjectResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  1692  		}
  1693  		switch fieldNum {
  1694  		case 1:
  1695  			if wireType != 2 {
  1696  				return fmt.Errorf("proto: wrong wireType = %d for field PolicyTypeId", wireType)
  1697  			}
  1698  			var stringLen uint64
  1699  			for shift := uint(0); ; shift += 7 {
  1700  				if shift >= 64 {
  1701  					return ErrIntOverflowAdmin
  1702  				}
  1703  				if iNdEx >= l {
  1704  					return io.ErrUnexpectedEOF
  1705  				}
  1706  				b := dAtA[iNdEx]
  1707  				iNdEx++
  1708  				stringLen |= uint64(b&0x7F) << shift
  1709  				if b < 0x80 {
  1710  					break
  1711  				}
  1712  			}
  1713  			intStringLen := int(stringLen)
  1714  			if intStringLen < 0 {
  1715  				return ErrInvalidLengthAdmin
  1716  			}
  1717  			postIndex := iNdEx + intStringLen
  1718  			if postIndex < 0 {
  1719  				return ErrInvalidLengthAdmin
  1720  			}
  1721  			if postIndex > l {
  1722  				return io.ErrUnexpectedEOF
  1723  			}
  1724  			m.PolicyTypeId = string(dAtA[iNdEx:postIndex])
  1725  			iNdEx = postIndex
  1726  		case 2:
  1727  			if wireType != 2 {
  1728  				return fmt.Errorf("proto: wrong wireType = %d for field PolicyIds", wireType)
  1729  			}
  1730  			var stringLen uint64
  1731  			for shift := uint(0); ; shift += 7 {
  1732  				if shift >= 64 {
  1733  					return ErrIntOverflowAdmin
  1734  				}
  1735  				if iNdEx >= l {
  1736  					return io.ErrUnexpectedEOF
  1737  				}
  1738  				b := dAtA[iNdEx]
  1739  				iNdEx++
  1740  				stringLen |= uint64(b&0x7F) << shift
  1741  				if b < 0x80 {
  1742  					break
  1743  				}
  1744  			}
  1745  			intStringLen := int(stringLen)
  1746  			if intStringLen < 0 {
  1747  				return ErrInvalidLengthAdmin
  1748  			}
  1749  			postIndex := iNdEx + intStringLen
  1750  			if postIndex < 0 {
  1751  				return ErrInvalidLengthAdmin
  1752  			}
  1753  			if postIndex > l {
  1754  				return io.ErrUnexpectedEOF
  1755  			}
  1756  			m.PolicyIds = append(m.PolicyIds, string(dAtA[iNdEx:postIndex]))
  1757  			iNdEx = postIndex
  1758  		case 3:
  1759  			if wireType != 2 {
  1760  				return fmt.Errorf("proto: wrong wireType = %d for field PolicyTypeObject", wireType)
  1761  			}
  1762  			var stringLen uint64
  1763  			for shift := uint(0); ; shift += 7 {
  1764  				if shift >= 64 {
  1765  					return ErrIntOverflowAdmin
  1766  				}
  1767  				if iNdEx >= l {
  1768  					return io.ErrUnexpectedEOF
  1769  				}
  1770  				b := dAtA[iNdEx]
  1771  				iNdEx++
  1772  				stringLen |= uint64(b&0x7F) << shift
  1773  				if b < 0x80 {
  1774  					break
  1775  				}
  1776  			}
  1777  			intStringLen := int(stringLen)
  1778  			if intStringLen < 0 {
  1779  				return ErrInvalidLengthAdmin
  1780  			}
  1781  			postIndex := iNdEx + intStringLen
  1782  			if postIndex < 0 {
  1783  				return ErrInvalidLengthAdmin
  1784  			}
  1785  			if postIndex > l {
  1786  				return io.ErrUnexpectedEOF
  1787  			}
  1788  			m.PolicyTypeObject = string(dAtA[iNdEx:postIndex])
  1789  			iNdEx = postIndex
  1790  		default:
  1791  			iNdEx = preIndex
  1792  			skippy, err := skipAdmin(dAtA[iNdEx:])
  1793  			if err != nil {
  1794  				return err
  1795  			}
  1796  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1797  				return ErrInvalidLengthAdmin
  1798  			}
  1799  			if (iNdEx + skippy) > l {
  1800  				return io.ErrUnexpectedEOF
  1801  			}
  1802  			iNdEx += skippy
  1803  		}
  1804  	}
  1805  
  1806  	if iNdEx > l {
  1807  		return io.ErrUnexpectedEOF
  1808  	}
  1809  	return nil
  1810  }
  1811  func (m *GetPolicyObjectRequest) Unmarshal(dAtA []byte) error {
  1812  	l := len(dAtA)
  1813  	iNdEx := 0
  1814  	for iNdEx < l {
  1815  		preIndex := iNdEx
  1816  		var wire uint64
  1817  		for shift := uint(0); ; shift += 7 {
  1818  			if shift >= 64 {
  1819  				return ErrIntOverflowAdmin
  1820  			}
  1821  			if iNdEx >= l {
  1822  				return io.ErrUnexpectedEOF
  1823  			}
  1824  			b := dAtA[iNdEx]
  1825  			iNdEx++
  1826  			wire |= uint64(b&0x7F) << shift
  1827  			if b < 0x80 {
  1828  				break
  1829  			}
  1830  		}
  1831  		fieldNum := int32(wire >> 3)
  1832  		wireType := int(wire & 0x7)
  1833  		if wireType == 4 {
  1834  			return fmt.Errorf("proto: GetPolicyObjectRequest: wiretype end group for non-group")
  1835  		}
  1836  		if fieldNum <= 0 {
  1837  			return fmt.Errorf("proto: GetPolicyObjectRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  1838  		}
  1839  		switch fieldNum {
  1840  		case 1:
  1841  			if wireType != 2 {
  1842  				return fmt.Errorf("proto: wrong wireType = %d for field PolicyTypeId", wireType)
  1843  			}
  1844  			var stringLen uint64
  1845  			for shift := uint(0); ; shift += 7 {
  1846  				if shift >= 64 {
  1847  					return ErrIntOverflowAdmin
  1848  				}
  1849  				if iNdEx >= l {
  1850  					return io.ErrUnexpectedEOF
  1851  				}
  1852  				b := dAtA[iNdEx]
  1853  				iNdEx++
  1854  				stringLen |= uint64(b&0x7F) << shift
  1855  				if b < 0x80 {
  1856  					break
  1857  				}
  1858  			}
  1859  			intStringLen := int(stringLen)
  1860  			if intStringLen < 0 {
  1861  				return ErrInvalidLengthAdmin
  1862  			}
  1863  			postIndex := iNdEx + intStringLen
  1864  			if postIndex < 0 {
  1865  				return ErrInvalidLengthAdmin
  1866  			}
  1867  			if postIndex > l {
  1868  				return io.ErrUnexpectedEOF
  1869  			}
  1870  			m.PolicyTypeId = string(dAtA[iNdEx:postIndex])
  1871  			iNdEx = postIndex
  1872  		case 2:
  1873  			if wireType != 2 {
  1874  				return fmt.Errorf("proto: wrong wireType = %d for field PolicyObjectId", wireType)
  1875  			}
  1876  			var stringLen uint64
  1877  			for shift := uint(0); ; shift += 7 {
  1878  				if shift >= 64 {
  1879  					return ErrIntOverflowAdmin
  1880  				}
  1881  				if iNdEx >= l {
  1882  					return io.ErrUnexpectedEOF
  1883  				}
  1884  				b := dAtA[iNdEx]
  1885  				iNdEx++
  1886  				stringLen |= uint64(b&0x7F) << shift
  1887  				if b < 0x80 {
  1888  					break
  1889  				}
  1890  			}
  1891  			intStringLen := int(stringLen)
  1892  			if intStringLen < 0 {
  1893  				return ErrInvalidLengthAdmin
  1894  			}
  1895  			postIndex := iNdEx + intStringLen
  1896  			if postIndex < 0 {
  1897  				return ErrInvalidLengthAdmin
  1898  			}
  1899  			if postIndex > l {
  1900  				return io.ErrUnexpectedEOF
  1901  			}
  1902  			m.PolicyObjectId = string(dAtA[iNdEx:postIndex])
  1903  			iNdEx = postIndex
  1904  		default:
  1905  			iNdEx = preIndex
  1906  			skippy, err := skipAdmin(dAtA[iNdEx:])
  1907  			if err != nil {
  1908  				return err
  1909  			}
  1910  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  1911  				return ErrInvalidLengthAdmin
  1912  			}
  1913  			if (iNdEx + skippy) > l {
  1914  				return io.ErrUnexpectedEOF
  1915  			}
  1916  			iNdEx += skippy
  1917  		}
  1918  	}
  1919  
  1920  	if iNdEx > l {
  1921  		return io.ErrUnexpectedEOF
  1922  	}
  1923  	return nil
  1924  }
  1925  func (m *GetPolicyObjectResponse) Unmarshal(dAtA []byte) error {
  1926  	l := len(dAtA)
  1927  	iNdEx := 0
  1928  	for iNdEx < l {
  1929  		preIndex := iNdEx
  1930  		var wire uint64
  1931  		for shift := uint(0); ; shift += 7 {
  1932  			if shift >= 64 {
  1933  				return ErrIntOverflowAdmin
  1934  			}
  1935  			if iNdEx >= l {
  1936  				return io.ErrUnexpectedEOF
  1937  			}
  1938  			b := dAtA[iNdEx]
  1939  			iNdEx++
  1940  			wire |= uint64(b&0x7F) << shift
  1941  			if b < 0x80 {
  1942  				break
  1943  			}
  1944  		}
  1945  		fieldNum := int32(wire >> 3)
  1946  		wireType := int(wire & 0x7)
  1947  		if wireType == 4 {
  1948  			return fmt.Errorf("proto: GetPolicyObjectResponse: wiretype end group for non-group")
  1949  		}
  1950  		if fieldNum <= 0 {
  1951  			return fmt.Errorf("proto: GetPolicyObjectResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  1952  		}
  1953  		switch fieldNum {
  1954  		case 1:
  1955  			if wireType != 2 {
  1956  				return fmt.Errorf("proto: wrong wireType = %d for field PolicyTypeId", wireType)
  1957  			}
  1958  			var stringLen uint64
  1959  			for shift := uint(0); ; shift += 7 {
  1960  				if shift >= 64 {
  1961  					return ErrIntOverflowAdmin
  1962  				}
  1963  				if iNdEx >= l {
  1964  					return io.ErrUnexpectedEOF
  1965  				}
  1966  				b := dAtA[iNdEx]
  1967  				iNdEx++
  1968  				stringLen |= uint64(b&0x7F) << shift
  1969  				if b < 0x80 {
  1970  					break
  1971  				}
  1972  			}
  1973  			intStringLen := int(stringLen)
  1974  			if intStringLen < 0 {
  1975  				return ErrInvalidLengthAdmin
  1976  			}
  1977  			postIndex := iNdEx + intStringLen
  1978  			if postIndex < 0 {
  1979  				return ErrInvalidLengthAdmin
  1980  			}
  1981  			if postIndex > l {
  1982  				return io.ErrUnexpectedEOF
  1983  			}
  1984  			m.PolicyTypeId = string(dAtA[iNdEx:postIndex])
  1985  			iNdEx = postIndex
  1986  		case 2:
  1987  			if wireType != 2 {
  1988  				return fmt.Errorf("proto: wrong wireType = %d for field PolicyObjectId", wireType)
  1989  			}
  1990  			var stringLen uint64
  1991  			for shift := uint(0); ; shift += 7 {
  1992  				if shift >= 64 {
  1993  					return ErrIntOverflowAdmin
  1994  				}
  1995  				if iNdEx >= l {
  1996  					return io.ErrUnexpectedEOF
  1997  				}
  1998  				b := dAtA[iNdEx]
  1999  				iNdEx++
  2000  				stringLen |= uint64(b&0x7F) << shift
  2001  				if b < 0x80 {
  2002  					break
  2003  				}
  2004  			}
  2005  			intStringLen := int(stringLen)
  2006  			if intStringLen < 0 {
  2007  				return ErrInvalidLengthAdmin
  2008  			}
  2009  			postIndex := iNdEx + intStringLen
  2010  			if postIndex < 0 {
  2011  				return ErrInvalidLengthAdmin
  2012  			}
  2013  			if postIndex > l {
  2014  				return io.ErrUnexpectedEOF
  2015  			}
  2016  			m.PolicyObjectId = string(dAtA[iNdEx:postIndex])
  2017  			iNdEx = postIndex
  2018  		case 3:
  2019  			if wireType != 2 {
  2020  				return fmt.Errorf("proto: wrong wireType = %d for field PolicyObject", wireType)
  2021  			}
  2022  			var stringLen uint64
  2023  			for shift := uint(0); ; shift += 7 {
  2024  				if shift >= 64 {
  2025  					return ErrIntOverflowAdmin
  2026  				}
  2027  				if iNdEx >= l {
  2028  					return io.ErrUnexpectedEOF
  2029  				}
  2030  				b := dAtA[iNdEx]
  2031  				iNdEx++
  2032  				stringLen |= uint64(b&0x7F) << shift
  2033  				if b < 0x80 {
  2034  					break
  2035  				}
  2036  			}
  2037  			intStringLen := int(stringLen)
  2038  			if intStringLen < 0 {
  2039  				return ErrInvalidLengthAdmin
  2040  			}
  2041  			postIndex := iNdEx + intStringLen
  2042  			if postIndex < 0 {
  2043  				return ErrInvalidLengthAdmin
  2044  			}
  2045  			if postIndex > l {
  2046  				return io.ErrUnexpectedEOF
  2047  			}
  2048  			m.PolicyObject = string(dAtA[iNdEx:postIndex])
  2049  			iNdEx = postIndex
  2050  		default:
  2051  			iNdEx = preIndex
  2052  			skippy, err := skipAdmin(dAtA[iNdEx:])
  2053  			if err != nil {
  2054  				return err
  2055  			}
  2056  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2057  				return ErrInvalidLengthAdmin
  2058  			}
  2059  			if (iNdEx + skippy) > l {
  2060  				return io.ErrUnexpectedEOF
  2061  			}
  2062  			iNdEx += skippy
  2063  		}
  2064  	}
  2065  
  2066  	if iNdEx > l {
  2067  		return io.ErrUnexpectedEOF
  2068  	}
  2069  	return nil
  2070  }
  2071  func (m *GetPolicyObjectStatusRequest) Unmarshal(dAtA []byte) error {
  2072  	l := len(dAtA)
  2073  	iNdEx := 0
  2074  	for iNdEx < l {
  2075  		preIndex := iNdEx
  2076  		var wire uint64
  2077  		for shift := uint(0); ; shift += 7 {
  2078  			if shift >= 64 {
  2079  				return ErrIntOverflowAdmin
  2080  			}
  2081  			if iNdEx >= l {
  2082  				return io.ErrUnexpectedEOF
  2083  			}
  2084  			b := dAtA[iNdEx]
  2085  			iNdEx++
  2086  			wire |= uint64(b&0x7F) << shift
  2087  			if b < 0x80 {
  2088  				break
  2089  			}
  2090  		}
  2091  		fieldNum := int32(wire >> 3)
  2092  		wireType := int(wire & 0x7)
  2093  		if wireType == 4 {
  2094  			return fmt.Errorf("proto: GetPolicyObjectStatusRequest: wiretype end group for non-group")
  2095  		}
  2096  		if fieldNum <= 0 {
  2097  			return fmt.Errorf("proto: GetPolicyObjectStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  2098  		}
  2099  		switch fieldNum {
  2100  		case 1:
  2101  			if wireType != 2 {
  2102  				return fmt.Errorf("proto: wrong wireType = %d for field PolicyTypeId", wireType)
  2103  			}
  2104  			var stringLen uint64
  2105  			for shift := uint(0); ; shift += 7 {
  2106  				if shift >= 64 {
  2107  					return ErrIntOverflowAdmin
  2108  				}
  2109  				if iNdEx >= l {
  2110  					return io.ErrUnexpectedEOF
  2111  				}
  2112  				b := dAtA[iNdEx]
  2113  				iNdEx++
  2114  				stringLen |= uint64(b&0x7F) << shift
  2115  				if b < 0x80 {
  2116  					break
  2117  				}
  2118  			}
  2119  			intStringLen := int(stringLen)
  2120  			if intStringLen < 0 {
  2121  				return ErrInvalidLengthAdmin
  2122  			}
  2123  			postIndex := iNdEx + intStringLen
  2124  			if postIndex < 0 {
  2125  				return ErrInvalidLengthAdmin
  2126  			}
  2127  			if postIndex > l {
  2128  				return io.ErrUnexpectedEOF
  2129  			}
  2130  			m.PolicyTypeId = string(dAtA[iNdEx:postIndex])
  2131  			iNdEx = postIndex
  2132  		case 2:
  2133  			if wireType != 2 {
  2134  				return fmt.Errorf("proto: wrong wireType = %d for field PolicyObjectId", wireType)
  2135  			}
  2136  			var stringLen uint64
  2137  			for shift := uint(0); ; shift += 7 {
  2138  				if shift >= 64 {
  2139  					return ErrIntOverflowAdmin
  2140  				}
  2141  				if iNdEx >= l {
  2142  					return io.ErrUnexpectedEOF
  2143  				}
  2144  				b := dAtA[iNdEx]
  2145  				iNdEx++
  2146  				stringLen |= uint64(b&0x7F) << shift
  2147  				if b < 0x80 {
  2148  					break
  2149  				}
  2150  			}
  2151  			intStringLen := int(stringLen)
  2152  			if intStringLen < 0 {
  2153  				return ErrInvalidLengthAdmin
  2154  			}
  2155  			postIndex := iNdEx + intStringLen
  2156  			if postIndex < 0 {
  2157  				return ErrInvalidLengthAdmin
  2158  			}
  2159  			if postIndex > l {
  2160  				return io.ErrUnexpectedEOF
  2161  			}
  2162  			m.PolicyObjectId = string(dAtA[iNdEx:postIndex])
  2163  			iNdEx = postIndex
  2164  		default:
  2165  			iNdEx = preIndex
  2166  			skippy, err := skipAdmin(dAtA[iNdEx:])
  2167  			if err != nil {
  2168  				return err
  2169  			}
  2170  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2171  				return ErrInvalidLengthAdmin
  2172  			}
  2173  			if (iNdEx + skippy) > l {
  2174  				return io.ErrUnexpectedEOF
  2175  			}
  2176  			iNdEx += skippy
  2177  		}
  2178  	}
  2179  
  2180  	if iNdEx > l {
  2181  		return io.ErrUnexpectedEOF
  2182  	}
  2183  	return nil
  2184  }
  2185  func (m *GetPolicyObjectStatusResponse) Unmarshal(dAtA []byte) error {
  2186  	l := len(dAtA)
  2187  	iNdEx := 0
  2188  	for iNdEx < l {
  2189  		preIndex := iNdEx
  2190  		var wire uint64
  2191  		for shift := uint(0); ; shift += 7 {
  2192  			if shift >= 64 {
  2193  				return ErrIntOverflowAdmin
  2194  			}
  2195  			if iNdEx >= l {
  2196  				return io.ErrUnexpectedEOF
  2197  			}
  2198  			b := dAtA[iNdEx]
  2199  			iNdEx++
  2200  			wire |= uint64(b&0x7F) << shift
  2201  			if b < 0x80 {
  2202  				break
  2203  			}
  2204  		}
  2205  		fieldNum := int32(wire >> 3)
  2206  		wireType := int(wire & 0x7)
  2207  		if wireType == 4 {
  2208  			return fmt.Errorf("proto: GetPolicyObjectStatusResponse: wiretype end group for non-group")
  2209  		}
  2210  		if fieldNum <= 0 {
  2211  			return fmt.Errorf("proto: GetPolicyObjectStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  2212  		}
  2213  		switch fieldNum {
  2214  		case 1:
  2215  			if wireType != 2 {
  2216  				return fmt.Errorf("proto: wrong wireType = %d for field PolicyTypeId", wireType)
  2217  			}
  2218  			var stringLen uint64
  2219  			for shift := uint(0); ; shift += 7 {
  2220  				if shift >= 64 {
  2221  					return ErrIntOverflowAdmin
  2222  				}
  2223  				if iNdEx >= l {
  2224  					return io.ErrUnexpectedEOF
  2225  				}
  2226  				b := dAtA[iNdEx]
  2227  				iNdEx++
  2228  				stringLen |= uint64(b&0x7F) << shift
  2229  				if b < 0x80 {
  2230  					break
  2231  				}
  2232  			}
  2233  			intStringLen := int(stringLen)
  2234  			if intStringLen < 0 {
  2235  				return ErrInvalidLengthAdmin
  2236  			}
  2237  			postIndex := iNdEx + intStringLen
  2238  			if postIndex < 0 {
  2239  				return ErrInvalidLengthAdmin
  2240  			}
  2241  			if postIndex > l {
  2242  				return io.ErrUnexpectedEOF
  2243  			}
  2244  			m.PolicyTypeId = string(dAtA[iNdEx:postIndex])
  2245  			iNdEx = postIndex
  2246  		case 2:
  2247  			if wireType != 2 {
  2248  				return fmt.Errorf("proto: wrong wireType = %d for field PolicyObjectId", wireType)
  2249  			}
  2250  			var stringLen uint64
  2251  			for shift := uint(0); ; shift += 7 {
  2252  				if shift >= 64 {
  2253  					return ErrIntOverflowAdmin
  2254  				}
  2255  				if iNdEx >= l {
  2256  					return io.ErrUnexpectedEOF
  2257  				}
  2258  				b := dAtA[iNdEx]
  2259  				iNdEx++
  2260  				stringLen |= uint64(b&0x7F) << shift
  2261  				if b < 0x80 {
  2262  					break
  2263  				}
  2264  			}
  2265  			intStringLen := int(stringLen)
  2266  			if intStringLen < 0 {
  2267  				return ErrInvalidLengthAdmin
  2268  			}
  2269  			postIndex := iNdEx + intStringLen
  2270  			if postIndex < 0 {
  2271  				return ErrInvalidLengthAdmin
  2272  			}
  2273  			if postIndex > l {
  2274  				return io.ErrUnexpectedEOF
  2275  			}
  2276  			m.PolicyObjectId = string(dAtA[iNdEx:postIndex])
  2277  			iNdEx = postIndex
  2278  		case 3:
  2279  			if wireType != 2 {
  2280  				return fmt.Errorf("proto: wrong wireType = %d for field PolicyObjectStatus", wireType)
  2281  			}
  2282  			var stringLen uint64
  2283  			for shift := uint(0); ; shift += 7 {
  2284  				if shift >= 64 {
  2285  					return ErrIntOverflowAdmin
  2286  				}
  2287  				if iNdEx >= l {
  2288  					return io.ErrUnexpectedEOF
  2289  				}
  2290  				b := dAtA[iNdEx]
  2291  				iNdEx++
  2292  				stringLen |= uint64(b&0x7F) << shift
  2293  				if b < 0x80 {
  2294  					break
  2295  				}
  2296  			}
  2297  			intStringLen := int(stringLen)
  2298  			if intStringLen < 0 {
  2299  				return ErrInvalidLengthAdmin
  2300  			}
  2301  			postIndex := iNdEx + intStringLen
  2302  			if postIndex < 0 {
  2303  				return ErrInvalidLengthAdmin
  2304  			}
  2305  			if postIndex > l {
  2306  				return io.ErrUnexpectedEOF
  2307  			}
  2308  			m.PolicyObjectStatus = string(dAtA[iNdEx:postIndex])
  2309  			iNdEx = postIndex
  2310  		default:
  2311  			iNdEx = preIndex
  2312  			skippy, err := skipAdmin(dAtA[iNdEx:])
  2313  			if err != nil {
  2314  				return err
  2315  			}
  2316  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  2317  				return ErrInvalidLengthAdmin
  2318  			}
  2319  			if (iNdEx + skippy) > l {
  2320  				return io.ErrUnexpectedEOF
  2321  			}
  2322  			iNdEx += skippy
  2323  		}
  2324  	}
  2325  
  2326  	if iNdEx > l {
  2327  		return io.ErrUnexpectedEOF
  2328  	}
  2329  	return nil
  2330  }
  2331  func skipAdmin(dAtA []byte) (n int, err error) {
  2332  	l := len(dAtA)
  2333  	iNdEx := 0
  2334  	depth := 0
  2335  	for iNdEx < l {
  2336  		var wire uint64
  2337  		for shift := uint(0); ; shift += 7 {
  2338  			if shift >= 64 {
  2339  				return 0, ErrIntOverflowAdmin
  2340  			}
  2341  			if iNdEx >= l {
  2342  				return 0, io.ErrUnexpectedEOF
  2343  			}
  2344  			b := dAtA[iNdEx]
  2345  			iNdEx++
  2346  			wire |= (uint64(b) & 0x7F) << shift
  2347  			if b < 0x80 {
  2348  				break
  2349  			}
  2350  		}
  2351  		wireType := int(wire & 0x7)
  2352  		switch wireType {
  2353  		case 0:
  2354  			for shift := uint(0); ; shift += 7 {
  2355  				if shift >= 64 {
  2356  					return 0, ErrIntOverflowAdmin
  2357  				}
  2358  				if iNdEx >= l {
  2359  					return 0, io.ErrUnexpectedEOF
  2360  				}
  2361  				iNdEx++
  2362  				if dAtA[iNdEx-1] < 0x80 {
  2363  					break
  2364  				}
  2365  			}
  2366  		case 1:
  2367  			iNdEx += 8
  2368  		case 2:
  2369  			var length int
  2370  			for shift := uint(0); ; shift += 7 {
  2371  				if shift >= 64 {
  2372  					return 0, ErrIntOverflowAdmin
  2373  				}
  2374  				if iNdEx >= l {
  2375  					return 0, io.ErrUnexpectedEOF
  2376  				}
  2377  				b := dAtA[iNdEx]
  2378  				iNdEx++
  2379  				length |= (int(b) & 0x7F) << shift
  2380  				if b < 0x80 {
  2381  					break
  2382  				}
  2383  			}
  2384  			if length < 0 {
  2385  				return 0, ErrInvalidLengthAdmin
  2386  			}
  2387  			iNdEx += length
  2388  		case 3:
  2389  			depth++
  2390  		case 4:
  2391  			if depth == 0 {
  2392  				return 0, ErrUnexpectedEndOfGroupAdmin
  2393  			}
  2394  			depth--
  2395  		case 5:
  2396  			iNdEx += 4
  2397  		default:
  2398  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  2399  		}
  2400  		if iNdEx < 0 {
  2401  			return 0, ErrInvalidLengthAdmin
  2402  		}
  2403  		if depth == 0 {
  2404  			return iNdEx, nil
  2405  		}
  2406  	}
  2407  	return 0, io.ErrUnexpectedEOF
  2408  }
  2409  
  2410  var (
  2411  	ErrInvalidLengthAdmin        = fmt.Errorf("proto: negative length found during unmarshaling")
  2412  	ErrIntOverflowAdmin          = fmt.Errorf("proto: integer overflow")
  2413  	ErrUnexpectedEndOfGroupAdmin = fmt.Errorf("proto: unexpected end of group")
  2414  )