| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/cloud/servicedirectory/v1beta1/endpoint.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 endpoint that provides a |
| // [service][google.cloud.servicedirectory.v1beta1.Service]. The service must |
| // already exist to create an endpoint. |
| type Endpoint struct { |
| // Immutable. The resource name for the endpoint in the format |
| // 'projects/*/locations/*/namespaces/*/services/*/endpoints/*'. |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| // Optional. An IPv4 or IPv6 address. Service Directory will reject bad |
| // addresses like: |
| // "8.8.8" |
| // "8.8.8.8:53" |
| // "test:bad:address" |
| // "[::1]" |
| // "[::1]:8080" |
| // Limited to 45 characters. |
| Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` |
| // Optional. Service Directory will reject values outside of [0, 65535]. |
| Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` |
| // Optional. Metadata for the endpoint. This data can be consumed by service |
| // clients. The entire metadata dictionary may contain up to 512 characters, |
| // spread accoss all key-value pairs. Metadata that goes beyond any these |
| // limits will be rejected. |
| Metadata map[string]string `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Endpoint) Reset() { *m = Endpoint{} } |
| func (m *Endpoint) String() string { return proto.CompactTextString(m) } |
| func (*Endpoint) ProtoMessage() {} |
| func (*Endpoint) Descriptor() ([]byte, []int) { |
| return fileDescriptor_b682dd88b410ee12, []int{0} |
| } |
| |
| func (m *Endpoint) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Endpoint.Unmarshal(m, b) |
| } |
| func (m *Endpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Endpoint.Marshal(b, m, deterministic) |
| } |
| func (m *Endpoint) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Endpoint.Merge(m, src) |
| } |
| func (m *Endpoint) XXX_Size() int { |
| return xxx_messageInfo_Endpoint.Size(m) |
| } |
| func (m *Endpoint) XXX_DiscardUnknown() { |
| xxx_messageInfo_Endpoint.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Endpoint proto.InternalMessageInfo |
| |
| func (m *Endpoint) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func (m *Endpoint) GetAddress() string { |
| if m != nil { |
| return m.Address |
| } |
| return "" |
| } |
| |
| func (m *Endpoint) GetPort() int32 { |
| if m != nil { |
| return m.Port |
| } |
| return 0 |
| } |
| |
| func (m *Endpoint) GetMetadata() map[string]string { |
| if m != nil { |
| return m.Metadata |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*Endpoint)(nil), "google.cloud.servicedirectory.v1beta1.Endpoint") |
| proto.RegisterMapType((map[string]string)(nil), "google.cloud.servicedirectory.v1beta1.Endpoint.MetadataEntry") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/cloud/servicedirectory/v1beta1/endpoint.proto", fileDescriptor_b682dd88b410ee12) |
| } |
| |
| var fileDescriptor_b682dd88b410ee12 = []byte{ |
| // 401 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0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