| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/cloud/servicedirectory/v1beta1/service.proto |
| |
| package servicedirectory |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| ) |
| |
| // 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 |
| |
| // An individual service. A service contains a name and optional metadata. |
| // A service must exist before |
| // [endpoints][google.cloud.servicedirectory.v1beta1.Endpoint] can be |
| // added to it. |
| type Service struct { |
| // Immutable. The resource name for the service in the format |
| // 'projects/*/locations/*/namespaces/*/services/*'. |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| // Optional. Metadata for the service. This data can be consumed by service |
| // clients. The entire metadata dictionary may contain up to 2000 characters, |
| // spread across all key-value pairs. Metadata that goes beyond any these |
| // limits will be rejected. |
| Metadata map[string]string `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| // Output only. Endpoints associated with this service. Returned on LookupService.Resolve. |
| // Control plane clients should use RegistrationService.ListEndpoints. |
| Endpoints []*Endpoint `protobuf:"bytes,3,rep,name=endpoints,proto3" json:"endpoints,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Service) Reset() { *m = Service{} } |
| func (m *Service) String() string { return proto.CompactTextString(m) } |
| func (*Service) ProtoMessage() {} |
| func (*Service) Descriptor() ([]byte, []int) { |
| return fileDescriptor_2464dc41fdae2e63, []int{0} |
| } |
| |
| func (m *Service) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Service.Unmarshal(m, b) |
| } |
| func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Service.Marshal(b, m, deterministic) |
| } |
| func (m *Service) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Service.Merge(m, src) |
| } |
| func (m *Service) XXX_Size() int { |
| return xxx_messageInfo_Service.Size(m) |
| } |
| func (m *Service) XXX_DiscardUnknown() { |
| xxx_messageInfo_Service.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Service proto.InternalMessageInfo |
| |
| func (m *Service) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func (m *Service) GetMetadata() map[string]string { |
| if m != nil { |
| return m.Metadata |
| } |
| return nil |
| } |
| |
| func (m *Service) GetEndpoints() []*Endpoint { |
| if m != nil { |
| return m.Endpoints |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*Service)(nil), "google.cloud.servicedirectory.v1beta1.Service") |
| proto.RegisterMapType((map[string]string)(nil), "google.cloud.servicedirectory.v1beta1.Service.MetadataEntry") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/cloud/servicedirectory/v1beta1/service.proto", fileDescriptor_2464dc41fdae2e63) |
| } |
| |
| var fileDescriptor_2464dc41fdae2e63 = []byte{ |
| // 395 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcf, 0x8b, 0xd4, 0x30, |
| 0x14, 0xc7, 0xc9, 0xd4, 0x55, 0x37, 0x2a, 0x48, 0x11, 0xac, 0x45, 0x70, 0x11, 0xc4, 0xf5, 0x92, |
| 0xb0, 0xae, 0x07, 0xd9, 0xf5, 0xb2, 0x03, 0x7b, 0x14, 0xc6, 0x8a, 0x17, 0x41, 0x24, 0x93, 0x3e, |
| 0x6b, 0x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