func (ids *OrganizationOrUserIdentifiers) GetEntityIdentifiers() *EntityIdentifiers {
	if ids == nil {
		return nil
	}
	switch oneof := ids.Ids.(type) {
	case nil:
		return nil
	case *OrganizationOrUserIdentifiers_OrganizationIds:
		return oneof.OrganizationIds.GetEntityIdentifiers()
	case *OrganizationOrUserIdentifiers_UserIds:
		return oneof.UserIds.GetEntityIdentifiers()
	default:
		panic("missed oneof type in OrganizationOrUserIdentifiers.GetEntityIdentifiers()")
	}
}
GetEntityIdentifiers returns the Identifiers inside the oneof as EntityIdentifiers.
package ttnpb
import "fmt"
type IDStringer interface {
	EntityType() string
	IDString() string
}
func (ids *ApplicationIdentifiers) GetEntityIdentifiers() *EntityIdentifiers {
	if ids == nil {
		return nil
	}
	return &EntityIdentifiers{Ids: &EntityIdentifiers_ApplicationIds{
		ApplicationIds: ids,
	}}
}
func (ids *ClientIdentifiers) GetEntityIdentifiers() *EntityIdentifiers {
	if ids == nil {
		return nil
	}
	return &EntityIdentifiers{Ids: &EntityIdentifiers_ClientIds{
		ClientIds: ids,
	}}
}
func (ids *EndDeviceIdentifiers) GetEntityIdentifiers() *EntityIdentifiers {
	if ids == nil {
		return nil
	}
	return &EntityIdentifiers{Ids: &EntityIdentifiers_DeviceIds{
		DeviceIds: ids,
	}}
}
func (ids *GatewayIdentifiers) GetEntityIdentifiers() *EntityIdentifiers {
	if ids == nil {
		return nil
	}
	return &EntityIdentifiers{Ids: &EntityIdentifiers_GatewayIds{
		GatewayIds: ids,
	}}
}
func (ids *OrganizationIdentifiers) GetEntityIdentifiers() *EntityIdentifiers {
	if ids == nil {
		return nil
	}
	return &EntityIdentifiers{Ids: &EntityIdentifiers_OrganizationIds{
		OrganizationIds: ids,
	}}
}
func (ids *UserIdentifiers) GetEntityIdentifiers() *EntityIdentifiers {
	if ids == nil {
		return nil
	}
	return &EntityIdentifiers{Ids: &EntityIdentifiers_UserIds{
		UserIds: ids,
	}}
}
func (ids *EntityIdentifiers) GetEntityIdentifiers() *EntityIdentifiers { return ids }